11 lines
182 B
Bash
Executable file
11 lines
182 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PASS_FILE="/dev/shm/$USER-mutt-pass"
|
|
ENC_PASS_FILE=~/.mutt/passwords.gpg
|
|
|
|
if [ ! -s $PASS_FILE ]; then
|
|
umask 077
|
|
gpg -d $ENC_PASS_FILE > $PASS_FILE
|
|
fi
|
|
|
|
cat $PASS_FILE
|