Bug 104774 - editor can't decrypt files that konqueror can decrypt
Summary: editor can't decrypt files that konqueror can decrypt
Status: RESOLVED WORKSFORME
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Jimmy Gilles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 14:20 UTC by Berend De Schouwer
Modified: 2007-11-22 22:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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