zstd compression

Andreas Stieger astieger at suse.com
Sat Apr 7 17:53:19 CEST 2018


Hello John,

On 04/07/2018 12:14 PM, John Skopis wrote:
> I guess the openpgp spec should be updated to include zstd as a
> compression method.

Current definition is in RFC 4880:
https://tools.ietf.org/html/rfc4880#section-9.3

So a reasonable in-development implementation will obviously use the
100..110 range for a "Private/Experimental algorithm" while this is
being added to the spec instead of just picking a number.

https://github.com/johnskopis/gnupg/commit/09fbe8880da1331121e43a49525eee08122f8825#diff-0e0f8c8faddc9631c4c0f020836f7587R195

+    COMPRESS_ALGO_ZSTD      =  4,

No wait I think you just did.

Andreas

-- 
Andreas Stieger <astieger at suse.com>
Project Manager Security
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)



More information about the Gnupg-devel mailing list