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

New Caveats #6255 #6613

Closed
wants to merge 82 commits into from
Closed

Conversation

rachelcipkins
Copy link

Added new caveats for new releases and expiration time of a macaroon.

@woodruffw woodruffw requested a review from dstufft September 11, 2019 14:20
@woodruffw
Copy link
Member

Whoops, requested the wrong reviewer -- that should be me.

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

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

I'm going to push some nitpick commits, but otherwise LGTM! Great work here @rcipkins!

@woodruffw
Copy link
Member

@ewdurbin @dstufft I believe this is good for an initial review!

Some notes:

  • We should probably (better) figure out what the semantics of a release-limited token are -- the upload endpoint accepts one file at a time and creates the release on the first file, so creating a version-limited token will cause package upload to bomb out if the release is more than one file.

  • Similarly, PyPI already imposes some release constraints: duplicate filenames can never be re-released. This partially obviates the general need for version-scoped tokens, although it doesn't cover the case where a malicious user uploads a new filename for the same release.

@ewdurbin
Copy link
Member

ref #6255

@rachelcipkins rachelcipkins changed the title (WIP) New Caveats #6255 New Caveats #6255 Oct 15, 2019
@woodruffw
Copy link
Member

#6935 supersedes this and includes additional caveat work; thanks @rcipkins!

@woodruffw woodruffw closed this Nov 18, 2019
@woodruffw woodruffw deleted the tob-new-caveats branch November 18, 2019 16:14
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.

3 participants