cumulus-util: Add support for zstd compression and chained zstd/gpg master
authorMichael Vrable <vrable@cs.hmc.edu>
Fri, 18 Jul 2025 04:02:48 +0000 (21:02 -0700)
committerMichael Vrable <vrable@cs.hmc.edu>
Fri, 18 Jul 2025 04:02:48 +0000 (21:02 -0700)
python/cumulus/__init__.py

index a755515..ce2397f 100644 (file)
@@ -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),
 ]