Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions sigstore/_internal/sct.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ def _pack_digitally_signed(
The format of the digitally signed data is described in IETF's RFC 6962.
"""

# No extensions are currently specified, so we treat the presence
# of any extension bytes as suspicious.
if len(sct.extension_bytes) != 0:
raise VerificationError("Unexpected trailing extension bytes")

# This constructs the "core" `signed_entry` field, which is either
# the public bytes of the cert *or* the TBSPrecertificate (with some
# filtering), depending on whether our SCT is for a precertificate.
Expand Down