Skip to content

Commit a4a88d9

Browse files
avrabeclaude
andcommitted
feat(audit): add structured audit logging for signing operations (#5)
Implements comprehensive audit logging using tracing + tracing-subscriber: - Add audit module with JSON-formatted event logging - Log signing attempts, successes, and failures with correlation IDs - Log verification attempts and results - PII redaction for email addresses (us***@example.com) - Error message sanitization to prevent secret leakage - CLI flags: --audit (stderr) and --audit-file <FILE> Event types: - signing.attempt / signing.success / signing.failure - verification.attempt / verification.success / verification.failure - key.generated Closes #5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent de3c2c3 commit a4a88d9

File tree

6 files changed

+641
-228
lines changed

6 files changed

+641
-228
lines changed

Cargo.lock

Lines changed: 137 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)