Nitrokey / nitrokey-app

Nitrokey's Application (Win, Linux, Mac)
https://www.nitrokey.com/
288 stars 55 forks source link

Feature: factory reset smart card (PINs) #320

Open jans23 opened 6 years ago

jans23 commented 6 years ago

This should allow to factory-reset Nitrokey Start, Pro and Storage.

szszszsz commented 6 years ago

It could be done with libusb/libusbx if these would be the only commands sent to smartcard. Using libccid or OpenSC is an option as well.

alex-nitrokey commented 6 years ago

I am not sure if this is a own issue, it seems related to me: it would be awesome to let users change user and admin PIN of Gnuk/NK Start devices as well. This would make it easier for users. They may could avoid the command line at all :)

szszszsz commented 6 years ago

Indeed, once the CCID interface will be handled then another devices/functionality could be managed as well. Is it possible though to change the PIN without generating the keys?

alex-nitrokey commented 6 years ago

Is it possible though to change the PIN without generating the keys?

No it isn't, but one can create keys within Thunderbird's Enigmail and change PINs afterwards.... Oh wait. You can change the PINs there anyway. Well, then it is a smaller group of people who would benefit :thinking: