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
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?
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.
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.