Archived Forum Post

Index of archived forum posts

Question:

When decrpting an Email get the following error.

Jan 24 '17 at 11:33

The chilkat mime sending encryption used to work but now I get the following error: (Can some one help)

ChilkatLog:
  UnwrapSecurity:
    DllDate: Mar 10 2015
    ChilkatVersion: 9.5.0.48
    UnlockPrefix: CEYLONSMIME
    Architecture: Little Endian; 64-bit
    Language: Linux C/C++
    VerboseLogging: 0
    unwrapInner2:
      Unwrapping multipart/signed...
      unwrapMultipartSigned:
        loadPkcs7Der:
          loadPkcs7Xml:
            loadSignedDataXml:
              NumDigestAlgorithmIdentifiers: 1
              AlgorithmIdentifier:
                oid: 1.3.14.3.2.26
              --AlgorithmIdentifier
              This is a detached signature.
              numSigners: 1
              SignerInfo:
                signerInfoLoadXml:
                  contentType: 1.2.840.113549.1.7.1
                  messageDigestHex: F7B9 130C 7FC9 FC64 7D40 95D9 54D7 85AF
7542 1C92
                  signingTime: 170124153906Z
                --signerInfoLoadXml
              --SignerInfo
            --loadSignedDataXml
          --loadPkcs7Xml
          extractCertsFromSignedData:
            numCerts: 1
          --extractCertsFromSignedData
        --loadPkcs7Der
        verifyDetachedSignature:
          verifySignature:
            numSigners: 1
            numDigestAlgorithms: 1
            Computing SHA1 message digest.
            numBytesDigested: 295
            numSigners: 1
            signerDigestAlgOid: 1.3.14.3.2.26
            messageDigestSize: 20
            computedHash: 5888 11A2 3A70 63AF 051C 32F2 60AA 3C4D
2AA9 8984
            SHA1 message digest does not match.
          --verifySignature
        --verifyDetachedSignature
        Failed to verify detached digital signature
      --unwrapMultipartSigned
    --unwrapInner2
    This message was signed, but not encrypted
    Not all signatures were valid
    num_parts_signed: 1
    Failed.
  --UnwrapSecurity
--ChilkatLog

Answer

One thing I notice is that you are using a slightly out of date version of the Chilkat library. I recommend trying again with the latest version to see if its something that's already been fixed.

If the problem persists, please repost the contents of the LastErrorText property in <pre></pre> tags in case there is new information logged.