Nitrokey / nitrokey-app

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

Replace periodical status query with another command #423

Closed szszszsz closed 2 years ago

szszszsz commented 4 years ago

Periodical query of the device status, which includes the smart card's PIN attempt counters, may result in higher rate of the issues caused by smart card's parallel access, like: https://github.com/Nitrokey/nitrokey-pro-firmware/issues/54. To replace status command with other, which does not query the smart card.

The periodical query was only used to prevent the device from being put asleep, which would result in loss of connection. There is no need to learn the smart card's attempt counters each time.