Bug 416439 - Error decrypting older version encrypted files
Summary: Error decrypting older version encrypted files
Status: REPORTED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 19.12.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-19 03:23 UTC by email
Modified: 2020-01-19 18:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description email 2020-01-19 03:23:52 UTC
SUMMARY
I have some items that were encrypted by an Ubuntu system (Kgpg version 19.04.3), when trying to decrypt them using my arch machine (kgpg version 19.12.1) I get a "Decryption of this file failed"

If I encrypt something with 19.12.1 then the Ubuntu system running 19.04.3 has no problem decrypting.  

It is only the newer package can not decrypt older version.


STEPS TO REPRODUCE
1. encrypt files with 19.04.3
2. try to decrypt with 19.12.1
3. error decrypting

OBSERVED RESULT
error

EXPECTED RESULT
file decrypted

SOFTWARE/OS VERSIONS
Machine running KGgp 19.04.3  
Linux/KDE Plasma: Kubuntu
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66
Qt Version: 5.12.4

Machine running KGgp 19.12.1
Linux/KDE Plasma: Arch
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66
Qt Version: 5.14.0

ADDITIONAL INFORMATION
Comment 1 Rolf Eike Beer 2020-01-19 16:04:27 UTC
The interesting information is the version of gpg on both machines.

Also test this from the commandline

cat encrypted_file | gpg --decrypt

Does that work?
Comment 2 email 2020-01-19 18:10:27 UTC
Failed to decrypt.  I believe I know what the issue may be.  When the key was imported (into the arch machine 19.12.1) it never prompted for the passphrase used.  Every time I am trying to decrypt something it is never prompting for it either.
Comment 3 Rolf Eike Beer 2020-01-19 18:22:38 UTC
I gpg can't decrypt it on the commandline then there is nothing KGpg can do about it. Please double-check if you have the private key on the newer machine.