-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(scan): Stop logging viewing keys in the config #8064
Conversation
The startup log now looks like:
The fixed part is:
|
Failed in the merge queue due to #7898 |
@Mergifyio refresh |
✅ Pull request refreshed |
Motivation
The default Debug impl will log viewing keys when Zebra starts up, but we don't want private keys in the log.
PR Author Checklist
Check before marking the PR as ready for review:
If a checkbox isn't relevant to the PR, mark it as done.
Solution
Just log the number of keys instead.
Testing
I tested this manually by running
zebrad
with theshielded-scan
feature and the zecpages key in the config.Review
This is a lower priority security fix, but it should still be done before the release.
Reviewer Checklist
Check before approving the PR:
PR blockers can be dealt with in new tickets or PRs.
And check the PR Author checklist is complete.