Skip to content

Ability to disambiguate key versions in pkcs11 URIs #52

@segevfiner

Description

@segevfiner

Currently the version of a key is only included in the id (CKA_ID), while the object (CKA_LABEL) is only set to the key name. So a URL like pkcs11:object=some-key would select multiple versions of the key which seems to often confuse libraries like the OpenSSL Engine of libp11. It would be nice if there was some other attribute there that can allow selecting a key by using object, and the key version (Not sure how possible is this using the PKCS#11 interface), or maybe just adding the version to the object part, possibly with a config key. As IDs are expected to be percent encoded in such URLs and have a 100 character limit in some libraries which can be annoying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    known issueKnown issues or intended limitations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions