Commit 2d9d01c
authored
fix(auth): Fix UserCredentials serialization clientSecret leak (#13465)
This PR fixes a critical security issue where the plaintext clientSecret
of UserCredentials was being leaked and written to disk under the key
quota_project, instead of the actual quotaProjectId under
quota_project_id.1 parent 99b9a6e commit 2d9d01c
2 files changed
Lines changed: 3 additions & 1 deletion
File tree
- google-auth-library-java/oauth2_http
- javatests/com/google/auth/oauth2
- java/com/google/auth/oauth2
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
649 | 650 | | |
650 | 651 | | |
651 | 652 | | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
0 commit comments