Kleopatra: Missing error handling when changing expiry
Open, NormalPublic


In Kleopatra when you change the expiry of a Key and enter a wrong passphrase or cancel the pinentry it still reports a success.


aheinecke added a subscriber: huowen.

From a comment in T3990

Hi,aheinecke。my kleopatra version is "kleopatra Version 3.1.4-gpg4win-3.1.5".and when change expiry date, i enter a wrong passphrase or choose "cancle". it shows successfully. what can i do for solve this question. thanks.


I'm not sure yet where the bug lives. It's either in GPGME's editkeyinteractor that ignores the error / cancel or in Kleopatra itself. I'll have to look into it. Btw. I do not think that this should have high priority because it is not a new regression and while it is a Bug and wrong it is not really harmful.

If you want to fix it yourself the first step would probably be to compile Kleopatra / GPGME for a developer version. This is very complicated. There is documentation for this in https://dev.gnupg.org/source/gpg4win/browse/master/README but you will need a debian linux system for it.

Best Regards,

huowen added a comment.Fri, Mar 8, 3:10 AM

i am sorry. it really wasn't a high priority Bug, I just want to get your attention(^_^).

i have compile Kleopatra successfully, but, I couldn't find the cause of the bug. i guess, maybe GPGME.
if you have solve the bug, please tell me as soon as possible. Thanks.

Best Regards