Skip to content

SFT-7342: backup-shard: redact the shamir share in Debug output - #78

Merged
nicoburniske merged 1 commit into
mainfrom
redact-shamir-share-in-shard-debug
Aug 14, 2026
Merged

SFT-7342: backup-shard: redact the shamir share in Debug output#78
nicoburniske merged 1 commit into
mainfrom
redact-shamir-share-in-shard-debug

Conversation

@badicsalex

@badicsalex badicsalex commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

KeyOS logs whole shards at debug level while servicing a keycard, so the derived Debug put enough share material in the log to rebuild the master seed. Only the two leaf structs need the manual impl; Shard and ShardVersion compose from them.

KeyOS logs whole shards at debug level while servicing a keycard, so the
derived Debug put enough share material in the log to rebuild the master
seed. Only the two leaf structs need the manual impl; Shard and
ShardVersion compose from them.

Found by the KeyOS security audit (SFT-7342).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@badicsalex badicsalex changed the title backup-shard: redact the shamir share in Debug output SFT-7342: backup-shard: redact the shamir share in Debug output Aug 7, 2026
@badicsalex
badicsalex requested a review from nicoburniske August 7, 2026 14:00
@nicoburniske
nicoburniske merged commit aba3b33 into main Aug 14, 2026
1 check passed
@nicoburniske
nicoburniske deleted the redact-shamir-share-in-shard-debug branch August 14, 2026 18:14
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