From owner-freebsd-ports@FreeBSD.ORG Wed Jan 7 14:59:46 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C799A8E for ; Wed, 7 Jan 2015 14:59:46 +0000 (UTC) Received: from sabe.cs.wisc.edu (sabe.cs.wisc.edu [128.105.6.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sabe.cs.wisc.edu", Issuer "InCommon Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4F4C660FF for ; Wed, 7 Jan 2015 14:59:45 +0000 (UTC) Received: from spiff.home.crhalpin.org (108-249-32-238.lightspeed.mdsnwi.sbcglobal.net [108.249.32.238]) (authenticated bits=0) by sabe.cs.wisc.edu (8.14.1/8.14.1) with ESMTP id t07EuVB5019846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Jan 2015 08:56:33 -0600 Received: from localhost (1001@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id aa22fa10; for ; Wed, 7 Jan 2015 08:56:24 -0600 (CST) Received: from dohhoghi.mutt.home.crhalpin.org (suzie.home.crhalpin.org [192.168.2.1]) by spiff.home.crhalpin.org (tmda-ofmipd) with ESMTP; Wed, 07 Jan 2015 08:56:19 -0600 Resent-Date: Wed, 7 Jan 2015 08:55:47 -0600 Resent-Message-ID: <20150107145547.GA9149@dohhoghi.mutt.home.crhalpin.org> Resent-To: freebsd-ports@freebsd.org Date: Wed, 7 Jan 2015 07:49:34 -0600 From: Corey Halpin To: David Wolfskill Subject: Re: gnupg-2.1 -> 2.1 appears to break decryption of saved messages Message-ID: <20150107134934.GA75522@dohhoghi.mutt.home.crhalpin.org> References: <20141120192552.GJ31571@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20141120192552.GJ31571@albert.catwhisker.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) Resent-From: Corey Halpin Mail-Followup-To: david@catwhisker.org, freebsd-ports@freebsd.org X-Primary-Address: chalpin@cs.wisc.edu X-Hashcash: 1:26:150107:freebsd-ports@freebsd.org::NB0E1PlkhRA2zgYd:00000000mRxJ Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 14:59:46 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2014-11-20, David Wolfskill wrote: > It has been my practice for several years to email sensitive information > (such as passwords) to myself via envrypted email, using mutt and GPG. > > [...] > > Then, a few minutes ago, I tried to retrieve a password from one of my > saved encrypted messages... only to be informed "Could not copy > message". I also enjoyed some friction trying to use gnupg 2.1 with mutt, though I didn't get the "Could not copy message" error that you report. Instead I was seeing 'no secret key'. In my case, this was resolved by following the advice at https://wiki.archlinux.org/index.php/GnuPG#Unattended_passphrase . Namely: echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf and editing my copy of mutt's gpg.rc to add '--pinentry-mode loopback' to every gpg invocation involving a passphrase-fd. After that, things were back to normal for me. Hopefully this helps others avoid the same problem. ~crh --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iF4EAREIAAYFAlStOW4ACgkQR8PgTIRJoTW4pgEAsHP5gFhoRiJWz0vcvE6SQIm3 otlFMVpYBUHCseRMBmMA/0MCRzxqTfBA77YQ658zbJ5xS28FyXB1fpUXf0eIxsIt =/UD7 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--