Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ hmac = "0.13"
http = "1"
jiff = "0.2"
log = "0.4"
mea = "0.6.4"
pem = "4.0"
percent-encoding = "2"
p256 = { version = "0.14.0", default-features = false, features = ["ecdsa"] }
Expand Down
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ hmac = { workspace = true }
http = { workspace = true }
jiff = { workspace = true }
log = { workspace = true }
mea = { workspace = true }
percent-encoding = { workspace = true }
sha1 = { workspace = true }
sha2 = { workspace = true }
Expand Down
7 changes: 5 additions & 2 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@
//! [`SigningCredential::is_valid`] controls whether a cached credential can be reused
//! without refresh. [`SigningCredential::is_valid_at`] checks exact usability at the
//! timestamp returned by [`SignRequest::required_valid_until`]. A refreshed credential
//! only needs to satisfy the exact operation requirement; provider errors are returned
//! without retrying internally or falling back to the old cached credential.
//! only needs to satisfy the exact operation requirement. Credential refresh is
//! serialized per shared cache, so concurrent cold or stale callers reuse a successful
//! refresh. Refresh failures are not cached, so the next waiting or later caller can
//! retry. Provider errors are returned without retrying internally or falling back to
//! the old cached credential.
//!
//! ## Example
//!
Expand Down
Loading
Loading