Skip to content

feat: add structured logging to registration ceremony steps#246

Open
kayjoosten wants to merge 1 commit intofeature/issue-242-ceremony-step-factoryfrom
feature/issue-243-registration-ceremony-logging
Open

feat: add structured logging to registration ceremony steps#246
kayjoosten wants to merge 1 commit intofeature/issue-242-ceremony-step-factoryfrom
feature/issue-243-registration-ceremony-logging

Conversation

@kayjoosten
Copy link
Copy Markdown
Contributor

Injects LoggerInterface into SurfnetCeremonyStepManagerFactory and all custom ceremony steps. Adds a new LogRegistrationData first step that logs AAGUID, attestation format, clientDataJSON, and raw attestationObject at the start of each creation ceremony.

Each custom step logs its check and result under a shared registrationId (challenge base64url) so a full registration flow is traceable by one ID.

The webauthn-lib validator logger is intentionally left as NullLogger; wiring it would dump full attestation objects at info level on every request.

@kayjoosten kayjoosten force-pushed the feature/issue-243-registration-ceremony-logging branch from b09db72 to b482fb8 Compare May 6, 2026 11:05
Injects LoggerInterface into SurfnetCeremonyStepManagerFactory and all
custom ceremony steps. Adds a new LogRegistrationData first step that
logs AAGUID, attestation format, clientDataJSON, and raw attestationObject
at the start of each creation ceremony.

Each custom step logs its check and result under a shared registrationId
(challenge base64url) so a full registration flow is traceable by one ID.

The webauthn-lib validator logger is intentionally left as NullLogger;
wiring it would dump full attestation objects at info level on every request.
@kayjoosten kayjoosten force-pushed the feature/issue-243-registration-ceremony-logging branch from b482fb8 to 2ec2f71 Compare May 6, 2026 11:13
@kayjoosten kayjoosten requested a review from johanib May 6, 2026 11:28
@johanib johanib linked an issue May 7, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add detailed logging to the registration ceremony

1 participant