[openpgp] Deprecating compression support

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Mar 23 23:13:30 CET 2019

On Sat 2019-03-23 18:07:23 +0100, ilf wrote:
> So can we change GnuPG to default-preference Uncompressed?

[ switching this implementation-specific message to
  gnupg-devel at gnupg.org, please respect Mail-Followup-To: ]

The current implementation of GnuPG creates OpenPGP certificates with
this preference listing:

     Compression: ZLIB, BZIP2, ZIP, Uncompressed

Are you suggesting that we change it to:

     Compression: Uncompressed, ZLIB, BZIP2, ZIP

or to:

     Compression: Uncompressed


Setting aside the question of defaults, for your own OpenPGP certificate
right now you can do this with any modern version of GnuPG, if you're
willing to poke at the command line with some arcana:

For the less severe change:

    gpg --edit-key $FINGERPRINT showpref 'setpref S9 S8 S7 S2 H10 H9 H8 H11 H2 Z0 Z2 Z3 Z1'  save

For the more severe change:

    gpg --edit-key $FINGERPRINT showpref 'setpref S9 S8 S7 S2 H10 H9 H8 H11 H2 Z0' save

then of course you'll need to re-publish the cert via whatever your
standard publication mechanism is (keyservers, WKD, keybase, etc).

-------------- 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-devel/attachments/20190323/4fa9602e/attachment.sig>

More information about the Gnupg-devel mailing list