Skip to content

Commit

Permalink
Remove symlink rule for the Nitrokey Storage
Browse files Browse the repository at this point in the history
See the discussion in #5.
  • Loading branch information
robin-nitrokey committed Dec 21, 2024
1 parent 5ffac5d commit 627c0b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions 41-nitrokey.rules
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,3 @@ ATTR{idVendor}=="20a0", ATTR{idProduct}=="4211", ENV{ID_SMARTCARD_READER}="1", E
ATTR{idVendor}=="20a0", ATTR{idProduct}=="4230", ENV{ID_SMARTCARD_READER}="1", ENV{ID_SMARTCARD_READER_DRIVER}="gnupg", TAG+="uaccess"

LABEL="gnupg_rules_end"


# Nitrokey Storage dev Entry
KERNEL=="sd?1", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4109", SYMLINK+="nitrospace"
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Unreleased

- Add rules for accessing HID devices with libusb.
- Remove symlink rule for the Nitrokey Storage. Users are advised to use
label- or UUID-based mounting or setup a a custom rule for their device
instead.

## [v1.0.0][] (2024-01-29)

Expand Down
6 changes: 0 additions & 6 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@ def generate(u2f_devices: list[Device], ccid_devices: list[Device]) -> str:

output = textwrap.dedent(header)
output += "\n\n".join(sections)
# TODO: can we remove this?
output += textwrap.dedent("""
# Nitrokey Storage dev Entry
KERNEL=="sd?1", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4109", SYMLINK+="nitrospace"
""")
return output


Expand Down

0 comments on commit 627c0b6

Please sign in to comment.