Am 18.06.2012 16:46, schrieb Pierre Schmitz:
> lsign_keys() {
> check_keyids_exist
> + # we cannot use --yes here as gpg would still ask for confirmation
> if a key has more than one uid
> printf 'y\ny\n' | LANG=C "${GPG_PACMAN[@]}" --command-fd 0 --quiet
> --batch --lsign-key "$@" 2>/dev/null
> if (( PIPESTATUS[1] )); then
> error "$(gettext "A specified key could not be locally
> signed.")"
Just a note: This function looks like it would accept more than one
keyid, but it seems gpg wont handle that.
--
Pierre Schmitz, https://pierre-schmitz.com