From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OGPaFuq3yWF5gAAAgWs5BA (envelope-from ) for ; Mon, 27 Dec 2021 13:56:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MONGFOq3yWHsMwEA9RJhRA (envelope-from ) for ; Mon, 27 Dec 2021 13:56:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D1CCB30064 for ; Mon, 27 Dec 2021 13:56:09 +0100 (CET) Received: from localhost ([::1]:40204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1pXt-0004Mw-0W for larch@yhetil.org; Mon, 27 Dec 2021 07:56:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1pXf-0004LQ-K4 for help-guix@gnu.org; Mon, 27 Dec 2021 07:55:55 -0500 Received: from marvid.fr ([163.172.81.107]:41196 helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1pXd-0006ZS-MD for help-guix@gnu.org; Mon, 27 Dec 2021 07:55:55 -0500 Received: from localhost (schwifty.marvid.fr [51.159.4.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id 37272686AF54; Mon, 27 Dec 2021 13:55:51 +0100 (CET) References: <874k6v1kp0.fsf@colimite.fr> User-agent: mu4e 1.6.10; emacs 27.2 From: Sergiu Ivanov To: Leo Famulari Subject: Re: gnupg 2.2.29 -> 2.2.30 breaks symmetric decryption (and gpg-agent?) Date: Mon, 27 Dec 2021 12:36:06 +0100 In-reply-to: Message-ID: <87zgomyzop.fsf@colimite.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=163.172.81.107; envelope-from=sivanov@colimite.fr; helo=courriel.marvid.fr X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FORGED_SPF_HELO=1, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640609769; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=B+oj92w4YJ631i7Yvafkq1AbKCe50FLZPXWxnWc27ic=; b=dxPaujWkfYP9VNkzvdRV0BHLWZWq4LVe7+TgHPdS4KtVmmboVu3j/Maq2Z/U9pYRjQFsBd /Tygubd7tCH8p3O+5zM5l1LZ5DCfTqKlBZmEzB+x7PLppC3ZqlvxK1yacHWDLhNWSe+Din N7/cP7UKZgOX7Gsbg5qZHj/+2DQNKRE3KBDaRRVRi3OcUzt6n/sYpTPbjhb2wnjL7FVN6v BoWJVNfuyRmzHuzsa5XXwukMo49Sx7mI7FeBYGzMaABWBpW00LT/Zr9deCacNGcVqHwU1L HYeNZCnAytkrg1wp9F+oGRqkGzo3KrvUQwWRNhyY6/k2qssa074CPhP27IrXlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640609769; a=rsa-sha256; cv=none; b=gMQPnoMpuAbe5030BXaPKYAETIM0NXWfP0Eh3gMr1vRaAFhG94hfMv0RoyMFyj2g1jdwdu /Lm5HkQJJ2/NhghLGD/1qSkSOouhvnJGoFsTdXsSxbowsdyJWzBtZetwv4Uwpx+4o9N8r8 WrekHcJ091Zf7HPoLkj2hnG3L0bYfgcq2T+c3YqBPNIpu0WJk7b4kg2kIb/PhFPUBeyOn+ aaUhaP9zsT+j1xOipAqNz4iaZVid0+qefTNsMTY86pkz+n0k1levtwPzmojIUzl+jWgLcP biXTI9tRdu4qvdqz2gLJlf/WFwxXA6rFtn0iGugycig6Af1Zoo5gb+bUXaHnww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D1CCB30064 X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: WV1hIWJl2AmR Leo Famulari [2021-12-26T23:45:23+0100]: > On Sun, Dec 26, 2021 at 02:31:01PM +0100, Sergiu Ivanov wrote: >> Hi, >> >> I have just upgraded my Guix home on a Guix System, which took gnupg >> from 2.2.29 to 2.2.30. When I run gpg -v --decrypt on a file with >> symmetric encryption, I get the following error: >> >> scolobb@quark ~/tmp$ gpg -v --decrypt world.gpg >> gpg: AES.CFB encrypted data >> gpg: no running gpg-agent - starting '/gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30/bin/gpg-agent' >> gpg: waiting for the agent to come up ... (5s) >> gpg: connection to agent established >> gpg: pinentry launched (3287 gtk2 1.1.1 /dev/pts/0 eterm-color :0 20620/1000/996 1000/998 1) >> gpg: problem with the agent: End of file >> gpg: encrypted with 1 passphrase >> gpg: decryption failed: No secret key > > [...] > >> Does anyone experience similar issues? > > Yes, you're describing bug #52483, "GnuPG 2.2.30 cannot do symmetric > encryption": > > https://issues.guix.gnu.org/52483 Oh! Thanks for the reference, I'll subscribe to bug-guix so that I'm up to date with bug reports. > I just pushed commit d03aa942def0037cb32ff1d0cc2ac5d13f1a63df, which > allows you to upgrade your gnupg package to 2.2.32, which fixes this > bug. > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d03aa942def0037cb32ff1d0cc2ac5d13f1a63df I confirm that symmetric decryption works in guix shell gnupg after a guix pull. Thanks a lot for the quick answer! - Sergiu