From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Collin J. Doering" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70688: 29.3; epa-file-encrypt-to does not allow selecting subkeys by id using ! syntax supported by gpg itself Date: Tue, 30 Apr 2024 22:14:14 -0400 Message-ID: <87sez2l1mx.fsf@rekahsoft.ca> Reply-To: "Collin J. Doering" Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29561"; mail-complaints-to="usenet@ciao.gmane.io" To: 70688@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 01 04:15:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1zUu-0007T0-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 May 2024 04:15:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1zUZ-0007YT-OE; Tue, 30 Apr 2024 22:14:43 -0400 Original-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 ) id 1s1zUY-0007YA-AH for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 22:14:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1zUX-0004cm-VF for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 22:14:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1zUs-0006c8-Me for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 22:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Collin J. Doering" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 May 2024 02:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70688 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171452969925399 (code B ref -1); Wed, 01 May 2024 02:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 May 2024 02:14:59 +0000 Original-Received: from localhost ([127.0.0.1]:34650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1zUp-0006bZ-AB for submit@debbugs.gnu.org; Tue, 30 Apr 2024 22:14:59 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:57006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1zUl-0006bR-TR for submit@debbugs.gnu.org; Tue, 30 Apr 2024 22:14:58 -0400 Original-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 ) id 1s1zUL-0007Vz-07 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 22:14:29 -0400 Original-Received: from out-171.mta1.migadu.com ([2001:41d0:203:375::ab]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1zUI-0004bd-7T for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 22:14:28 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=key1; t=1714529662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=34vfj4js5jBL6Mp4GKlgzBwHxCsbVHlEksurJLX4DAo=; b=QUrYGhS8Zr7wmF8hxKrANWIdCtOz3siP7M6i9PosykQ6nNkWq++zc5YetpmpM7seTFgPc2 RQnTYmI/S8SNlx5EEX2Aq5NWe9xR7Hfv6KoD6ZvewgoNEDp659hsEnArLTcZkxrZpgQz5t lIZ0mEUtsMbjzqXqBa/4hgzGiEnOxCE= X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::ab; envelope-from=collin@rekahsoft.ca; helo=out-171.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284230 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I was attempting to encrypt a file using multiple gpg subkeys, using the ! syntax supported by gpg. To do this, I had a file local variable in= the 'file.gpg' I was editing that looked something like this: =2D-8<---------------cut here---------------start------------->8--- # -*- epa-file-encrypt-to: ("subkey0!" "subkey1!" "subkey2!") -*- =2D-8<---------------cut here---------------end--------------->8--- However, I found that this failed to select the subkeys, and would fall bac= k to symmetric encryption. If I specify the subkeys without the '!' suffix,= it ends up using the most recent subkey on the corresponding master. This all to say, looking at the source, it appears this is expected behavio= r. It would be nice if explicitly specifying subkeys to use was supported. Much thanks! =2D-=20 Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARMIADIWIQRDtw5R/qhdokLw/KlsfZrKhJK2jQUCZjGldhQcY29sbGluQHJl a2Foc29mdC5jYQAKCRBsfZrKhJK2jbMXAQD2KUFx+R+Zhm0kr2KtWmupD6bKD2KF E2mytHPz5ZWW7wEAlFdA7lwvfoThta9+1QLtbXY4DUbISPGHsuTCg5U2mJI= =vKFY -----END PGP SIGNATURE----- --=-=-=--