derive a missing client digest from the secret that exists
A client with a secret in the store or in a leftover file but no digest gets the digest of that secret instead of stopping the unit. The password reaches authelia's prompt through a pty, not argv. A lost mint race takes the winner's secret. Also name the mint, not the publisher, in the remaining rust docs.
This commit is contained in:
parent
d30cb7d122
commit
05665c05f3
1 changed files with 127 additions and 57 deletions
|
|
@ -27,7 +27,7 @@ pub fn forge_token_path() -> Result<String, Error> {
|
|||
}
|
||||
|
||||
/// The path holding the secret of the poller's OIDC client `client_id`, where
|
||||
/// `swarm-secret-publisher.nix` puts every swarm service's.
|
||||
/// authelia's mint puts every swarm service's.
|
||||
///
|
||||
/// # Errors
|
||||
/// [`Error::PathSegment`] when `client_id` is not a single path segment.
|
||||
|
|
|
|||
Loading…
Reference in a new issue