hwchen / keyring-rs

Cross-platform library and utility to manage passwords

Repository from Github https://github.comhwchen/keyring-rsRepository from Github https://github.comhwchen/keyring-rs

async Entry support

Sherlock-Holo opened this issue · comments

the Entry methods are sync, such as get_password

I notice the keyring dependency secret-service support async await

is there a plan to make Entry support async method?

The development team has no plans to make keyring entries async, primarily because some of the underlying platform mechanisms for secure storage are synchronous. If you are using keyring in an async app, and really need the main thread not to be blocked waiting for the lookup, our recommendation is that you invoke the keyring entries on a separate thread.