Hello, I've been trying to import an AES 256 encrypted RSA Private Key imported into NSS, to function as a PKCS 11 "AES Secret Key Object" (aka object class CKO_SECRET_KEY, key type CKK_AES), but have been unsuccessful.
I attempted this using the symkeyutil tool, but it fails with the following error $ nss-symkeyutil -K -n "Test" -t aes -s 256 -d . Enter Password or Pin for "NSS Certificate DB": nss-symkeyutil: Token Key Gen Failed nss-symkeyutil: The key does not support the requested operation. I get the same error if I try and import a key that I generated via openssl. Is importing AES keys (as a PKCS11 Secret Key) into NSS supported? And if so, how do I do it? The version of NSS : $ port list installed | grep nss nss @3.12.7 net/nss Thanks! Deepak. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto