You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- replace ring crate with RustCrypto
- refactor CosignVerificationKey implementation and interface
- fix the code which references CosignVerificationKey
Signed-off-by: Xynnn007 <[email protected]>
Copy file name to clipboardexpand all lines: src/crypto/mod.rs
+56-26
Original file line number
Diff line number
Diff line change
@@ -15,44 +15,70 @@
15
15
16
16
//! Structures and constants required to perform cryptographic operations.
17
17
18
-
usering::signature;
18
+
usesha2::{Sha256,Sha384};
19
19
use std::convert::TryFrom;
20
20
21
-
/// The default signature verification algorithm used by Sigstore.
22
-
/// Sigstore relies on NIST P-256
23
-
/// NIST P-256 is a Weierstrass curve specified in [FIPS 186-4: Digital Signature Standard (DSS)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
24
-
/// Also known as prime256v1 (ANSI X9.62) and secp256r1 (SECG)
/// The default signature verification algorithm used by Sigstore.
76
+
/// Sigstore relies on NIST P-256
77
+
/// NIST P-256 is a Weierstrass curve specified in [FIPS 186-4: Digital Signature Standard (DSS)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
78
+
/// Also known as prime256v1 (ANSI X9.62) and secp256r1 (SECG)
0 commit comments