Nitrokey / opcard-rs

OpenPGP card implementation
49 stars 1 forks source link

Fix missing save after state initialization #170

Closed sosthene-nitrokey closed 1 year ago

sosthene-nitrokey commented 1 year ago

Previously, the initialization didn't save the state. This meant that if the first use did not cause a save of the state, the PINs would be initialized but not the state, which would make next loading attempts fail.

Thanks @hko-s for the finding.