GNU bug report logs - #74029
[Documentation BUG] Caching symmetric encryption passphrase

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: BP25 <bp25@HIDDEN>; Keywords: confirmed; dated Sat, 26 Oct 2024 15:02:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 74029 <at> debbugs.gnu.org:


Received: (at 74029) by debbugs.gnu.org; 1 Mar 2025 01:29:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 20:29:58 2025
Received: from localhost ([127.0.0.1]:55472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toBfx-000612-UG
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:29:58 -0500
Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:51408)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toBfu-0005zy-Ky
 for 74029 <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:29:55 -0500
Received: by mail-ed1-x52d.google.com with SMTP id
 4fb4d7f45d1cf-5e4ebc78da5so2387408a12.2
 for <74029 <at> debbugs.gnu.org>; Fri, 28 Feb 2025 17:29:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740792588; x=1741397388; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=mfirgg8IcURc8qBo58lr9aE027d5BLQFO95skakKex4=;
 b=jZqqao13PcHntOOU1et7AeYMXXWjAi/ftOQURYIiqExu7QWu8MR5gV65Ny4GV3OrVu
 /XOuotsW7fX/IYJwb3M6ZrMIojBpODyk/u4/diDFmq3dTGSIYXZ/py108d6dJsIrpdvU
 A+VLgaDjd2Yv018Td+IFGrr1809W7b+qiQYI2UeJQAPtKCrCLQQTRF78TvFnRnwYnVJ4
 zsYy4FyQ62/P5YNDtsB8FrFXDtruTlxfRGm2deqFh4P54/SIV2d0+Ab7T8Bn0bMN2HVR
 XC0NflMEsaEagKd5gQ2vIlx9Bv3DCfuJWvYWWhyXRzgz+O1VdobNIfxGDcgGuuHL37IU
 7byA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740792588; x=1741397388;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=mfirgg8IcURc8qBo58lr9aE027d5BLQFO95skakKex4=;
 b=EV0sKfjYPFEPjw6GRp7ykJxVsMNkIlbhqG6h3Emj1XP47vFEBsWnd94fjtHKp/26aE
 8woDYoouF2PDDA+03A3UE++YDx0fgA6jSzg4ovZVnOemDBYHFlCpx/g7jbM/7y+MSAIK
 PKCbkWv+k+OEiyLJ2O8R/clvmR780nzEFjGcA28KV8N9v5e5SAfoke7OM31MHFf9fv24
 XcT0j9N9MwjMRBkFrznUWnNi//EWbd+2HxTOcYHU3uGKl0e225Uy45YSjSm7LiJ5oDqZ
 sk0lG5nIkP5qkyqvrvTNBssU4UiQLfVex166Hnv2ksjaUP++FITDBwd3TCK64q1cn79v
 9jkg==
X-Gm-Message-State: AOJu0Yy24b+ax/+xnkYaP5jQT3TtdSgOCDLA9C3iDvFkS2Fzn8hQKgjD
 GjpkZV+m+7gihoQ2uGVcxaJkCp1HZQIuudPz8Keve+358adIn27LVg8SVh0r6+2E2gvgnWIdL9D
 lXeeV8RBtWZeJn5JmhOKS7ez8CIE=
X-Gm-Gg: ASbGncspmQmsynKTAC5rgcvguJjHpqJZINtlqglrVygyIK/M+5elQe39A+1rz4yoo4x
 KJqikyKYbBZatKOryVgn9pecwvB7VQVdbhIPnnPQ5UpJvY5U5ovOPi4i5Bu24UNXwkneL7N6nEc
 NoBcqKu4PEgvpYj7k8lJ8S/mbn26Y=
X-Google-Smtp-Source: AGHT+IGmJALn4YqusfQ/A0GkLiLZ7c7ZXPOf1nxUIdWciTBu+XcDORzPUkUaQJgBtHdLHckrGDiPuhjvePhCn5aNcm0=
X-Received: by 2002:a05:6402:270d:b0:5e4:b66f:880b with SMTP id
 4fb4d7f45d1cf-5e4d6adbd26mr5026909a12.6.1740792588304; Fri, 28 Feb 2025
 17:29:48 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 17:29:47 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <874j4zivkm.fsf@RISEUP>
References: <874j4zivkm.fsf@RISEUP>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 17:29:47 -0800
X-Gm-Features: AQ5f1JrOi2oFHfwIpmImslpOAvQOLygUyNPvUmKEzf1KvBzWkTRMlZqz7QTgNSo
Message-ID: <CADwFkmnspsv_+PVH1ac-9yr7JLJbX3oMmrNwKKhe9wP+Tvv+jQ@HIDDEN>
Subject: Re: bug#74029: [Documentation BUG] Caching symmetric encryption
 passphrase
To: BP25 <bp25@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74029
Cc: 74029 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 74029 + confirmed
thanks

BP25 <bp25@HIDDEN> writes:

> I don't know how to set symmetric encryption passphrase caching when
> using Gnupg 2.x . I followed unsuccessfully the instructions [1] and I
> read [2] but it's very unclear what to do. I consider this a docs bug
> because the EasyPG manual says "To set up GnuPG Agent, follow the
> instruction in Invoking GPG-AGENT in Using the GNU Privacy Guard". This
> is vague and was probably written to avoid actually explaining the
> procedure! But it's dishonest because, at least I, could find no such
> instructions. So either we modify the manual to say something like "To
> set up GnuPG Agent, you're on your own but reading Invoking GPG-AGENT in
> Using the GNU Privacy Guard might be useful", or let's put the actual
> instructions on the EasyPG manual (which is obviously the ideal).

Makes sense to me.  Patches welcome.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#74029; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Oct 2024 15:01:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 26 11:01:03 2024
Received: from localhost ([127.0.0.1]:42277 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t4iHm-000241-Fp
	for submit <at> debbugs.gnu.org; Sat, 26 Oct 2024 11:01:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:57224)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bp25@HIDDEN>) id 1t4dvY-0005Qp-9F
 for submit <at> debbugs.gnu.org; Sat, 26 Oct 2024 06:21:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bp25@HIDDEN>) id 1t4dv0-0005pU-HO
 for bug-gnu-emacs@HIDDEN; Sat, 26 Oct 2024 06:21:14 -0400
Received: from mx1.riseup.net ([198.252.153.129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bp25@HIDDEN>) id 1t4duy-0005KN-PF
 for bug-gnu-emacs@HIDDEN; Sat, 26 Oct 2024 06:21:14 -0400
Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4XbFzp2P3ZzDqQl
 for <bug-gnu-emacs@HIDDEN>; Sat, 26 Oct 2024 10:21:10 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1729938070; bh=k2talTWpLaVXXdqRUVURSWPX+A/FdVF1r5MCNQR3ItY=;
 h=From:To:Subject:Date:From;
 b=eXd9ligHW2wEkpCB9xJsGqAU0+rHz32nBRc12XES1LlMEnc3dTy8Um8jXfN+5d7I4
 Dh18Pe5a5nVTJko551+yTpqHo7BK7AXKLqCiOrDjzhgOKd0Xgfyy3+IMSPBIhulS3Y
 XsbtLDqt7k6NVDu+2wmnpVY3T7albBuJ3zb7PzMI=
X-Riseup-User-ID: 4D49498A58179D98495BC794A3A39C367D43D247465F3BA0DC59725885DCC5BD
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4XbFzn4wmKzJn8P
 for <bug-gnu-emacs@HIDDEN>; Sat, 26 Oct 2024 10:21:09 +0000 (UTC)
From: BP25 <bp25@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [Documentation BUG] Caching symmetric encryption passphrase
Date: Sat, 26 Oct 2024 00:58:33 +0100
Message-ID: <874j4zivkm.fsf@RISEUP>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=198.252.153.129; envelope-from=bp25@HIDDEN;
 helo=mx1.riseup.net
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 26 Oct 2024 11:01:00 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

Hello,

I don't know how to set symmetric encryption passphrase caching when
using Gnupg 2.x . I followed unsuccessfully the instructions [1] and I
read [2] but it's very unclear what to do. I consider this a docs bug
because the EasyPG manual says "To set up GnuPG Agent, follow the
instruction in Invoking GPG-AGENT in Using the GNU Privacy Guard". This
is vague and was probably written to avoid actually explaining the
procedure! But it's dishonest because, at least I, could find no such
instructions. So either we modify the manual to say something like "To
set up GnuPG Agent, you're on your own but reading Invoking GPG-AGENT in
Using the GNU Privacy Guard might be useful", or let's put the actual
instructions on the EasyPG manual (which is obviously the ideal).

Please CC my email address because I'm not currently subscribed to this
list!

[1]
https://superuser.com/questions/1427517/how-can-i-cache-a-passphrase-for-use-in-a-script-that-uses-gpg2-symmetric-with/1485486#1485486
[2]
https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dpreset_002dpassphrase.html




Acknowledgement sent to BP25 <bp25@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#74029; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Mar 2025 01:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.