From e2547c5c4b9b4f4bfce8ab2b032aa08232229bb8 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 16 Nov 2026 20:57:08 +0100 Subject: [PATCH] docs: Add udev rules to packaging docs --- docs/packaging.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/packaging.md b/docs/packaging.md index 50b3b6bb..7d690ac6 100644 --- a/docs/packaging.md +++ b/docs/packaging.md @@ -24,3 +24,14 @@ Unfortunately, man pages for `nitropy` are currently not available and cannot be To limit the need to install pyscard, it is made optional. If you make it an optional dependency of your package, please patch `pynitrokey/cli/nk3/pcsc_absent.py` to indicate users how they can install it. + +## udev rules + +Users need the appropriate permissions to be able to communicate with Nitrokey devices. +The easiest way to configure these permissions is through the udev rules provided in the [`nitrokey-udev-rules` repository](https://github.com/Nitrokey/nitrokey-udev-rules). +We recommend to provide these rules in a separate package and make the `pynitrokey` package depend on it. + +> [!NOTE] +> `libnitrokey` also includes udev rules. +> These rules are no longer updated and don’t include the latest changes provided by `nitrokey-udev-rules`. +> We recommend to use `nitrokey-udev-rules` instead.