}
# function to interact with the gpg sphere keyring
-# FIXME: this function requires only a single argument because of
-# problems with quote expansion. this needs to be fixed/improved.
gpg_sphere() {
GNUPGHOME="$GNUPGHOME_SPHERE"
export GNUPGHOME
gpg_core_sphere_sig_transfer() {
log debug "exporting core local sigs to sphere..."
gpg_core --export-options export-local-sigs --export | \
- gpg_sphere "--import-options import-local-sigs --import" 2>&1 | log debug
+ gpg_sphere --import-options import-local-sigs --import 2>&1 | log debug
}
########################################################################
'refresh-keys'|'refresh'|'r')
source "${MASHAREDIR}/setup"
setup
- gpg_sphere "--keyserver $KEYSERVER --refresh-keys"
+ gpg_sphere --keyserver "$KEYSERVER" --refresh-keys
;;
'keys-for-user')