Hi, I’m trying to use the Nitrokey 3 as a pkcs11 backend, but am having trouble finding any information on how. The feature table and shop description clearly state it’s supported, the docs only provide pkcs11 info for the Nitrokey HSM.
There is this not so promising topic in the forum, and some others that are unanswered. The closest I can find in github is this snippet, which contains the comment “# Make sure that the PYKCS11LIB env variable is set”. This is particularly frustrating, because knowing what lib to use/set the variable to is exactly the information (i.e what driver lib to use …) I’m looking for!
> openpgp-tool -K
Using reader with a card: Nitrokey Nitrokey 3 [CCID/ICCD Interface] 00 00
Aut Algorithm: EDDSA
Aut Create Date: 2023-12-22 19:13:34
Aut Fingerprint: 2d:95:41:9c:2c:47:7a:bc:a1:e7:dc:d9:c1:4a:88:c5:c3:07:dd:91
Dec Algorithm: ECDH
Dec Create Date: 2023-12-22 19:13:34
Dec Fingerprint: cb:3d:95:9e:63:62:15:2a:da:d3:9f:c3:56:6d:12:69:b6:52:8e:d3
Sig Algorithm: EDDSA
Sig Create Date: 2023-12-22 19:13:34
Sig Fingerprint: f2:ee:32:6f:54:2b:78:44:22:b4:fd:10:33:fb:9d:a8:17:64:f4:7a
So, it looks like pcscd + opensc + pkcs11 tools can read the card and find the keys.