Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Security

 AfterLogic Forum : MailBee.NET Security
Subject Topic: MailMessage.IsEncrypted Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sarahmcjj
Newbie
Newbie
Avatar

Joined: 09 July 2022
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 13 July 2022 at 7:22am | IP Logged Quote sarahmcjj

Hello, anyone had issues with MailMessage.IsEncrypted property returned FALSE for encrypted and signed+encrypted emails?
Back to Top View sarahmcjj's Profile Search for other posts by sarahmcjj
 
sarahmcjj
Newbie
Newbie
Avatar

Joined: 09 July 2022
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 13 July 2022 at 7:34am | IP Logged Quote sarahmcjj

Actually IsEncrypted is TRUE, but SMIMEResult.DecryptionCertificate is nothing after DecryptAndVerify2!
Back to Top View sarahmcjj's Profile Search for other posts by sarahmcjj
 
sarahmcjj
Newbie
Newbie
Avatar

Joined: 09 July 2022
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 13 July 2022 at 7:41am | IP Logged Quote sarahmcjj

Dim SMIMEResult As SmimeResult = rSMIME.DecryptAndVerify2(rMessage, MessageVerificationFlags.All, Nothing, Nothing)

SMIMEResult.DecryptionCertificate is never getting cert
Back to Top View sarahmcjj's Profile Search for other posts by sarahmcjj
 
sarahmcjj
Newbie
Newbie
Avatar

Joined: 09 July 2022
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 13 July 2022 at 7:51am | IP Logged Quote sarahmcjj

That's a bug, I got the newer dll according to:
https://afterlogic.com/docs/kb/mailbee-net/where-can-i-download-mailbee-net-objects-updates-and-update-my-current-installation

And the original dll with installer is working fine, what is the bug fix updates policy?
Back to Top View sarahmcjj's Profile Search for other posts by sarahmcjj
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 13 July 2022 at 12:21pm | IP Logged Quote Alex

In future releases, the documentation will be updated to reflect the fact that all Smime methods with "2" suffix (e.g. DecryptAndVerify2) must use SmimeResult.EnvelopedCmsResult and SmimeResult.SignedCmsResult instead of outdated SmimeResult.DecryptionCertificate and SmimeResult.SignatureCertificate properties which are set by legacy methods without "2" suffix. The newer alternatives support multiple certs, more flexible and, most importantly, cross-platform (not Windows-only).

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide