grab password from envp if not supplied on CLI
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 18 May 2017 11:44:07 +0000 (13:44 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:09 +0000 (13:34 +0200)
commitecb9676d0d0e29ae2888936a6a129f287c4ec123
tree985c366c899da8e82ca59539a91156af6f3ac851
parente54cfec5b47cefaf46196b144182206d00eaf810
grab password from envp if not supplied on CLI

In order to avoid the password showing up in full in the process
table, pass it in the environment instead. Uses the environment
variable PDTCRYPT_PASSWORD with both crypto.py and backup.py.
backup.py
deltatar/crypto.py