Commit 0565cebf authored by Eric Renfro via pacman-dev's avatar Eric Renfro via pacman-dev Committed by Allan McRae
Browse files

Added gpg-agent.conf to disable the gnupg scdaemon

This fixes an issue where smartcards, such a Yubikey, would cause the
keyring to fail locally signing, thus also failing to verify signed

Signed-off-by: default avatarEric Renfro <>
Signed-off-by: Allan McRae's avatarAllan McRae <>
parent 3e619ccf
......@@ -210,6 +210,12 @@ initialize() {
add_gpg_conf_option "$conffile" 'lock-never'
add_gpg_conf_option "$conffile" 'keyserver-options' 'timeout=10'
# gpg-agent.conf
[[ -f $agent_conffile ]] || touch "$agent_conffile"
chmod 644 "$agent_conffile"
add_gpg_conf_option "$agent_conffile" 'disable-scdaemon'
# set up a private signing key (if none available)
if [[ $(secret_keys_available) -lt 1 ]]; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment