I would like to authenticate my local user with my Nitrokey Pro.
I’ve followed Applications | Nitrokey, but i don’t have poldi-ctrl on my Debian 9. How do i get my auth key without poldi-ctrl?
Is the format of the file /etc/poldi/localdb/keys/KEYID i need to create still the same as seen here
https://www.narf.ssji.net/~shtrom/wiki/tips/openpgpsmartcard#local_user_authentication ?
Thank you
Hi humboldtux,
luckily yes I will change the instructions on the website as well.
As Debian maintainers decided to not include poldi-ctrl anymore, you can use gpg-connect-agent instead.
sudo sh -c 'gpg-connect-agent "/datafile /etc/poldi/localdb/keys/D00600012401020000000000xxxxxxxx" "SCD READKEY --advanced OPENPGP.3" /bye'
This should do the job. Please remember to change the ‘xxxxxxx’ above with your card information. It is may needed to disconnect and connect the stick again at first.
Kind regards
Alex
Perfect Alex, thanks, it is working under Debian 9.