-
Notifications
You must be signed in to change notification settings - Fork 2
Hash algorithm transition plan #68
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
Comments
This might be as simple as having the repository code changing the hash algorithm key in the If the server code does not yet support that algorithm, it needs to be updated. To me, two questions remain:
UPDATE on 28/12/19: Adding answers to my questions. |
Btw and IIUC, Donald's comment only regarded the hash algorithms used to hash other metadata files and target files, do we also need to discuss keyid hash algorithm migration here? There's already a half-lively discussion about the scope and algorithms for keyids, and the |
@lukpueh I agree, this is not as straightforward as it sounds like to fix |
Here is a rough plan for transitioning hashes:
|
As part of the transition plan, would it make sense to have some amount of time where both algorithms are supported? Maybe we can add a note about how clients can chose the hash algorithm they will use during that transition time (the most recent supported one) |
Right! I had been assuming that we'd STARTED the transition plan with both algorithms being supported. Also, I'm remembering now:
That's a job for the TUF docs, and then detailed specification regarding the upload tooling side is going to be in PEP 480. PEP 458 is just going to be about Warehouse. So actually a fuller plan goes like:
|
#76 is a first stab of getting the gist of the discussion here into the pep. Feel free to throw rocks at it. Above all, @brainwane, let me know if you think I should add more of the details you provided (i.e. which channels to use for communication, how to assess if the adoption of the new algorithm is sufficient, etc.). My rationale for keeping it that brief was that client and uploader workflows are not actually in the scope of PEP 458. |
@lukpueh I think your reasoning is good and I'm fine with the draft you wrote. Thanks. |
Thanks for the review, @brainwane. |
Since the related PR has been merged, can we now close this? |
Yes, resolved via python#1253 |
dstufft
The text was updated successfully, but these errors were encountered: