autodetect encryption method/fixes
capture openssl/gpg errors in logs
cleaning