Changing compression configuration

Werner Koch wk at gnupg.org
Sun Nov 29 12:49:06 CET 2020


On Sat, 28 Nov 2020 01:00, Karmanyaah Malhotra said:

> instead of just regular bzip2 when compressing files. I'm not sure if

bzip2 is part of the OpenPGP specs and it is very unlikely that we will
ever add another compression algo.  In fact adding bzip2 was already a
bad idea.

> compression could be multi-threaded since using one thread is the

Adding this to GnuPG would be too hard.  You better use an external
program for compressing the data

  cat foo | bzip2 | gpg -z0 -e >foo.bz2.gpg

  gpg -d <foo.bz2.gpg | bunzip2 >foo

this has more flexibility and the OS (and bzip2 er al) take care of
multi-threading.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20201129/6b99b5a8/attachment.sig>


More information about the Gnupg-users mailing list