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

OIDC: More claims for GitHub's provider #11239

Merged
merged 6 commits into from
Apr 25, 2022

Conversation

woodruffw
Copy link
Member

GitHub has added claims that allow us to attest to the repository owner's stable ID, which in turn allows us to prevent "account resurrection"-style attacks.

Needs test updates, but this should be functionally complete. The migration is primarily to make the comparisons during claim verification more straightforward.

@woodruffw woodruffw requested a review from di April 22, 2022 22:24
@woodruffw woodruffw self-assigned this Apr 22, 2022
@woodruffw
Copy link
Member Author

Ref: #10645 (comment)

Copy link
Member

@di di left a comment

Choose a reason for hiding this comment

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

LGTM aside from a bit of cleanup that should happen in the migration.

@woodruffw
Copy link
Member Author

Refactored the migration to use renames 🙂

@di di merged commit 7726113 into pypi:main Apr 25, 2022
@di di deleted the tob-more-github-jwt-claims branch April 25, 2022 22:07
domdfcoding pushed a commit to domdfcoding/warehouse that referenced this pull request Jun 7, 2022
* [WIP] initial renamings and migration

* migrations: bump revision

* Revert "migrations: bump revision"

This reverts commit 38035bd.

* tests, warehouse: update tests

* migrations: rename instead of drop/add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants