Skip to content

bundle verification does not work with non-standard certificates #1507

@imundra

Description

@imundra

Description

I have some certificates generated from my internal PKI I use sigstore-go to generate bundles for. Verification with sigstore-go seems to work smoothly but verifying using sigstore-js runs into errors. The issue seems to be coming from the fact that:

  • certificates in my cert chain are RSA signed certificates (we seem to only support ECDSA signed certificates)
  • our current crypto.verify call in message.ts relies on auto-detection of the signing algorithm, however, this sometimes fails for my use cases. I suspect some of my certificates have non-standard combinations in terms of key size + signing algorithm but regardless I think it's a better practice if we try to explicitly pass the algorithm along 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions