diff options
author | Phill Kelley <34226495+Paraphraser@users.noreply.github.com> | 2024-02-10 14:11:33 +1100 |
---|---|---|
committer | Phill Kelley <34226495+Paraphraser@users.noreply.github.com> | 2024-02-10 14:11:33 +1100 |
commit | f8fcb0c2d1290ac2bc81c6b3238afe61a5fdac66 (patch) | |
tree | 3bc12ffb0292e52df417707d7d9c473e2d66b5fb /contrib | |
parent | Merge pull request #401 from wildwestrom/master (diff) | |
download | YubiKey-Guide-f8fcb0c2d1290ac2bc81c6b3238afe61a5fdac66.tar.gz |
add step to set `disable-ccid` in `scdaemon.conf`
Issue #404 reports "GPG acts like my YubiKey isn't plugged in".
With GnuPG 2.3 and later, the system can get into a loop where it
prompts for insertion of a YubiKey even though that YubiKey is already
connected.
The solution for this is to set `disable-ccid` in
`~/.gnupg/scdaemon.conf`.
Testing suggests setting `disable-ccid` does not interfere with earlier
versions of GnuPG (eg 2.2.27 on Debian Bullseye or 2.2.40 on Debian
Bookworm).
This problem has also been mentioned in #277 and #256. Including a step
in the Guide to set `disable-ccid` may help minimise recurrence.
Also takes the opportunity to ensure `~/.gnupg` directory exists on a
new system before downloading `gpg.conf`.
References:
* Ludovic Rousseau
- [GnuPG and PC/SC conflicts](https://ludovicrousseau.blogspot.com/2019/06/gnupg-and-pcsc-conflicts.html)
* GnuPG.org:
- [Scdaemon Options](https://www.gnupg.org/documentation/manuals/gnupg/Scdaemon-Options.html#index-disable_002dccid)
* YubiCo:
- [Resolving GPG's CCID conflicts](https://support.yubico.com/hc/en-us/articles/4819584884124-Resolving-GPG-s-CCID-conflicts)
- [Troubleshooting Issues with GPG](https://support.yubico.com/hc/en-us/articles/360013714479-Troubleshooting-Issues-with-GPG)
* Closed issues:
- [277 pcscd: Error Reader Exclusive](https://github.com/drduh/YubiKey-Guide/issues/277)
- [256 Update scdaemon.conf for gnupg 2.3 with MacOS (and possibly others)](https://github.com/drduh/YubiKey-Guide/issues/256)
Fixes #404
Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions