Skip to content

open-source-cooperative/windows-native-keyring-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Native Keyring Store

build crates.io docs.rs

This library provides a credential store for use with the keyring ecosystem that uses the Windows native credential store.

Usage

To use this keychain-compatible credential store provider, you must take a dependency on the keyring-core crate and on this crate. Then you can instantiate a credential store and set it as your default credential store as shown in the sample program in this crate.

Features

This crate has one feature, search, that is enabled by default. This feature requires the regex crate, which has a large footprint (typically over 1MB). If you care about library size and don't need to do credential searches, you can disable default features to shed the regex dependency.

Warning

Tests show that operating on the same entry from different threads does not reliably sequence the operations in the same order they are initiated. (For example, setting a password on one thread and then immediately spawning another to get the password returns a NoEntry error on the spawned thread.) So be careful not to access the same entry on multiple threads simultaneously.

License

Licensed under either of the following at your discretion:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

About

A keyring-compatible credential store based on the Windows Credential Manager

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages