Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#58176 - pacman-key fails local-signing keys with yubikey connected
Attached to Project:
Pacman
Opened by Henry Kupty (ingvij) - Monday, 09 April 2018, 06:56 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 09 April 2018, 06:58 GMT
Opened by Henry Kupty (ingvij) - Monday, 09 April 2018, 06:56 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 09 April 2018, 06:58 GMT
|
DetailsSummary and Info:
I started using a yubikey as a 2fa for sudo and other desktop usages and suddenly `pacman-key --populate` stopped being able to locally sign keys. I've recreated the environment several times (`rm -rf /etc/pacman.d/gnupg/; pacman-key --init; pacman-key --populate'`) but it always failed. I just realized today that the yubikey was always present when this happened so I tried recreating the environment without it connected and it worked perfectly. Note that I have a gpg key in my yubikey. Also, I'm not sure how it stopped working - possibly during an `archlinux-keyring` update. Steps to Reproduce: - `rm -rf /etc/pacman.d/gnupg/` - attach yubikey - `pacman-key --init` - `pacman-key --populate` |
This task depends upon
As a local workaround, manually set disable-scdaemon in the gpg-agent.conf in your pacman-key's GNUPGHOME; eventually pacman-key --init will do this for you.