I have an EncryptedPrivateKeyInfo (epki) object created with the PK11_ExportEncryptedPrivateKeyInfo NSS function. This epki object was created with PBE_SHA1_DES_CBC algo and a password.
We are trying to decrypt this epki to get the PrivateKeyInfo object but the decryption function doesn't seems to return a valid PrivateKeyInfo (It doesn't look like an asn1 structure) Our decrytion function is ok because it decrypt a epki sample from "RSA Security". So what's wrong ? - Did the PK11_ExportEncryptedPrivateKeyInfo function from the NSS library return a valid PKCS8 structure ? - Are the SHA1 and DES algorithms implementation standard inside the NSS ? - Did someone succeed to decrypt a epki object ouside the NSS ? Any help welcome !
