<<< Date Index >>>     <<< Thread Index >>>

Re: gpg: encrypt with more than one key



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, June 19 at 02:35 PM, quoth tannhauser:
> the concrete problem: i'm on a (very small) mailinglist. we all have 
> the gpg keys of the others. i can not encrypt with more than one 
> key. so, how do i send emails to the mailinglist address and encrypt 
> it with the various recipients' keys? 

Hmmm. That's a tough one. At the moment, I don't think you can from 
within mutt (aside from, obviously, manually altering your gpg call 
configuration).

> i was very surprised that i was not able to choose more than one gpg key 
> in the dialog window with 't' as i'm used to do with addresses in my 
> addressbook. 

Which dialog window? The only one I can think of would be mutt's "this 
recipient doesn't have a key, why don't you pick one?" dialog, and 
that of course only lets you pick a single key because it's only 
asking you about a single recipient. If you have multiple recipients 
without keys, it will show you that dialog multiple times.

> at the moment, i face this problem only with this mailing list. i'm not 
> sure if it's impossible in general to encrypt emails with more than one 
> key (for example: one email, two recipients in to:, both recipients' 
> keys in the keyring), i have to test that.

It is absolutely possible in general to encrypt emails with more than 
one key, specifically in the way you state: have multiple recipients.  
So, if instead of sending to the list address you simply had all the 
subscribers in your To: field (or even Bcc: field), then mutt would 
encrypt the message to all of them. But you're right, mutt doesn't 
have a convenient way to add arbitrary keys to a single-message 
sending. Heck, there's not a place on the compose screen to even list 
all the keys that are being used. This is definitely a feature 
request.

As an irritating workaround, you can create a "mailing list" gpg key 
that everyone on the list has the secret key for.

~Kyle
- -- 
Coffee is the common man's gold, and like gold, it brings to every 
person the feeling of luxury and nobility.
                                                  -- Sheik Abd-al-Kadir
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFGd9fYBkIOoMqOI14RAnBmAKCsl7qM49cCU77Kxz+SfaEyQ6wgIQCaA1Dk
hG6DBxHhj1s25Jz+dZ8/Hhg=
=J7gC
-----END PGP SIGNATURE-----