Questions tagged [nitrokey]

Question related to Nitrokey devices

4 questions
5
votes
1 answer

Hot to use mechanisms CKM_ECDH1_DERIVE with pkcs11interop

I bought a NitroKey HSM and wanted to derive a secret with EC. Previosly question For this, I want to use the CKM_ECDH1_DERIVE mechanisms. Which is supported by this HSM, see: Referring to the PKCS#11 specification this must be considered: The…
hdev
  • 6,097
  • 1
  • 45
  • 62
2
votes
2 answers

PKCS11_MODULE path to a file

I am working on a test program using the Nitrokey HSM: import pkcs11 lib = pkcs11.lib(os.environ['PKCS11_MODULE']) token = lib.get_token(token_label='smartcard') with token.open() as session: print(session) Question: what can be the pkcs11…
Anoy
  • 21
  • 2
0
votes
1 answer

How to get Qx and Qy form DER Encoded EC_POINT

I created a brainpool EC on a nitro key hsm and want to use this for crypto operations with the .NET Framework e.g. System.Security.Cryptography.ECDiffieHellman. I extracted with pkcs11-tool --list-objects the public key but get only one value, the…
hdev
  • 6,097
  • 1
  • 45
  • 62
-1
votes
1 answer

Could not initialise BCCSP PKCS11 In Fabric CA with HSM

In one of my project, I am using Fabric CA as Root Certificate Authority to use NitroKey2 HSM by following : For Fabric CA : https://hyperledger-fabric.readthedocs.io/en/release-2.2/hsm.html For NitroKey :…
Sumit Arora
  • 5,051
  • 7
  • 37
  • 57