On 2018-06-14, Óscar Fuentes wrote: > While trying to create a demo file I noticed that decryption works fine > as long as the content was relatively new, while it fails for content > that was encrypted years ago. > > I tried setting epg-gpg-program to "gpg" (it is "gpg2" by default) for > encrypting some tests but then decryption worked fine on those tests.
Probably you encrypted without integrity protection, which was always a bad idea but in view of EFAIL attacks has recently gained lots of attention as Bad Thing. Nowadays GnuPG returns a failure, you can override that if you know what you are doing. See there: https://dev.gnupg.org/T3714 Best wishes Jens