bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70688: 29.3; epa-file-encrypt-to does not allow selecting subkeys by


From: Collin J. Doering
Subject: bug#70688: 29.3; epa-file-encrypt-to does not allow selecting subkeys by id using <subkey>! syntax supported by gpg itself
Date: Tue, 30 Apr 2024 22:14:14 -0400

Hi,

I was attempting to encrypt a file using multiple gpg subkeys, using the 
<subkey>! 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:

--8<---------------cut here---------------start------------->8---
# -*- epa-file-encrypt-to: ("subkey0!" "subkey1!" "subkey2!") -*-
--8<---------------cut here---------------end--------------->8---

However, I found that this failed to select the subkeys, and would fall back 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 behavior. 
It would be nice if explicitly specifying subkeys to use was supported.

Much thanks!

-- 

Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]