de-mail and GPG with Smart Card no decryption
Open, HighPublic


de-mail offers end-to-end enctyption with gpg and Mailvelope as add-on. Generally it works. However, if a key is generated on the GnuPG Smart Card V3.3, it will work. The public key can be uplodaed in Mailvelope. So Messges in de-mail can be encrypted, as it should be.

The problem is comming up, if the private key is only on the smart card. This should be, fore security reasons the case. However, Mailvelope does not recognize the smart card. Therefore, decryption fails.

If not smart card is used, and private and public key are stored in Mailvelope, gpg can be used inside de-mail.


gpg4win 3.1.7, GnuPG Smart Card V3.3
JW-D created this task.Wed, May 15, 4:17 PM
aheinecke triaged this task as High priority.Thu, May 16, 1:12 PM
aheinecke claimed this task.
aheinecke added a subscriber: aheinecke.

Smartcard support is a big advantage of using the GnuPG backend and it should work of course.

I'll try to reproduce the problem.

JW-D added a comment.Thu, May 16, 2:48 PM

The problem could be narrowed as follows: According to Mailvelope Add-on, GnuPG must be installed for smart card support. Screenshots show that GnuPG is not recognized by Mailvelope. Of course actual versions off all programs were installed. Therefore, e-mails sent out ecrypted with public key work fine, because the public key is stored in Mailvelope. Is the encrypted message arrives and should be decrypted. Mailvelope does not find GnuPG and therefore, no private key. I´ll send some screenshots to you.