hwchen / keyring-rs

Cross-platform library and utility to manage passwords
Apache License 2.0
450 stars 49 forks source link

Track down and avoid the windows test failures #164

Closed brotskydotcom closed 5 months ago

brotskydotcom commented 5 months ago

I have altered the Windows tests so that they don't set a credential on one thread and then immediately access that credential from another thread. With that change, the Windows tests seem to work reliably.

I have updated the docs to warn clients that this pattern of access is known to fail on Windows, and added a feature that can be used to run those tests on Windows in case Microsoft fixes these issues in future.

This "fixes #163" in a manner of speaking.