Skip to content

Can't use to sign SSH key: CKR_KEY_FUNCTION_NOT_PERMITTED #18

Description

@3rdcycle

Hi

I tried to use this library on a Mac to sign SSH keys with a Yubikey 5. This does not seem to work:

$ ssh-keygen -I user@example.org -s ca.pub -D /usr/local/lib/keychain-pkcs11.dylib -n user -V +1d .ssh/id_rsa.pub
C_SignInit failed: 104
pkcs11_get_key failed
Couldn't certify key .ssh/id_rsa.pub: error in libcrypto

Is this an issue with the library or the hardware key?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions