aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-06 14:44:06 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-06 14:44:06 +0000
commit646a3c51fcc23ebf060026ddeb781f8e8f967cd8 (patch)
treebacb8186cfc33cedc3388c606bb189f5a3cf5f9f
parentb9e52e08111e56e94526513bb8ab97c167edd350 (diff)
downloadgpg-646a3c51fcc23ebf060026ddeb781f8e8f967cd8.tar
gpg-646a3c51fcc23ebf060026ddeb781f8e8f967cd8.tar.gz
gpg-646a3c51fcc23ebf060026ddeb781f8e8f967cd8.tar.bz2
gpg-646a3c51fcc23ebf060026ddeb781f8e8f967cd8.tar.xz
gpg-646a3c51fcc23ebf060026ddeb781f8e8f967cd8.zip
don't use gpg agent
-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"