Skip to content

Commit 0e2f09e

Browse files
authored
Remove suspicion of extension bytes (#1657)
1 parent 379054c commit 0e2f09e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

sigstore/_internal/sct.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ def _pack_digitally_signed(
101101
The format of the digitally signed data is described in IETF's RFC 6962.
102102
"""
103103

104-
# No extensions are currently specified, so we treat the presence
105-
# of any extension bytes as suspicious.
106-
if len(sct.extension_bytes) != 0:
107-
raise VerificationError("Unexpected trailing extension bytes")
108-
109104
# This constructs the "core" `signed_entry` field, which is either
110105
# the public bytes of the cert *or* the TBSPrecertificate (with some
111106
# filtering), depending on whether our SCT is for a precertificate.

0 commit comments

Comments
 (0)