Max size of files that can be encrypted

Werner Koch wk at
Fri Dec 9 15:39:10 CET 2022

On Fri,  9 Dec 2022 08:40, Christoph Klassen said:

> does anyone here know which is the maximal size of a file that can be
> encrypted by GnuPG?

Depends on the shell and operating system.  On any non-legacy system you
may read and write files larger than 4 GiB.  If you pipe the data in and
out there is no limit even if the shell does not support large files.
However you need some process to write the data but netcat is also an



The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list