login about faq

While downloading Mails from IMAP I receive a message that wants me to "auth." the access to Crypto-Api.

Not sure, but I think it might have to do with the cert, and if the cert that Chilkat wants to use to decrypt a mail has the rights to "Export" the private key?!

As I am not able to check it in Details atm, I wanted to ask if another user can confirm this?

asked Sep 09 '14 at 12:30

RootTag's gravatar image


Check the LastErrorText. Chilkat will only fallback to using the MS Crypto API (internally) on a Windows system if the cert comes from a Windows registry cert store AND the private key is marked non-exportable. There is also an option when installing the cert + private key (onto a Windows system) for "high security", which means that any program accessing the private key will cause the OS to popup a dialog box to confirm the access. This dialog box is completely external to Chilkat and your app -- it is something entirely generated by the OS.


answered Sep 09 '14 at 16:15

chilkat's gravatar image

chilkat ♦♦

I noticed while downloading my mails that there was a very old mail (encrypted) which cert is no longer stored in the windows certmanager.

For this single mail I receive 2 popup Windows which ask me to click "OK". I fear if I am forcing a background task (every 20 minutes) to check all this mails, the user needs to click on every of this messages or the program gets stuck :-(

Maybe I should check if the cert is available via LoadByEmailAddress() and if there is no match I have to skip this mail? Someone got an idea on how to prevent this otherwise?


answered Sep 09 '14 at 19:28

RootTag's gravatar image


edited Sep 09 '14 at 19:29

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Sep 09 '14 at 12:30

Seen: 1,013 times

Last updated: Sep 09 '14 at 19:29

powered by OSQA