Hi developers,
I try to import an p12 file using nss into Thunderbird.
After read the file and init nss , I call SEC_PKCS12DecoderStart,
SEC_PKCS12DecoderUpdate and SEC_PKCS12DecoderVerify.
But at the SEC_PKCS12DecoderVerify it will fails with error code -8183.
Looking at
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html#1039257
it looks like the file is broken.
But the  file is ok. I can read it via openssl an import it into Firefox
and Thunderbird. So I think the file self is fine.

I'm using nss 3.44, which comes with CentOS 7.7.

What do I wrong? In the docu I can't find an example for import an p12 file.


Thanks for an any help.
Frank

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to