Skip to content

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

Latest
Compare
Choose a tag to compare
@sebres sebres released this 29 Aug 21:45
· 5 commits to 7z-srv-mode since this release

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