All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Improved inline docs and README.
- Renamed cargo
native
dependency bykeyring-native
.
- Fixed cargo features for
docs.rs
.
1.0.0 - 2024-10-26
- Added
vendored
cargo feature. The feature is forwarded tokeyring-rs
in order to pack OpenSSL lib with this crate.
- Bumped
[email protected]
. - Replaced
log
bytracing
. - Renamed cargo features:
tokio
has been splitted intotokio
andrustls
featurestokio-openssl
has been splitted intotokio
andopenssl
featuresasync-io
has been splitted intoasync-std
andrustls
featuresasync-io-openssl
has been splitted intoasync-std
andopenssl
features
- Fixed
async-std
support.
- Removed
keyutils
caching as it is now handled bykeyring-rs@v3
internally #222.
0.4.3 - 2024-06-03
- Fixed keyutils wrong target used.
0.4.2 - 2024-04-08
- Fixed keyutils used on Windows, preventing the lib to build on this platform.
0.4.1 - 2024-04-06
- Moved
Error
andResult
into a dedicatederror
module. They are still re-exported at the root level to match the previous API.
0.4.0 - 2024-03-14
- Added cache system based on
keyutils
(only on Linux machines). - Added cargo feature
derive
to enable/disable (de)serialization ofKeyringEntry
usingserde
.
- Renamed
Entry
toKeyringEntry
in order to be more explicit. - Renamed
KeyringEntry::new
toKeyringEntry::try_new
, as the native entry is now declared once and stored insideKeyringEntry
. - Moved
get_global_service_name
andset_global_service_name
to the moduleservice
.
0.3.2 - 2023-12-31
- Removed unused
secret-service
dependency.
0.3.1 - 2023-12-31
- Bumped
[email protected]
. - Changed
keyring
cargo features to default ones.
0.3.0 - 2023-12-11
- Made
Entry
serializable and deserializable usingserde
. Entry::{get,find,set,delete}_secret
are nowasync
.
0.2.0 - 2023-12-10
- Added
set_global_service_name
function to globally change the service name. - Added
secret-service
as a dependency, to prevent build issues.
- Replaced native
keyring
cargo feature bylinux-no-secret-service
bylinux-secret-service-rt-tokio-crypto-rust
.linux-no-secret-service
was usingkeyutils
under the hood, which stores secrets in memory and was loosing them after reboots. A better version in the future would be to usekeyutils
as a cache.
0.1.0 - 2023-08-27
- Renamed project
keyring-lib
in order to make it generic.
0.0.5 - 2023-07-09
- Pinned keyring version
[email protected]
.
- Disabled
keyring
crate builtin secret service on Linux (provided by the default featurelinux-secret-service
), replaced instead by the default Linux kernel keyutils (provided by the featurelinux-no-secret-service
).
0.0.4 - 2023-06-06
- Added
Entry::get_key
. - Added
Error::FindSecretError
. - Implemented
Into<String>
forEntry
.
- Renamed
Entry::get
byget_secret
. - Renamed
Entry::find
byfind_secret
. - Renamed
Entry::set
byset_secret
. - Renamed
Entry::delete
bydelete_secret
. - Changed error returned by
Entry::find_secret
fromError::GetSecretError
toFindSecretError
.
0.0.3 - 2023-06-06
- Added
Entry::find
. - Exposed
keyring::Error
asKeyringError
.
0.0.2 - 2023-06-06
- Added debug logs.
- Added comments.
- Added one basic example.
0.0.1 - 2023-05-18
- Imported keyring code from
pimalaya-email
.