Peder, what you encountered is a [bug 327773]
http://bugzilla.mozilla.org/show_bug.cgi?id=327773
NSS pk11wrap layer has two functions to create private keys in a token:
PK11_ImportEncryptedPrivateKeyInfo and PK11_ImportAndReturnPrivateKey.
But only 1st of them supports EC keys. You may try res
me manner when I attempt to read the key from
> the KeyStore like this:
>
> Key key = ks.getKey(alias, pw);
>
> It seems this thread was applicable to my issue:
> http://old.nabble.com/How-to-export-private-key-using-pk12util-td23203644.html
> But this thread speaks of
export-private-key-using-pk12util-td23203644.html
But this thread speaks of avoiding a security trap when exporting private
keys in PKCS#8 format.
So I guess this isn't supported on purpose?
Peder Nielsen
--
View this message in context:
http://old.nabble.com/Extracting-Pr
3 matches
Mail list logo