#!/bin/bash set -e echo -n "Passwort:" read -s pw echo gpg -d --batch --passphrase "$pw" --pinentry-mode loopback ~/aasync/Cipher/PW.gpg >~/tmp/PW less ~/tmp/PW rm ~/tmp/PW