We should not reveal the keypair in our logs. I've manually implemented the Debug trait to redact the server_keypair field.
Resolves https://linear.app/comm/issue/ENG-1298/redact-sensitive-fields-in-types-that-implement-debug-trait
Differential D4387
[services] redact server keypair in config struct varun on Jun 28 2022, 12:03 PM. Authored by Tags None Referenced Files
Details We should not reveal the keypair in our logs. I've manually implemented the Debug trait to redact the server_keypair field. Resolves https://linear.app/comm/issue/ENG-1298/redact-sensitive-fields-in-types-that-implement-debug-trait Printed the Config struct and confirmed the keypair field was redacted Config { server_keypair: "redacted" }
Diff Detail
|