From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Lechtenboerger Subject: Re: org-crypt broken on Ubuntu 18.04 Date: Thu, 14 Jun 2018 07:31:04 +0200 Message-ID: <87d0wurl2f.fsf@wi.uni-muenster.de> References: <87bmceeh0x.fsf@telefonica.net> <87wov2a3uf.fsf@nicolasgoaziou.fr> <8736xqe9b9.fsf@telefonica.net> <87o9ge7815.fsf@thb.lt> <87tvq6cmcp.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTKql-00059A-RY for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 01:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTKqi-0006bf-ND for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 01:31:11 -0400 Received: from zivm-wwu2-1.uni-muenster.de ([128.176.192.5]:9500 helo=zivm-wwu2.uni-muenster.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTKqi-0006ay-Cq for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 01:31:08 -0400 In-Reply-To: <87tvq6cmcp.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 14 Jun 2018 01:12:22 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?=C3=93scar?= Fuentes Cc: emacs-orgmode@gnu.org On 2018-06-14, =C3=93scar 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