ckolivas / lrzip

Long Range Zip

Home Page:http://lrzip.kolivas.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion to support encrypted Stdin/Stdout when password provided on command line

brentl99 opened this issue · comments

A couple of simple changes to main.c/lrzip.c will allow for compress/decompress via stdin/stdout when the password is provided on the command line. I have implemented this as:
main.c, line 715: if (unlikely((STDIN || STDOUT) && ENCRYPT && !control->passphrase))
lrzip, line 861: if (ENCRYPT && !control->passphrase)