Skip to content
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

Fix dependencies, add the organizational build machinery and use constant time comparisons for client secrets #200

Merged

Conversation

stlaz
Copy link
Contributor

@stlaz stlaz commented May 20, 2020

No description provided.

@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label May 20, 2020
@openshift-ci-robot
Copy link

@stlaz: This pull request references Bugzilla bug 1720269, which is invalid:

  • expected the bug to target the "4.5.0" release, but it targets "4.3.0" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 1720269: Use contant time comparisons for client secrets

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 bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label May 20, 2020
@stlaz stlaz force-pushed the client_secrets_comparison branch from 3c69cac to 24572cc Compare May 20, 2020 12:56
@stlaz stlaz changed the title Bug 1720269: Use contant time comparisons for client secrets Bug 1720269: Use constant time comparisons for client secrets May 20, 2020
@stlaz
Copy link
Contributor Author

stlaz commented May 26, 2020

/retest

@openshift-ci-robot
Copy link

@stlaz: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/unit 24572cc link /test unit

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

go.mod Outdated

require (
github.com/RangelReale/osin v1.0.1
github.com/RangelReale/osincli v0.0.0-20160924135400-fababb0555f2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not find the usage of these imports.

@stlaz stlaz changed the title Bug 1720269: Use constant time comparisons for client secrets Use constant time comparisons for client secrets May 28, 2020
@openshift-ci-robot openshift-ci-robot removed the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label May 28, 2020
@openshift-ci-robot
Copy link

@stlaz: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

Use constant time comparisons for client secrets

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 removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label May 28, 2020
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 15, 2020
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 14, 2020
@stlaz
Copy link
Contributor Author

stlaz commented Nov 24, 2020

/remove-lifecycle rotten

@openshift-ci-robot openshift-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Nov 24, 2020
@stlaz
Copy link
Contributor Author

stlaz commented Nov 26, 2020

/approve
let's see if the config finally works
looks like fixing the unit test config would be the next thing to do

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2020
@stlaz
Copy link
Contributor Author

stlaz commented Nov 26, 2020

/test unit

@openshift-merge-robot
Copy link
Contributor

@stlaz: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/unit 24572cc link /test unit

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@sttts
Copy link

sttts commented Jan 13, 2021

I see the build machinery change. Where is actual change promised in the PR ? Still WIP ?

@stlaz
Copy link
Contributor Author

stlaz commented Jan 13, 2021

@sttts see the "Commits" tab, it's the second change.

@stlaz stlaz changed the title Use constant time comparisons for client secrets Fix vendoring, add the organizational build machinery and use constant time comparisons for client secrets Jan 13, 2021
@stlaz
Copy link
Contributor Author

stlaz commented Jan 13, 2021

Renamed the PR, it kind of grew in time as more things needed fixing

@stlaz stlaz changed the title Fix vendoring, add the organizational build machinery and use constant time comparisons for client secrets Fix dependencies, add the organizational build machinery and use constant time comparisons for client secrets Jan 13, 2021
@sttts
Copy link

sttts commented Jan 13, 2021

Why do we need constant time comparison?

@stlaz
Copy link
Contributor Author

stlaz commented Jan 13, 2021

it's a precaution to avoid a possible timing attack

@sttts
Copy link

sttts commented Jan 13, 2021

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

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

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants