https://bugs.kde.org/show_bug.cgi?id=333611
--- Comment #17 from Andre Heinecke <aheine...@intevation.de> --- (In reply to Sandro Knauß from comment #15) > @Andre thanks for the fast response. I now also have a bugfix for this bug. > But I just get it right - from outside I can't differ if it is encrypted or > only a encoded signature, because both use PGP MESSAGES header? Yes. > So there is no way to select the "correct" job for it. Is it recommended to > use > verifyOpaqueJob in any case? Sorry I have not designed this API. As I see it you can use either, verifyOpaque (if it also decrypts) might produce nicer results as the general decryptverify job but as far as I know it should be Ok to use both. > Should we first ask gnupgp what kind of packets > are inside the message? Parsing the output of list-packets you mean? I don't think this is sensible to do in KMail. Werner Koch will add API for this in GpgME in the next months because we need to Answer the question "Hey GnuPG, what should we do with this data" to better support file extensions (where it's often .asc or .gpg) for various data formats this could then also be used in this case. > @Andrew: You sent me a sample mail in private - is it okay if i publish it > as testcase in the code? Because I can't read cryrillic, I can't deside if > there are any sensible/private informations. You can generate such a mail if you just do "echo foo | gpg2 -as" on the command line and copy & paste this into a mail. -- You are receiving this mail because: You are watching all bug changes.