Skip to content

Instantly share code, notes, and snippets.

# pkcs11-tool --module /usr/lib/libckteec.so.0 --init-token --label arduino --so-pin 12345678
# pkcs11-tool --module /usr/lib/libckteec.so.0 --init-pin --label arduino --so-pin 12345678 --pin 87654321
# pkcs11-tool --module /usr/lib/libckteec.so.0 --keypairgen --key-type EC:prime256v1 --label testkey --token-label arduino --pin 87654321
Key pair generated:
Private Key Object; EC
label: testkey
Usage: sign, derive
Access: sensitive, always sensitive, never extractable, local