-
Notifications
You must be signed in to change notification settings - Fork 796
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
[Merged by Bors] - Add SensitiveUrl
to redact user secrets from endpoints
#2326
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, really well implemented.
Just a few minor nitpicks to address and then I think we're ready to merge 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge with or after #2331
bors r+ |
## Issue Addressed #2276 ## Proposed Changes Add the `SensitiveUrl` struct which wraps `Url` and implements custom `Display` and `Debug` traits to redact user secrets from being logged in eth1 endpoints, beacon node endpoints and metrics. ## Additional Info This also includes a small rewrite of the eth1 crate to make requests using `Url` instead of `&str`. Some error messages have also been changed to remove `Url` data.
ah, merge conflict. I'll cancel this and let the audit fix go through first bors r- |
Canceled. |
let's try it bors r+ |
## Issue Addressed #2276 ## Proposed Changes Add the `SensitiveUrl` struct which wraps `Url` and implements custom `Display` and `Debug` traits to redact user secrets from being logged in eth1 endpoints, beacon node endpoints and metrics. ## Additional Info This also includes a small rewrite of the eth1 crate to make requests using `Url` instead of `&str`. Some error messages have also been changed to remove `Url` data.
Pull request successfully merged into unstable. Build succeeded: |
SensitiveUrl
to redact user secrets from endpointsSensitiveUrl
to redact user secrets from endpoints
Issue Addressed
#2276
Proposed Changes
Add the
SensitiveUrl
struct which wrapsUrl
and implements customDisplay
andDebug
traits to redact user secrets from being logged in eth1 endpoints, beacon node endpoints and metrics.Additional Info
This also includes a small rewrite of the eth1 crate to make requests using
Url
instead of&str
.Some error messages have also been changed to remove
Url
data.