Extraction of decryption session key without copying complete encrypted file

Werner Koch wk at gnupg.org
Fri Aug 4 13:59:57 CEST 2017

On Wed,  2 Aug 2017 15:52, Roman.Fiedler at ait.ac.at said:

> How to decrypt large files, e.g. gpg-encrypted backups, without copying them to the machine with the GPG private key?

With GnuPG 2.1 this is easy:  You use ssh's socket forwarding feature to
forward gpg-agent's restricted remote socket, for example


to the host and there you run gpg which will then connect back to the
agent on your desktop.  For details see




Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170804/afa236aa/attachment.sig>

More information about the Gnupg-users mailing list