crouse wrote:
http://crouse.us/scripts/bash/encryption/sced.sh
Code:
decryptz () {
gpg --quiet --no-verbose --expert --passphrase "$decryption_key" --decrypt encrypted.txt | zenity --text-info --title="Symmetric Cipher Decryption - Decrypted Message" --width=600 --height=500
}
Thank you for sharing your work, Crouse!
However, I think that using bash-scripted GUI for encryption software is not something to advocate. I am not a security expert, but I think that using such scripts is potentially dangerous.
For example,
--passphrase "$decryption_key" means that any other user on a multiuser machine can see the password with simple
ps o args.