Skip to content

Releases: sebres/7-Zip-zstd

7-Zip ZS / SB 24.09.1 - v1.5.7 - with server mode

14 Mar 19:14
v24.09.1-v1.5.7-sebres1
Compare
Choose a tag to compare

7-Zip ZS / SB 24.09.1 - v1.5.7 (superseded 7-Zip ZS 24.09 - v1.5.7 - Release 1), @sebres edition

New features:

  • server or interactive mode, parameter --srv-mode, can be used as server application, for mass processing, bulk commands or automation purposes (e. g. CI/CD from script langs, etc);
  • new cmd-line argument -ekey... to direct setting of encryption key (and if needed also IV) in hex form, corresponding 32 or 32+16 bytes (to use it instead of -p...); the key and iv used as they provided (without salt, without 2**19-times iterated hashing to derive the key), no salt and no IV (if specified with key) will be stored inside the 7z container in that case, so always the same entire key must be used for decryption (2acebd0)
    • zstd/brotli: implemented direct AES256-CBC encryption/decryption (with parameter -ekey$key$iv) without 7z container;
    • zstd/brotli encrypted stream can be decrypted with standard AES256-CBC with PKCS#7 padding, e. g. using openssl:
     ke=6061616161616161616161616161616161616161616161616161616161616160; iv=2d69696969696969696969696969692d
     echo -n 'test' | 7z a -tzstd -si -so -ekey$ke$iv . | openssl enc -aes-256-cbc -nosalt -K "$ke" -iv "$iv" -d | zstd -dfc
    
  • allows partial extraction with new command-line parameter -eoffs=$offs:$len for direct access to block with offset/length (currently for types 7z, brotli and zstd only) (13e6114)
  • srv-mode: support different redirects of input and output (<, >, 1>, 2>, >>, 1>>, 2>>) supplied in a command, e. g. to extract single file from archive with -so parameter (7d0caaa, etc);
    support redirects from/to handle (<&n, >&n, 1>&n, 2>&n) (49869cc);
  • srv-mode: also support a stdin redirect with seek to the offset of the archive stream in the file (<$path?offs=$offs), for example:
    e -tzstd -bso2 -so -si -- >/path/to/exracted.txt </path/to/file-with-archive?offs=12345
    so it makes possible to bypass some header with meta-info etc before the archive content, or to extract data from file containing several archive streams;

Compression versions in this release:

  • Brotli Version 1.1.0
  • Fast LZMA2 1.0.1
  • Lizard Version 1.0
  • LZ4 Version 1.9.4
  • LZ5 Version 1.5
  • Zstandard Version 1.5.7

7-Zip ZS 22.01 - v1.5.6 - with server mode

29 Aug 21:45
Compare
Choose a tag to compare

7-Zip ZS 22.01 - v1.5.6 (superseded 7-Zip ZS 22.01 - v1.5.5 - Release 3), @sebres edition

New features:

  • server or interactive mode, parameter --srv-mode, can be used as server application, for mass processing, bulk commands or automation purposes (e. g. CI/CD from script langs, etc);
  • new cmd-line argument -ekey... to direct setting of encryption key (and if needed also IV) in hex form, corresponding 32 or 32+16 bytes (to use it instead of -p...); the key and iv used as they provided (without salt, without 2**19-times iterated hashing to derive the key), no salt and no IV (if specified with key) will be stored inside the 7z container in that case, so always the same entire key must be used for decryption (2acebd0)
    • zstd/brotli: implemented direct AES256-CBC encryption/decryption (with parameter -ekey$key$iv) without 7z container;
    • zstd/brotli encrypted stream can be decrypted with standard AES256-CBC with PKCS#7 padding, e. g. using openssl:
     ke=6061616161616161616161616161616161616161616161616161616161616160; iv=2d69696969696969696969696969692d
     echo -n 'test' | 7z a -tzstd -si -so -ekey$ke$iv . | openssl enc -aes-256-cbc -nosalt -K "$ke" -iv "$iv" -d | zstd -dfc
    
  • allows partial extraction with new command-line parameter -eoffs=$offs:$len for direct access to block with offset/length (currently for types 7z, brotli and zstd only) (13e6114)

Compression versions in this release:

  • Brotli Version 1.0.9
  • Fast LZMA2 1.0.1
  • Lizard Version 1.0
  • LZ4 Version 1.9.4
  • LZ5 Version 1.5
  • Zstandard Version 1.5.6