From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: org-crypt broken on Ubuntu 18.04 Date: Thu, 26 Jul 2018 13:57:59 +0200 Message-ID: <878t5ytdiw.fsf@telefonica.net> References: <87bmceeh0x.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fieuK-0001Dl-6D for emacs-orgmode@gnu.org; Thu, 26 Jul 2018 07:58:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fieuH-0001O8-8V for emacs-orgmode@gnu.org; Thu, 26 Jul 2018 07:58:12 -0400 Received: from [195.159.176.226] (port=60263 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fieuH-0001MV-08 for emacs-orgmode@gnu.org; Thu, 26 Jul 2018 07:58:09 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fies6-00012V-Ep for emacs-orgmode@gnu.org; Thu, 26 Jul 2018 13:55:54 +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: emacs-orgmode@gnu.org For the record: executing gpg2 from the command line is revealing: gpg: WARNING: message was not integrity protected gpg: Hint: If this message was created before the year 2003 it is likely that this message is legitimate. This is because back then integrity protection was not widely used. gpg: Use the option '--ignore-mdc-error' to decrypt anyway. gpg: decryption forced to fail! The solution is to add `ignore-mdc-error' to ~/.gnupg/gpg.conf. Óscar Fuentes writes: > Hello. > > Today I noticed that org-crypt is broken on my daily driver. > > On a header with the :crypt: tag I invoke org-decrypt-entry, a popup > dialog asks for the password, I type the password and then the > minibuffer shows > > GPG error: "Decryption failed", "" > > The complete error message on *Messages* is > > epg--check-error-for-decrypt: GPG error: "Decryption failed", "" > > This is a very recent problem. In dpkg.log I see: > > 2018-06-12 00:33:00 upgrade gnupg-utils:amd64 2.2.4-1ubuntu1 2.2.4-1ubuntu1.1 > > 2018-06-12 00:33:05 upgrade gnupg:amd64 2.2.4-1ubuntu1 2.2.4-1ubuntu1.1 > > I tried the latest org-mode (9.1.13) and Emacs from master branch but > the problem persists. > > $ gpg --version > gpg (GnuPG) 2.2.4 > libgcrypt 1.8.1 > Copyright (C) 2017 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Home: /home/oscar/.gnupg > Supported algorithms: > Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA > Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, > CAMELLIA128, CAMELLIA192, CAMELLIA256 > Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 > Compression: Uncompressed, ZIP, ZLIB, BZIP2