diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-01-24 18:31:50 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-01-24 18:31:50 -0200 |
commit | 0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0 (patch) | |
tree | 602f562705099aa99b9ec2bc99311c668fa98583 | |
parent | 837fd478778087527b808e8538a5b0f40a88f9e0 (diff) | |
download | keyringer-0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0.tar.gz keyringer-0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0.tar.bz2 |
Use --no-encrypt-to GnuPG option to strictly respect the recipients file
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | lib/keyringer/functions | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -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 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 |