Skip to content

Conversation

@stlaz
Copy link

@stlaz stlaz commented Aug 13, 2019

Basic auth looks at the Authorization header and checks that its
purpose is to serve for basic auth (starts with "Basic"). It would
log it if this check fails which might print the bearer token in
cases where e.g. service account already has its token and just wants
to access the armored endpoints.

cc @enj @mrogers950

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Aug 13, 2019
@openshift-ci-robot
Copy link

@stlaz: This pull request references a valid Bugzilla bug. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Bug 1734390: don't log Authorization header when Basic Auth fails

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 13, 2019
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 14, 2019
Basic auth looks at the Authorization header and checks that its
purpose is to serve for basic auth (starts with "Basic"). It would
log it if this check fails which might print the bearer token in
cases where e.g. service account already has its token and just wants
to access the armored endpoints.
@stlaz stlaz force-pushed the nolog_token branch 18 times, most recently from 6f56d73 to 60999af Compare August 15, 2019 08:32
@sttts
Copy link

sttts commented Aug 15, 2019

@mrogers950 @enj anything blocking this?

@mrogers950
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 15, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrogers950, stlaz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2019
@openshift-merge-robot openshift-merge-robot merged commit 8b296eb into openshift:master Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants