From 7a2a2d22209ccc10c10c0cbe072577f6cb891d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szil=C3=A1rd=20Pfeiffer?= Date: Tue, 5 Mar 2024 22:44:26 +0100 Subject: [PATCH] fix(dnsrec/record)!: Remove signature from RRSIG record Markdown output --- cryptoparser/dnsrec/record.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cryptoparser/dnsrec/record.py b/cryptoparser/dnsrec/record.py index 0a45d1c..ae58bba 100644 --- a/cryptoparser/dnsrec/record.py +++ b/cryptoparser/dnsrec/record.py @@ -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):