Import p12 fails on SEC_PKCS12DecoderVerify

systems <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
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

-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJdpD1zAAoJEC8jOIZnq6jB1kgP/AmaTnSvo5w3dPkJBL3PXy/Z
/uZ1zvXNvByso6ZzTJ4lU5ccJMMMMUyaQWqsKcqGJGgPSLTsX2S66GP5qSsa7YYt
M27SUOzX3WG+FssuVE0Z2KD+3uezwrldN2EDwf5tJ+7ixKq/rjzBWHIGw/sRx7CL
BUmTWKuHQn3cTyVQukcRrhO79dDm6J1I/+nBGKEP5IgVDCqFL0S8WGR3PAOZ1R9O
1pYRcNwhTtP3rVGB37hyWl9q7Nuq9usLbIenQpQnZNyASbL0zLrXcZYwqI2aAJOj
W/QmTx7ks2dz9W2XWiXLIH/ULIVBUh+SAt6JqQIafQw7bRT6jVWKrn3oLG5KKOyH
xgW8g4GgINvTX0oi+1lqolORSGWQ8hoXGU0lDIOtp81tOEKMM7eAyy6Ft9wI81P/
RCrO3Hpb56YvlODqqniv+952Z4MyPfzX9NrALNHKWnT02YELtcfRHSSpeS16q5PG
FvZIu4CU5z3nN62ActHv4/BF7HYX82TtNlyY3tN19AmrVNe7CV7BHlxM1ZJUmdjR
Ut/1gcBEY+wzhL9MAaE1JNd96fDp9/SFTvpc6xWpU9YcZ+s5c0qxznsVj9+i4jfD
xvGd+bByzLcQCCsIpJjzjpp6zd/fCJiJz3NR56k6xZDNiFsCiTN/XewTzcd8Efzw
CFmZUuXHSd5r+f7r264S
=ssRO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.