fix(server::peers::operator::auth): make ChallengeContext pub for smlang state machine

smlang generates a public state enum whose variants contain ChallengeContext,
requiring the type itself to be fully public. Also tightens the wildcard arm
in client auth to an exhaustive match.
This commit is contained in:
CleverWild
2026-06-12 19:42:37 +02:00
parent 9dbb18ae82
commit d1b96c8409
2 changed files with 10 additions and 12 deletions

View File

@@ -298,7 +298,7 @@ where
let signature = expect_message(transport, |req: Inbound| match req {
Inbound::AuthChallengeSolution { signature } => Some(signature),
_ => None,
Inbound::AuthChallengeRequest { .. } => None,
})
.await
.map_err(|e| {