However the smartcard shell gui does not show the Nitrokey. sc-hsm-tool returns this information
sc-hsm-tool
Using reader with a card: Nitrokey Nitrokey HSM (DENK04002550000 ) 00 00
Version : 4.1
Config options :
User PIN reset with SO-PIN enabled
SO-PIN tries left : 15
User PIN tries left : 3
DKEK shares : 1
DKEK key check value : E834…
What can I do, to get the Nitrokey working within smartcard shell?
It should work as regular user but there are so many Linux distributions that might need additional configuration that a regular user has access to the token.
In a shell some users tend to switch to root and when a GUI application then runs as regular user there could be one difference that might cause the issue.
If the device is working using native commands like sc-hsm-tool, but is not visible in Java applications, then most of the time it is a problem with the Java installation looking for libpcsclite.so at the wrong places.
Try and locate libpcsclite.so.1 on your system and add