[Mageia-sysadm] [443] don't use gpg agent

root at mageia.org root at mageia.org
Sun Feb 6 15:44:06 CET 2011


Revision: 443
Author:   boklm
Date:     2011-02-06 15:44:06 +0100 (Sun, 06 Feb 2011)
Log Message:
-----------
don't use gpg agent

Modified Paths:
--------------
    gpg/import-priv-key

Modified: gpg/import-priv-key
===================================================================
--- gpg/import-priv-key	2011-02-06 14:41:22 UTC (rev 442)
+++ gpg/import-priv-key	2011-02-06 14:44:06 UTC (rev 443)
@@ -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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110206/b481915c/attachment.html>


More information about the Mageia-sysadm mailing list