Closed emaxx-google closed 1 month ago
One of the tests failed - seems like a real problem with composite devices. Looking into it.
Continuous Integration: All tests passed. C/C++ test coverage: 73.58% lines.
One of the tests failed - seems like a real problem with composite devices. Looking into it.
Fixed now.
Continuous Integration: All tests passed. C/C++ test coverage: 73.58% lines.
Change the init retry mechanism to be triggered on any reader initialization error, as opposed to only doing it on openDevice/claimInterface errors. Additionally, attempt resetting the USB device after a few unsuccessful retries.
This should fix occasional flaky errors we see in the field, when there's a temporary conflict between the in-session and the login-screen instances of Smart Card Connector, which may cause failures at various USB functions and accidentally receiving a reply for a request sent by a different extension ("Invalid frame detected").