[Gllug] mutt & saved outgoing encrypted email

Andy Smith andy at lug.org.uk
Thu May 18 17:16:48 UTC 2006


On Thu, May 18, 2006 at 06:07:56PM +0100, Alain Williams wrote:
> On Thu, May 18, 2006 at 04:46:21PM +0000, Andy Smith wrote:
> > On Thu, May 18, 2006 at 05:40:10PM +0100, Alain Williams wrote:
> > > The trouble is that the stored email is encrypted using the *receipient's* public key,
> > > since I don't know their private key I cannot decrypt it and so cannot later read
> > > what I sent them.
> > 
> > Set "encrypt-to YOURKEYID" in ~/.gnupg/gpg.conf.
> 
> Hmmm: the trouble with that is that it used YOURKEYID to encrypt BOTH the
> saved message and the outgoing one .... this means that the recipient will
> not be able to read the message, but I can read my saved copy.

No, it means that everything you encrypt will ALSO be encrypted to
YOURKEYID.  This works for me, for exactly what you are trying to
do.

man gpg:

       --encrypt-to name
                 Same as --recipient but this one is intended for
                 use in the options file  and  may  be used  with
                 your  own  user-id as an "encrypt-to-self".  These
                 keys are only used when there are other recipients
                 given either by use of --recipient or by the asked
                 user id.  No  trust checking is performed for these
                 user ids and even disabled keys can be used.

-- 
http://strugglers.net/wiki/Xen_hosting -- A Xen VPS hosting hobby
Encrypted mail welcome - keyid 0x604DE5DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060518/bc6fd0ee/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list