Watch
0
0
Fork
You've already forked hyperhive
0

name the mint, not the publisher, as the writer of the client secrets

Finishes the sweep of prose that said the publisher unit writes or carries the OIDC client secrets: rust docs, nix comments and option descriptions, test names and docs.
This commit is contained in:
atlas 2026-10-30 04:32:22 +01:00 • committed by mara
commit 2fc63d844b

View file

@ -119,8 +119,8 @@ pub struct AgentCredential {
mod tests {
use super::*;
/// Spelled out in full because `swarm-secret-publisher.nix` and
/// `swarm-bao.nix` write the same string by hand.
/// Spelled out in full because the path layout in `swarm-secret-publisher.nix`
/// and `swarm-bao.nix` is written out by hand there too.
#[test]
fn the_controller_client_lands_under_the_controller() {
assert_eq!(
@ -147,8 +147,9 @@ mod tests {
assert!(reads(&own), "{own} should be readable under {granted:?}");
}
/// Spelled out in full because `swarm-secret-publisher.nix` writes the
/// same string by hand.
/// Spelled out in full because the path layout in
/// `swarm-secret-publisher.nix`, where authelia's mint takes it from, is
/// written out by hand there too.
#[test]
fn a_hives_own_client_lands_under_its_own_principal_prefix() {
assert_eq!(