blob: a6fb8d5457852ddef5d53da23e0b19c791cf9ea0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# decrypt
FILE="$1"
BASENAME="`basename $0`"
if [ -z "$FILE" ]; then
echo "Usage: `basename $0` <file>"
exit 1
elif [ ! -f "keys/$FILE" ]; then
echo "File not found"
exit 1
fi
gpg -d keys/$FILE
|