-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sct from FulcioCertificateSigningResponse
Simplify FulcioCertificateSigningResponse by removing sct field from it. This changes the (internal) fulcio module API. The only place that needs the SCT is verify_sct() and it already gets the certificate which it can trivially get the SCT from. This makes get_signed_certificate_timestamp() an internal implementation detail of verify_sct() which is nice. FulcioSigningCert.post() changes in that it could now return a response without an SCT: this is ok as it is immediately verified in the callsite in Signer._signing_cert(). Signed-off-by: Jussi Kukkonen <[email protected]>
- Loading branch information
Showing
4 changed files
with
13 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters