Skip to content

fix: redact private keys from Debug#15091

Merged
mattsse merged 1 commit into
masterfrom
steven/redact-key-debug
Jun 7, 2026
Merged

fix: redact private keys from Debug#15091
mattsse merged 1 commit into
masterfrom
steven/redact-key-debug

Conversation

@stevencartavia
Copy link
Copy Markdown
Collaborator

Tempo SessionKeyMaterial and KeyEntry derived Debug while holding raw hex private keys as String, so {:?}/dbg!/tracing/panic printed them (and their containers) in plaintext. Replaced the derive with manual redacting Debug impls and added regression tests.

Copy link
Copy Markdown
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

lgtm!

@mattsse mattsse merged commit 7fcce27 into master Jun 7, 2026
19 checks passed
@mattsse mattsse deleted the steven/redact-key-debug branch June 7, 2026 07:44
@github-project-automation github-project-automation Bot moved this to Done in Foundry Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants