Open space88man opened 1 year ago
These mechanisms are included in Thales Luna HSMs.
The tool cmu uses CKM_AES_KWP to import PKCS#8 keys into the HSM.
cmu
CKM_AES_KWP
With this patch, I am able to replicate the behaviour of cmu importkey ... with python-pkcs11.
cmu importkey ...
# Thales libCryptoki SDK header files #define CKM_AES_KEY_WRAP_KWP 0x0000210BUL #define CKM_AES_KW (CKM_VENDOR_DEFINED + 0x170) #define CKM_AES_KWP (CKM_VENDOR_DEFINED + 0x171)
These mechanisms are included in Thales Luna HSMs.
The tool
cmu
usesCKM_AES_KWP
to import PKCS#8 keys into the HSM.With this patch, I am able to replicate the behaviour of
cmu importkey ...
with python-pkcs11.