Adding a receiver

Mark Kirchner mail at
Sun Mar 20 22:08:17 CET 2005

On Sunday, March 20, 2005, 3:20:16 PM, Dominik wrote:
> I've encrypted a large file and sent it over the internet.
> After that I realized that it is encrypted with the wrong public key.
> As far as I understand public key encryption it should be possible to
> reencrypt only the random session key for the symmetric cipher with the
> other public key of the receiver so that I don't have to retransmit the
> whole file.
> Is something like that possible with gpg?

Answered this question (accidentally) off-list. Short summary:
It is doable by using --show-session-key and --override-session-key.

Mark Kirchner

Key (0x19DC86D3):

More information about the Gnupg-users mailing list