]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Use --recv-keys instead of --refresh-keys and minor text change
authorrhatto <rhatto@ratatosk.fluxo.info>
Sat, 22 Mar 2014 19:42:28 +0000 (16:42 -0300)
committerrhatto <rhatto@ratatosk.fluxo.info>
Sat, 22 Mar 2014 19:42:28 +0000 (16:42 -0300)
lib/keyringer/functions

index 7840b04b8cb780b21e867a873959838bbbee5431..e2d23ac99deaa26298b2eb806a52c3470036e056 100755 (executable)
@@ -572,7 +572,7 @@ function keyringer_refresh_keys {
   local recipient="$1"
 
   echo "Trying to refresh key $recipient..."
-  gpg --batch --refresh-keys "$recipient"
+  gpg --batch --recv-keys "$recipient"
 }
 
 # Check recipient size
@@ -671,7 +671,7 @@ function keyringer_check_recipient_key {
       fi
       echo ""
     else
-      echo "Fatal: no such key $recipient on your OpenPGP keyring."
+      echo "Fatal: no such key $recipient on your GnuPG keyring."
       echo "Please retrieve this key yourself or fix the recipient file."
 
       exit 1