Skip to content

Commit

Permalink
fix(dnsrec/record)!: Remove signature from RRSIG record Markdown output
Browse files Browse the repository at this point in the history
  • Loading branch information
c0r0n3r committed Mar 5, 2024
1 parent 309ee4f commit 7a2a2d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cryptoparser/dnsrec/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,10 @@ class DnsRecordRrsig(ParsableBase): # pylint: disable=too-many-instance-attribu
converter=DnsNameUncompressed.convert,
validator=attr.validators.instance_of(DnsNameUncompressed)
)
signature = attr.ib(validator=attr.validators.instance_of((bytes, bytearray)))
signature = attr.ib(
validator=attr.validators.instance_of((bytes, bytearray)),
metadata={'human_friendly': False}
)

@classmethod
def _parse(cls, parsable):
Expand Down

0 comments on commit 7a2a2d2

Please sign in to comment.