Skip to content

v4.0.0-alpha.1: first alpha of next major version

Pre-release
Pre-release
Compare
Choose a tag to compare
@brotskydotcom brotskydotcom released this 12 Mar 23:07
· 2 commits to master since this release
53eda7d

Keyring v4 is a return to its roots - lightweight, minimal, cross-platform - with the extensibility of v2 and v3 preserved for specialized use cases.

For built-in credential store implementations, we're back to using the macOS Keychain Services, the Windows Credential Manager, and the *nix Secret Service (e.g., the Gnome keyring or KDE Wallet). The default features now enable all three (one per platform), but if you suppress the default feature set you can pick and choose by specifying specific features (or none, if you are bringing your own credential store instead).

We are back to using only one implementation of the Secret Service, and it's fully synchronous (so no async runtime included).

The mock credential store remains for testing purposes, but it is never selected as the "default" credential store.

Support for using the linux keyutils as a credential store is being moved out to the linux-keyutils crate.

Support for using both the keyutils and the Secret Service together is also being moved out to a separate crate.

Users who have been with keyring from v2 or v3, and who didn't use keyutils, should be able to upgrade to this version simply by removing all their feature specifications; no code changes will be needed.