Page MenuHome GnuPG

encrypt-to-self option
Closed, ResolvedPublic

Description

I'd like to share my gpg.conf between multiple machines. It seems entirely
machine-independent, except that it has the key-specific default-key and
encrypt-to options. Issue 806 has a suggestion for how to solve default-key.
To solve encrypt-to, how about an encrypt-to-self option, which would tell gnupg
to encrypt to its default key?

Details

Due Date
Aug 31 2013, 2:00 AM

Event Timeline

werner set Due Date to Nov 30 2008, 1:00 AM.Sep 30 2008, 8:10 PM

This has been discussed in the past but I might reconsider. Won't happen for
2.0.10, though.

werner changed Due Date from Nov 30 2008, 1:00 AM to Jan 15 2008, 1:00 AM.Dec 10 2008, 3:37 PM
werner changed Due Date from Jan 15 2008, 1:00 AM to May 15 2009, 2:00 AM.Mar 2 2009, 10:44 AM

Is this going to be implemented in the gnupg 2.x series?

werner changed Due Date from May 15 2009, 2:00 AM to Aug 31 2013, 2:00 AM.Apr 19 2013, 6:02 PM

The attached patch builds on the patch in #806. It provides a
--encrypt-to-default-key. One could imagine adding an
--hidden-encrypt-to-default-key as well. Werner: is this acceptable?

Frankly, I do not like the hidden key feature in particular if used to
encrypt-to-self. The problem is that if someone encrypts to a group and forgets
to add your key, gpg will do a trial decrypt which is pretty annoying. Maybe we
can add a second kind of wildcard keyid to rfc4880bis which states that this has
been encrypted to the key of the sender