Skip to content

Conversation

NickMeves
Copy link
Contributor

@NickMeves NickMeves commented May 24, 2020

Getting this in the wings so we don't forget 😄

Related to #524

Stop accepting legacy SHA1 signed cookies after new SHA256 signed cookies have rolled out.

Description

After a rollout graceful rollout window of SHA256 signed cookies, we need to eventually stop accepting SHA1 cookies to get the security benefit.

Motivation and Context

Until SHA1 signatures are not accepted, session cookies are still weak to the newer SHA1 attacks that are emerging since ~2017.

How Has This Been Tested?

Unit tests updated.

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.

(Waiting on CHANGELOG for now since I imagine we'll target this for a later quarterly release?)

@JoelSpeed
Copy link
Member

Marking as WIP for now

Want to make it easier to spot that we don't want it merged until after the 6.0.0 release

How long we should actually support both signatures for I'm not yet sure

@JoelSpeed JoelSpeed added the WIP Work in progress label May 24, 2020
@NickMeves NickMeves added the breaking A change that will cause a major version bump label Jul 12, 2020
@NickMeves NickMeves removed the WIP Work in progress label Jul 19, 2020
@github-actions
Copy link
Contributor

This pull request has been inactive for 60 days. If the pull request is still relevant please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.

@github-actions github-actions bot added the Stale label Sep 18, 2020
@NickMeves
Copy link
Contributor Author

This is gonna happen! Soon, I promise.

@NickMeves NickMeves removed the Stale label Sep 18, 2020
@NickMeves NickMeves requested a review from a team as a code owner September 22, 2020 23:06
@NickMeves
Copy link
Contributor Author

Rebased -- ready for the v7 flood of breaking changes PR merges!

Copy link
Member

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

LGTM

@JoelSpeed JoelSpeed merged commit 93870ec into oauth2-proxy:master Sep 24, 2020
Jing-ze pushed a commit to Jing-ze/oauth2-proxy that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A change that will cause a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants