Chilkat Forum

Technologies => Email Protocols => Topic started by: Chilkatuser on December 14, 2017, 04:16:46 AM

Title: (C#) Encrypt Email using RSAES-OAEP with AES-128 CBC and SHA256 not work
Post by: Chilkatuser on December 14, 2017, 04:16:46 AM
Hello,

the example https://www.example-code.com/csharp/email_encrypt_rsaes_oaep_aes_128_sha256.asp not work for me.

If i set email.OaepPadding = true -> Outlook 2013 cant find my certificate and cant open the mail.
If i set email.OaepPadding = false -> everything is ok!

What can i do?

I use 9.5.0.69.

I have created a temporary certificate with which you can test it.
Title: Re: (C#) Encrypt Email using RSAES-OAEP with AES-128 CBC and SHA256 not work
Post by: Chilkatuser on December 14, 2017, 08:34:45 AM
https://www.example-code.com/csharp/smtp_rsaes_oaep_aes_128_sha256.asp

this will also not work. I cant open this mail in Outlook.
And if i reveive the mail with chilkat mail.GetEncryptedByCert() is null.

Why this is null?

If i set email.OaepPadding = false, then everything is ok!

I have tested it with two different certificates.

Please help me.
Title: Re: (C#) Encrypt Email using RSAES-OAEP with AES-128 CBC and SHA256 not work
Post by: Chilkat on December 20, 2017, 08:59:16 AM
Chilkat has solved all problems relating to OAEP.  If you need a pre-release, please send email to support@chilkatsoft.com.    (Pre-releases are not available in all programming languages due to the effort required to produce the build, and also given that the next version of Chilkat, v9.5.0.71, is due to be released in a few weeks..)