# Nitrokey HSM 2 no longer detected

**URL:** https://support.nitrokey.com/t/nitrokey-hsm-2-no-longer-detected/6933
**Category:** Nitrokeys
**Created:** [April 1, 2025, 3:29pm UTC](https://support.nitrokey.com/t/nitrokey-hsm-2-no-longer-detected/6933 "2025-04-01T15:29:54Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![daubsi](https://support.nitrokey.com/user_avatar/support.nitrokey.com/daubsi/32/433_2.png) [@daubsi](https://support.nitrokey.com/u/daubsi)
#### Post date: [April 1, 2025, 3:48pm UTC](https://support.nitrokey.com/t/nitrokey-hsm-2-no-longer-detected/6933/3 "2025-04-01T15:48:11Z")

</div>

Using these files and “systemctl restart polkit.service” made it work for me again:

daubsi@bigigloo  /usr/share/polkit-1/rules.d  cat 03-polkit-pcscd.rules  
polkit.addRule(function(action, subject) {  
if (action.id == “org.debian.pcsc-lite.access\_pcsc” &&  
subject.user == “daubsi”) {  
return polkit.Result.YES;  
}  
});

polkit.addRule(function(action, subject) {  
if (action.id == “org.debian.pcsc-lite.access\_card” &&  
action.lookup(“reader”).startsWith(‘Nitrokey’) &&  
subject.user == “daubsi”) {  
return polkit.Result.YES; }  
});

Though, what I observe, is, that the commands execute all much more slowly now …?

---

_[View the full topic](https://support.nitrokey.com/t/nitrokey-hsm-2-no-longer-detected/6933)._
