entering wrong password results in confusing message decryption

Bug #1376095 reported by themusicgod1
2
Affects Status Importance Assigned to Milestone
kgpg (Ubuntu)
New
Undecided
Unassigned

Bug Description

0) open up editor
1) Paste in some encrypted text that I want decrypted but I Have the key to do so.
2) Hit Decrypt: enter wrong password (doh)
3) Hit Decrypt: enter wrong password (doh!)
3) Hit Decrypt: enter wrong password (doh!!)
4) enter correct password(I think this time?)

you get a popup error:

Decryption failed.

However in the "Details" you get the message in plaintext that I was trying to decrypt.

A few things

1) If you're going to have "Decryption failed".......that should mean it failed. If it succeeded..that should be displayed as a successful decryption
2) If you're going to have "Decryption failed" ...allow the entry of a password after the 3rd try.

KGpg
Version 2.13.0
Using KDE Development Platform 4.14.1
ubuntu 14.10
kgpg:
  Installed: 4:4.14.1-0ubuntu1
  Candidate: 4:4.14.1-0ubuntu1
  Version table:
 *** 4:4.14.1-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: kgpg 4:4.14.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
Uname: Linux 3.16.0-17-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Oct 1 00:56:57 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (83 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: kgpg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
themusicgod1 (themusicgod1) wrote :

Tried in ubuntu 15.04 / kgpg 4:14.12.0-0ubuntu1 and it's slightly different, but same basic bug

It pops up as "Decryption failed" but the next attempt at decryption succeeds (ie it remembers that you got the right password)

so reviewing the symptoms:

> 1) If you're going to have "Decryption failed".......that should mean it failed. If it succeeded..that should be displayed as a successful decryption

this is still happening

> 2) If you're going to have "Decryption failed" ...allow the entry of a password after the 3rd try.

This is no longer the case.

Revision history for this message
themusicgod1 (themusicgod1) wrote :

This seems to be distinctly better in Xenial: as you type in the incorrect passwords it gives you a message saying (2/3 remaining). Then once you run out, you get an error message, and it asks you once again if you try to decrypt again, and if you enter your password correctly, the text decrypts.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.