Nitrokey / opcard-rs

OpenPGP card implementation
49 stars 1 forks source link

Set pin length after a RESET RETRY COUNTER call #158

Closed sosthene-nitrokey closed 1 year ago

sosthene-nitrokey commented 1 year ago

We forgot to update the PIN length after RESET RETRY COUNTER calls, which lead to incorrect PIN length information which was not corrected unless the VERIFY was called before the next call to CHANGE REFERENCE DATA, which could lead to incorrect state.