aboutsummaryrefslogtreecommitdiffstats
path: root/import-priv-key
diff options
context:
space:
mode:
Diffstat (limited to 'import-priv-key')
-rwxr-xr-ximport-priv-key2
1 files changed, 1 insertions, 1 deletions
diff --git a/import-priv-key b/import-priv-key
index f2595bf..14b3684 100755
--- a/import-priv-key
+++ b/import-priv-key
@@ -7,7 +7,7 @@
mkdir -p "$GPGHOMEDIR"
chmod 700 "$GPGHOMEDIR"
-gpg --decrypt --passphrase-file "$passphrase" "$seckey_e" > "$seckey"
+gpg --decrypt --no-use-agent --passphrase-file "$passphrase" "$seckey_e" > "$seckey"
rm -f "$passphrase"
gpg --homedir "$GPGHOMEDIR" --import "$seckey"
rm -f "$seckey"