udev ルールの設定

root権限なしでデバイスにアクセスできるようにするには、nitropyはNitrokey udevルールを必要とします。お使いのディストリビューションに同梱されていない場合は、手動でインストールすることができます:

wget https://raw.githubusercontent.com/Nitrokey/nitrokey-udev-rules/main/41-nitrokey.rules
sudo mv 41-nitrokey.rules /etc/udev/rules.d/

レガシー・ルールも`libnitrokey<https://github.com/Nitrokey/libnitrokey>`__ に同梱されています。

このファイルのオーナーとパーミッションを変更したい場合がほとんどでしょう:

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

ルールをインストールした後は、次のように再読み込みする必要があります。

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.