command line interface
clach04 opened this issue · 2 comments
clach04 commented
encrypt
chi_tool -e -p password inputfile -o outputfile
chi_tool -e -p password - -o outputfile # read from stdin
chi_tool -e -p password -o outputfile # also read from stdin
decrypt
chi_tool -d -p password inputfile -o outputfile
chi_tool -p password inputfile -o outputfile
chi_tool inputfile -o outputfile # prompt for password
chi_tool -p password inputfile -o - # stdout
chi_tool -p password inputfile # also stdout
chi_tool -P password_file inputfile -o outputfile
If OS environment variable CHI_PASSWORD
set use that as password instead of prompting.
If password keychain available use that instead of prompt. - #6
clach04 commented
Initial version submitted. Only tested with Python 2 so far