Nelson B Bolyard wrote:
> Please provide a URL for the bugzilla bug that you filed.  It was evidently
> filed in a different bugzilla than mozilla.org's.

It's bug 491698, actually, and NSS's PKCS#12 decoder seems to have
a problem with it. The contents of the file can be listed with pk12util:

  $ pk12util -l 3372.p12
  Enter password for PKCS12 file: [123456]
  Key(shrouded):
      Friendly Name: Ricardo Camacho

      Encryption algorithm: PKCS #12 V2 PBE With SHA-1 And 3KEY Triple DES-CBC
          Parameters:
              Salt:
                  06:e6:c5:81:83:eb:15:ed:63:01:3f:11:73:d5:f8:aa:
                  9d:63:c9:6c
              Iteration Count: 1024 (0x400)
  Certificate(has private key):
  Data:
      Version: 3 (0x2)
  [...]

but importing into a DB doesn't work:

  $ pk12util -d mydb -i 3372.p12
  Enter password for PKCS12 file: [123456]
  pk12util: PKCS12 decode import bags failed: error 0

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

Reply via email to