Skip to content

Add support for multiple PIV tokens #4493

@almet

Description

@almet

Right now, Cosign doesn't allow to sign when multiple PIV tokens are connected: it errors out and no signatures re generated:

signing digest: getting keypair and token: getting signer: open key: found 2 cards, please attach only one

This can be problematic in scenarios where you are using a machine in which you don't have physical access.

Having a way to filter the PIV tokens by specifying a --piv-uuid flag would be a way to solve this.

What do you think? Would such a contribution welcome?

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