Archived Forum Post

Index of archived forum posts

Question:

PKCS7 Decrypt: "Unsupported public key algorithm" error

Jun 15 '12 at 10:35

I get this error when trying to decrypt a certain encrypted MIME message:


        AlgorithmIdentifier:
          oid: 1.2.840.113549.1.1.7
        Unsupported public key algorithm


Answer

The OID 1.2.840.113549.1.1.7 is for "RSA OAEP" instead of the much more common "RSA PKCS1 v1.5". Chilkat already implements RSA OAEP. The problem within the component is that it did not recognize the OID. This is fixed and can be made available in a pre-release. Versions after v9.3.1 will include this fix.