aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-01-24 18:31:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-01-24 18:31:50 -0200
commit0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0 (patch)
tree602f562705099aa99b9ec2bc99311c668fa98583 /lib
parent837fd478778087527b808e8538a5b0f40a88f9e0 (diff)
downloadkeyringer-0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0.tar.gz
keyringer-0503cd47d8648fcd70edc57c0d7e25c9c4bc73b0.tar.bz2
Use --no-encrypt-to GnuPG option to strictly respect the recipients file
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/functions4
1 files changed, 2 insertions, 2 deletions
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