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
Fix signing and verification with ed25519 keys with bundles and Rekor
With the recent changes we made to use sigstore-go rather than Cosign
for signing and verification, ed25519 managed key support broke, because
we were incorrectly specifying ed25519ph for dsse Rekor entries and not
specifying ed25519ph for hashedrekord entries. This PR correctly sets
load options for when signing and verifying a blob (using the prehash
variant) and when signing/verifying attestations (using the pure
variant). This also fixes a bug where the SignerVerifier Keypair didn't
handle crypto.Hash(0) for ed25519, which specifies no hash when signing.
This has been tested with sign/verify, sign-blob/verify-blob,
attest/verify-attestation, and attest-blob/verify-blob-attestation.
Signed-off-by: Hayden <[email protected]>
0 commit comments