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:
wget https://raw.githubusercontent.com/Nitrokey/nitrokey-udev-rules/main/41-nitrokey.rules
sudo mv 41-nitrokey.rules /etc/udev/rules.d/
The legacy rules are also shipped with libnitrokey.
O mais provável é querer alterar o proprietário e as permissões deste ficheiro:
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 encounter issues, look at this github comment for some debugging hints.