From: Silvio Rhatto Date: Thu, 24 Jan 2019 20:31:50 +0000 (-0200) Subject: Use --no-encrypt-to GnuPG option to strictly respect the recipients file X-Git-Tag: 0.5.4~1 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0;p=keyringer.git Use --no-encrypt-to GnuPG option to strictly respect the recipients file --- diff --git a/ChangeLog b/ChangeLog index e63baa8..3f6ccfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ -2018-10-17 - unreleased - Silvio Rhatto +2019-01-29 - unreleased - Silvio Rhatto + + Use --no-encrypt-to GnuPG option to strictly respect the recipients file Fixes BASEDIR evaluation at init action diff --git a/lib/keyringer/functions b/lib/keyringer/functions index d529daf..308d0ea 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -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