Pierre Neidhardt <ambre...@gmail.com> writes: > I'm trying to use my nitrokey on GuixSD. > > --8<---------------cut here---------------start------------->8--- >> gpg --card-status > gpg: selecting openpgp failed: No such device > gpg: OpenPGP card not available: No such device > --8<---------------cut here---------------end--------------->8--- > > It turns out that the nitrokey needs some udev rules to be driven by > gpg: > > > https://www.nitrokey.com/documentation/installation#p:nitrokey-start&os:linux > > Thus I tried to configure the following rule: > > --8<---------------cut here---------------start------------->8--- > (define %nitrokey-udev-rule > (udev-rule > "41-nitrokey.rules" > (string-append "ACTION==\"add\", SUBSYSTEM==\"usb\", " > "ATTR{idVendor}==\"20a0\", ATTR{idProduct}==\"4211\", " > "ENV{ID_SMARTCARD_READER}=\"1\", > ENV{ID_SMARTCARD_READER_DRIVER}=\"gnupg\", GROUP+=\"users\", > TAG+=\"uaccess\"")))
The 'uaccess' builtin is not currently supported by eudev and elogind. As a workaround you can try e.g. 'GROUP+="gpg", MODE=”0660″'. I suspect you may also need 'pcscd' which we currently don't have a service for.
signature.asc
Description: PGP signature