Author Topic: Decrypt Error  (Read 516 times)

RSES

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Decrypt Error
« on: December 21, 2017, 11:17:05 AM »
Hello,

I use the libraries for MFC.
I have received an email that is OAEP encrypted and is running on an error.

Unfortunately I do not find myself geruas what it is.

Anybody got an idea?

Here's the log:

ChilkatLog:
  DecryptUsingCert:
    DllDate: Nov 27 2017
    ChilkatVersion: 9.5.0.70
    UnlockPrefix: XXXXXXXXXXXXXXX
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 10.0 (32-bit)
    VerboseLogging: 0
    Component successfully unlocked using purchased unlock code.
    decryptMime:
      unenvelope:
        loadPkcs7Der:
          loadPkcs7Xml:
            Pkcs7_EnvelopedData:
              AlgorithmIdentifier_loadXml:
                encryptionAlgorithmOid: 2.16.840.1.101.3.4.1.2
                IV: lrnbt6dqpiCsK85kEp9VTw==
              --AlgorithmIdentifier_loadXml
              numRecipients: 1
              RecipientInfo:
                subjectKeyIdentifier: +GsZM7P6ffRzpWeO+LbZrOvAF5k=
                encryptedKeyNumBytes: 256
              --RecipientInfo
            --Pkcs7_EnvelopedData
          --loadPkcs7Xml
        --loadPkcs7Der
        unEnvelope3:
          unEnvelope_encrypted:
            findMatchingPrivateKeyFromSysCerts:
              numRecipientInfos: 1
              certSerialNumber:
              certIssuerCN:
              certIssuerDN:
              subjectKeyIdentifier: +GsZM7P6ffRzpWeO+LbZrOvAF5k=
            --findMatchingPrivateKeyFromSysCerts
            AlgorithmIdentifier:
              oid: 1.2.840.113549.1.1.7
              rsaPaddingHashAlg: SHA-256
            --AlgorithmIdentifier
            OAEP decoding failed.
          --unEnvelope_encrypted
        --unEnvelope3
        Failed to unenvelope message
      --unenvelope
      Failed.
    --decryptMime
    Failed.
  --DecryptUsingCert
--ChilkatLog