blob: 14b36842d4403a213ed8a5762e3d113e11cb9cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
. ./config
./unsplit-passphrase
mkdir -p "$GPGHOMEDIR"
chmod 700 "$GPGHOMEDIR"
gpg --decrypt --no-use-agent --passphrase-file "$passphrase" "$seckey_e" > "$seckey"
rm -f "$passphrase"
gpg --homedir "$GPGHOMEDIR" --import "$seckey"
rm -f "$seckey"
|