Skip to content

Commit

Permalink
Add double quotes around schema name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
CBonnell committed Jul 16, 2024
1 parent d60d365 commit ca82b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkilint/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def decode_substrate(source_document: Document, substrate: bytes,

raise SubstrateDecodingFailedError(
source_document, pdu_instance, parent_node,
f'{len(rest)} unexpected octet(s) following {type_name} TLV: "{rest_hex}"'
f'{len(rest)} unexpected octet(s) following "{type_name}" TLV: "{rest_hex}"'
)

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ ZF6TmlI5DUrO
-----END CERTIFICATE-----

node_path,validator,severity,code,message
certificate.tbsCertificate.extensions.0,ExtensionsDecodingValidator,FATAL,itu.invalid_asn1_syntax,"ASN.1 decoding failure occurred at ""certificate.tbsCertificate.extensions.0.extnValue"" with schema ""KeyUsage"" corresponding to type OID 2.5.29.15: 1 unexpected octet(s) following KeyUsage TLV: ""41"""
certificate.tbsCertificate.extensions.0,ExtensionsDecodingValidator,FATAL,itu.invalid_asn1_syntax,"ASN.1 decoding failure occurred at ""certificate.tbsCertificate.extensions.0.extnValue"" with schema ""KeyUsage"" corresponding to type OID 2.5.29.15: 1 unexpected octet(s) following ""KeyUsage"" TLV: ""41"""
certificate,SubjectKeyIdentifierPresenceValidator,WARNING,pkix.certificate_skid_end_entity_missing,

0 comments on commit ca82b66

Please sign in to comment.