[Kolab-devel] [issue4156] 'No data' trying to decrypt/verify a .p7s file (S/MIME signed-opaque)

Marc Mutz issues at kolab.org
Tue Feb 23 10:38:15 CET 2010


New submission from Marc Mutz <marc at kdab.net>:

.p7s files are created by Kleopatra through sign-only of an archive.
1. Call Decrypt/Verify... from GpgEX or
   Decrypt/Verify Files... from Kleopatra's UI on such a file
2. Hit button 'Decrypt/Verify'
=> Error: No Data

This comes from gpgsm. Apparently, due to the lack of support for combined 
sign/encrypt operations, gpgme_op_decrypt_verify in fact just tries to do 
decryption, which fails with GPG_ERR_NO_DATA (naturally, as there's no 
ciphertext). This works fine with gpg (GPGME_PROTOCOL_OpenPGP): it will report 
a null decrypt result, and Kleopatra ignores this, and a verify result that 
Kleopatra uses.

This algorithm fails for CMS, though.

----------
assignedto: marc
keyword: gpg4win2, kleo
messages: 23698
nosy: bernhard, emanuel, marc, till, werner
priority: urgent
status: unread
title: 'No data' trying to decrypt/verify a .p7s file (S/MIME signed-opaque)

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4156>
______________________________________




More information about the devel mailing list