File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 6767 - [ Containers and Virtual Machines] ( ./config/containers-and-vms/index.md )
6868 - [ libvirt] ( ./config/containers-and-vms/libvirt.md )
6969 - [ LXC] ( ./config/containers-and-vms/lxc.md )
70+ - [ GnuPG] ( ./config/gnupg.md )
7071- [ XBPS Package Manager] ( ./xbps/index.md )
7172 - [ Advanced Usage] ( ./xbps/advanced-usage.md )
7273 - [ Repositories] ( ./xbps/repositories/index.md )
Original file line number Diff line number Diff line change 1+ # GnuPG
2+
3+ Void ships both GnuPG legacy (as ` gnupg1 ` ) and GnuPG stable (as ` gnupg ` ).
4+
5+ ## Smartcards
6+
7+ For using smartcards such as Yubikeys with GnuPG, there are two backends for
8+ communicating with them through GnuPG: The internal CCID driver of GnuPG's
9+ scdaemon, or the PC/SC driver.
10+
11+ ## scdaemon with internal CCID driver
12+
13+ By default, scdaemon, which is required for using smartcards with GnuPG, uses
14+ its internal CCID driver. For this to work, your smartcard needs to be one of
15+ the smartcards in the udev rules
16+ [ here] ( https://github.com/void-linux/void-packages/blob/master/srcpkgs/gnupg/files/60-scdaemon.rules )
17+ and you need to either be using elogind or be a member of the plugdev group. If
18+ these two condition are fulfilled and you don't have pcscd running, `gpg
19+ --card-status` should successfully print your current card status.
20+
21+ ## scdaemon with pcscd backend
22+
23+ If you need to use pcscd for other reasons, run `echo disable-ccid >>
24+ ~ /.gnupg/scdaemon.conf` . Now, assuming your pcscd setup works correctly, ` gpg
25+ --card-status` should print your card status.
You can’t perform that action at this time.
0 commit comments