Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - RSES

Pages: [1]
1
C / C++ / 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


2
C / C++ / Decrypt information
« on: December 14, 2017, 10:22:37 AM »
Hello

Just look at the libraries and don't find the right.
When I decrypt or verify an email, how can I check how it was encrypted and signed.
So whether it's OAEP or PKSC...

Thank you and greetings

Pages: [1]