Bug 104774

Summary: editor can't decrypt files that konqueror can decrypt
Product: [Applications] kgpg Reporter: Berend De Schouwer <berend.de.schouwer>
Component: generalAssignee: Jimmy Gilles <jimmygilles>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde
Priority: NOR    
Version: 1.2.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Berend De Schouwer 2005-04-29 14:20:58 UTC
Version:           1.2.1 (using KDE 3.4.0, Debian Package 4:3.4.0-0ubuntu3 (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
OS:                Linux (i686) release 2.6.10-5-686

When I open files in the kgpg editor, and try to decrypt them, it fails.  I can decrypt the same files in konqueror with a right-click -> actions -> decrypt.

The passphrase is correct.  From the details:

[GNUPG:] ENC_TO ...
[GNUPG:] USERID_HINT ... Berend De Schouwer <bds@ucs.co.za>
[GNUPG:] NEED_PASSPHRASE ...
[GNUPG:] GOOD_PASSPHRASE
gpg: encrypted with 2048-bit ...
gpg: public key decryption failed: wrong secret key used
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_FAILED
gpg: decryption failed: secret key not available
[GNUPG:] END_DECRYPTION

except the username/key is right.  Same user works with gpg on the command line, and with konqueror -> right-click -> actions -> decrypt.

This happens even if there is only one secret key.
Comment 1 Jimmy Gilles 2007-10-20 01:02:41 UTC
Hi,

Do you have an example ? I can't reproduce this bug.
Thx
Comment 2 Rolf Eike Beer 2007-11-22 22:26:23 UTC
Ages old and no way to reproduce