Nitrokey / nitrokey-hotp-verification

A command line C app to validate HOTP codes on Heads
GNU General Public License v3.0
11 stars 10 forks source link

Delete hotp secret before setting it. #28

Closed sosthene-nitrokey closed 11 months ago

sosthene-nitrokey commented 11 months ago

The Nitrokey 3 version 1.6.0 firmware prevents overwriting credentials. Therefore the credential needs to be explicitely deleted prior to it being overwritten.

Not tested with NK Pro but it should not be an issue given the use of different communication protocols this patch should not affect the NK pro.