summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-22 13:05:22 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-22 13:05:22 -0200
commitff19dbc8518d5e7f7a6535f7bf651a245de51d35 (patch)
treeb8ec6552c494e01333422033a2b3860ccb3f1710 /lib
parent4d5b7821417d853b6a86fc794cc684ecc846ad6a (diff)
downloadkeyringer-ff19dbc8518d5e7f7a6535f7bf651a245de51d35.tar.gz
keyringer-ff19dbc8518d5e7f7a6535f7bf651a245de51d35.tar.bz2
Custom keyid support
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 11d1b86..58f7ad1 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -204,6 +204,12 @@ function keyringer_set_env {
exit 1
fi
+ if [ ! -z "$KEYID" ]; then
+ GPG="gpg -u $KEYID"
+ else
+ GPG="gpg"
+ fi
+
# Check recipients file
keyringer_check_recipients $SUBCOMMAND