Skip to content

Key ID generation is incorrect for non-ECDSA keys #954

Open
@woodruffw

Description

@woodruffw

See sigstore/rekor#2062 for the full context here. TL;DR: we have an internal key_id helper that essentially does SHA256(DER(SPKI(key)), which is correct for ECDSA keys but not for Ed25519 or RSA.

Following #953 this will no longer cause failures, but will be suboptimal in terms of searching all keys in the keyring. We should fix our key ID generation and handling to make it more optimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:verificationCore verification functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions