I'm trying to reproduce your example in how to read S/MIME Encrypted Email, so we are talking python here.
Where/how do I define what certs/keys are used for decryption? I'm not using Windows.
The debug log tells me
Thank you very much! Florian
asked Dec 22 '12 at 08:43
I will update the example for two reasons:
1) The AutoUnwrapSecurity property was removed many versions ago. The security layers are always automatically unwrapped.
2) The example assumes it's running on a Windows OS where the certs and private keys may have already been installed. On other systems (and also optional on Windows systems) the location of the certs and private keys, which would be located in .pfx / .p12 files, can be specified prior to downloading the email. You would do this by calling the imap.AddPfxSourceFile (and/or AddPfxSourceData) once for each PFX file where certs + private keys are located. For example, if you have a collection of certs + private keys stored across 10 different PFX files, you could add them all by calling AddPfxSourceFile once for each file. Typically, only 1 PFX is needed, but Chilkat allows for the possibility for providing a collection of PFX's.
answered Dec 24 '12 at 12:36