From: Michael Vrable Date: Fri, 18 Jul 2025 04:02:48 +0000 (-0700) Subject: cumulus-util: Add support for zstd compression and chained zstd/gpg X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=013fd0e70e29ed22e436705e28ff0735c91eba08;p=cumulus.git cumulus-util: Add support for zstd compression and chained zstd/gpg --- diff --git a/python/cumulus/__init__.py b/python/cumulus/__init__.py index a755515..ce2397f 100644 --- a/python/cumulus/__init__.py +++ b/python/cumulus/__init__.py @@ -62,8 +62,10 @@ accessed_segments = set() # the list are tried first). SEGMENT_FILTERS = [ (".gpg", "cumulus-filter-gpg --decrypt"), + (".zst.gpg", "zstd -dc | cumulus-filter-gpg --decrypt"), (".gz", "gzip -dc"), (".bz2", "bzip2 -dc"), + (".zst", "zstd -dc"), ("", None), ]