Nelson B Bolyard wrote: > Dave Townsend wrote, On 2008-05-28 15:08: >> Wan-Teh Chang wrote: >>> It seems that if the private key already exists, we modify its attributes: > Yes. > >> The attribute type is 3584088832. This is with NSS_3_12_RC3 > > 3584088832 is 0xD5A0DB00 which is CKA_NETSCAPE_DB. See >> http://lxr.mozilla.org/security/source/security/nss/lib/softoken/pkcs11n.h#154 > > It contains the public value of a DSA key. > Were you trying to import a DSA key?
Nope, definately an RSA key. I'm testing with keys created with "openssl genrsa | openssl pkcs8 -topk8". _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto