Bug 394754 - Unable to encrypt / decrypt / sign files in the editor
Summary: Unable to encrypt / decrypt / sign files in the editor
Status: RESOLVED FIXED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 18.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-27 16:33 UTC by Jens Stomber
Modified: 2018-06-08 06:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 18.04.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Stomber 2018-05-27 16:33:13 UTC
When I open an ascii armor encryptes textfile in the editor and klick on decrypt and enter the passphrase a window with an errormessage appears "Entschlüsselung fehlgeschlagen" (decryption failed). In the window there is a "Details" dialog. When I go on details and enlarge the window it contains the following:

[GNUPG:] DECRYPTION_KEY 307DF5270E03CF60A318170B71880C73136CC2BE 6E2CEED78082C59F2F973CF05F6AB4482F2FA8AF u
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_COMPLIANCE_MODE 23
[GNUPG:] DECRYPTION_INFO 2 9
[GNUPG:] PLAINTEXT 62 1527437314 
<here comes the decrypted cleartext of the file>
[GNUPG:] DECRYPTION_OKAY
[GNUPG:] GOODMDC
[GNUPG:] END_DECRYPTION

So allthough the file gets decrypted to its cleartext an errormessage comes up saying that there was an error. Also I can decrypt the file on the commandline using gpg without a problem.

This bug seems to have appeared with version 18.04.1. Also Bug 336764 seems to have appeared with this release.
Comment 1 Jens Stomber 2018-06-07 19:29:02 UTC
(In reply to Jens Stomber from comment #0)
> When I open an ascii armor encryptes textfile in the editor and klick on
> decrypt and enter the passphrase a window with an errormessage appears
> "Entschlüsselung fehlgeschlagen" (decryption failed). In the window there is
> a "Details" dialog. When I go on details and enlarge the window it contains
> the following:
> 
> [GNUPG:] DECRYPTION_KEY 307DF5270E03CF60A318170B71880C73136CC2BE
> 6E2CEED78082C59F2F973CF05F6AB4482F2FA8AF u
> [GNUPG:] BEGIN_DECRYPTION
> [GNUPG:] DECRYPTION_COMPLIANCE_MODE 23
> [GNUPG:] DECRYPTION_INFO 2 9
> [GNUPG:] PLAINTEXT 62 1527437314 
> <here comes the decrypted cleartext of the file>
> [GNUPG:] DECRYPTION_OKAY
> [GNUPG:] GOODMDC
> [GNUPG:] END_DECRYPTION
> 
> So allthough the file gets decrypted to its cleartext an errormessage comes
> up saying that there was an error. Also I can decrypt the file on the
> commandline using gpg without a problem.
> 
> This bug seems to have appeared with version 18.04.1. Also Bug 336764 seems
> to have appeared with this release.

On archlinux with kgpg version 18.04.2 this bug has just disappeared. Everything is back to normal. Thank you for your support!