]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Use --no-encrypt-to GnuPG option to strictly respect the recipients file
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2019 20:31:50 +0000 (18:31 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2019 20:31:50 +0000 (18:31 -0200)
ChangeLog
lib/keyringer/functions

index e63baa8143a2ed0e65cd33493e3c71d1707dca3b..3f6ccfc9688c9f35b368c8a032fef87980e5913d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-2018-10-17 - unreleased - Silvio Rhatto <rhatto@riseup.net>
+2019-01-29 - unreleased - Silvio Rhatto <rhatto@riseup.net>
+
+       Use --no-encrypt-to GnuPG option to strictly respect the recipients file
 
        Fixes BASEDIR evaluation at init action
 
index d529daf6e245cb06aeb87accf856563360ce811e..308d0ea010608981b092dcc007e7a0d26ad1229f 100755 (executable)
@@ -314,9 +314,9 @@ function keyringer_set_env {
   fi
 
   if [ ! -z "$KEYID" ]; then
-    GPG="gpg --quiet -u $KEYID"
+    GPG="gpg --quiet --no-encrypt-to -u $KEYID"
   else
-    GPG="gpg --quiet"
+    GPG="gpg --quiet --no-encrypt-to"
   fi
 
   # Check keyring config version