googleapis / googleapis/google-cloud-rust

Consider having verifiable sensitive fields in auth debugging

Open
#872 0 comments 0 reactions 0 assignees View on GitHub
auth priority: p3 type: feature request
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

A follow up to #589

Some fields we need to be extra careful about logging. Such as private keys.

We currently just print `[censored]` for them in debug strings.

As @coryan suggests, we could instead print a hash of these fields. That would at least let applications check if the field's value is what they are expecting.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.