Skip to content

Add logging-possiblity to send_msg()-functiongroup - #326

Merged
micolous merged 2 commits into
mozilla:ctap2-2021from
msirringhaus:logging_updates
Sep 30, 2026
Merged

micolous merged 2 commits into
mozilla:ctap2-2021from
msirringhaus:logging_updates

Conversation

@msirringhaus

Copy link
Copy Markdown
Contributor

First stab at logging-capability.
Requests and Responses are converted to String and then send via StatusUpdates.
I added the status-callback function to all send_msg()-functions, as an Option. Various minor calls like GetInfo and all PIN-related operations (like establishing shared secrets, etc.) are currently intentionally not logged.

@micolous micolous left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased this at HEAD, and also made RequestDirection also include the protocol version (CTAP 1 vs. CTAP2).

@micolous micolous added this to the 0.6.2 milestone Sep 30, 2026
@micolous
micolous merged commit 9a7712c into mozilla:ctap2-2021 Sep 30, 2026
9 checks passed
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.

2 participants