Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha authored Nov 7, 2024
1 parent 7d20083 commit 5eedcc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irrd/mirroring/nrtm4/nrtm4_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def _retrieve_unf(self) -> Tuple[NRTM4UpdateNotificationFile, Optional[str]]:
def _deserialize_unf(self, unf_content: str) -> Tuple[bytes, str]:
"""
Verify the Update Notification File signature,
given the content (before JSON parsing) and a base64 signature.
Returns the used key in base64 string.
given the content (before JWS deserialize).
Returns the deserialized payload and used key in PEM string.
"""
compact_signature: Optional[CompactSignature]
unf_content_bytes = unf_content.encode("utf-8")
Expand Down

0 comments on commit 5eedcc1

Please sign in to comment.