Repository navigation
Add tbs_precertificate_bytes property - #7267
tetsuo-cpp wants to merge 1 commit into
Conversation
|
Thanks for contributing! In addition to tests, we'll also need documentation for that. I haven't done a full review, but a basic question: Should it be an error to try to get the precert bytes for a certificate that doesn't have the PreCert SCT extension? |
IMO, yes. I think we should probably raise a |
Sounds good. I'll do that. |
|
As an aside: we should think about how we want to name this: |
|
#7279 supersedes this. @alex / @reaperhulk, feel free to close. |
This is required for verifying embedded SCTs in
sigstore-python. According to IETF's RFC 6962, this data is part of the digitally signed payload that forms the SCT's signature. This still needs unit tests.CC: @woodruffw @di