login about faq

We discovered an issue on the mime part which we ONLY got to work with version 9.4.1.0. When decrypting a mime mail object no version before !!or after!! 9.4.1.0 can decrypt our mime. Using version 9.4.1 works just like expected

Decrypt:
    DllDate: Dec 29 2015
    ChilkatVersion: 9.5.0.55
    UnlockPrefix: XXXDEUSMIME
    Username: --------:-------
    Architecture: Little Endian; 32-bit
    Language: .NET 2.0
    VerboseLogging: 0
    decryptMime:
        unenvelope:
            loadPkcs7Der:
                der_to_xml:
                    (leaveContext)
                loadPkcs7Xml:
                    Pkcs7_EnvelopedData:
                        AlgorithmIdentifier_loadXml:
                            RC2_CBC
                            IV: K2gyn/LeD78=
                            KeyLength: 40
                            (leaveContext)
                        numRecipients: 1
                        RecipientInfo:
                            IssuerAndSerialNumber:
                                issuerCommonName: 
                                issuerCountry: XX
                                issuerState: 
                                issuerLocality: 
                                issuerOrganization: XXX
                                (leaveContext)
                            AlgorithmIdentifier_loadXml:
                                (leaveContext)
                            encryptedKeyNumBytes: 128
                            (leaveContext)
                        (leaveContext)
                    (leaveContext)
                (leaveContext)
            unEnvelope3:
                unEnvelope_encrypted:
                    findMatchingPrivateKeyFromSysCerts:
                        numRecipientInfos: 1
                        certSerialNumber: 00
                        certIssuerCN: 
                        subjectKeyIdentifier: 
                        findPrivateKey:
                            findCertificate:
                                findCertB:
                                    (leaveContext)
                                findCertBySerialAndIssuerCN:
                                    msFindMsCertBySerialAndIssuerCN:
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        openCertStore:
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                (leaveContext)
                            (leaveContext)
                        findPrivateKey:
                            findCertificate:
                                findCertB:
                                    (leaveContext)
                                findCertBySerialAndIssuerCN:
                                    msFindMsCertBySerialAndIssuerCN:
                                        (leaveContext)
                                    (leaveContext)
                                (leaveContext)
                            (leaveContext)
                        (leaveContext)
                    No certificate with private key found.
                    (leaveContext)
                (leaveContext)
            Failed to unenvelope message
            (leaveContext)
        Failed.
        (leaveContext)
    Failed.
    (leaveContext)

asked Feb 15 at 07:06

ColonelBurton's gravatar image

ColonelBurton
11

edited Feb 15 at 10:25

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


We'd need to see the LastErrorText for the success case using v9.4.1. The LastErrorText will contain content for both successful and failed method calls. Also:

  1. Turn on verbose logging by setting the VerboseLogging property = true.
  2. Make sure to post the contents of LastErrorText in "pre" tags, to maintain the line-endings.
link

answered Feb 15 at 10:29

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×29
×23

Asked: Feb 15 at 07:06

Seen: 425 times

Last updated: Feb 15 at 10:29

powered by OSQA