Setting up The udev Rules#

To be able to access your devices without root privileges, nitropy requires the Nitrokey udev rules. If they are not shipped with your distribution, you can install the rules manually:

sudo mv 41-nitrokey.rules /etc/udev/rules.d/

The legacy rules are also shipped with libnitrokey.

You most likely want to change the owner and the permissions of this file:

sudo chown root:root /etc/udev/rules.d/41-nitrokey.rules
sudo chmod 644 /etc/udev/rules.d/41-nitrokey.rules

Depois de instalar as regras, é necessário voltar a carregá-las:

sudo udevadm control --reload-rules && sudo udevadm trigger

If you still cannot access your device, try again after rebooting your system. If you encouter issues, look at this github comment for some debugging hints.