Hello,
Here the thread destined to bash #!/bin/bash #!/bin/sh and so on ...
Let's think about a list of all alternatives to encrypt data (for bash /pipeline)?
example with gpg:
first, configure:
Code:
gpg --decrypt --armour --passphrase-fd 0 ~/gpgfileencrypted.gpg < ~/passphrasefile
and in the code, it looks like, eg:
Code:
login="`gpg --decrypt --armour --passphrase-fd 0 ~/login.gpg < ~/passphrasefile | head -n 1 | tail -n 1 ` "