Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

error: No such key <pkcs11 URL> #36

Copy link
Copy link
@rhoerbe

Description

@rhoerbe
Issue body actions

I imported a p12 cert to a Safenet eToken 5110. The result is that the private key has no label. As a result pk11.py does not find the key, because the search template is

(CKA_LABEL, keyname), (CKA_CLASS, CKO_PRIVATE_KEY), (CKA_KEY_TYPE, CKK_RSA)

My workaround is to make a second find using
(CKA_CLASS, CKO_PRIVATE_KEY), (CKA_KEY_TYPE, CKK_RSA)

cf https://github.com/rhoerbe/pyXMLSecurity/blob/default-digestalg-sha2/src/xmlsec/pk11.py#L123

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.