-
Notifications
You must be signed in to change notification settings - Fork 81
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
Signing event: sign/migration #1323
Conversation
Signed-off-by: Jussi Kukkonen <[email protected]>
Current signing event stateEvent sign/migration (commit 74805e7) ❌ rootRole ❌ targetsRole ❌ registry.npmjs.orgRole |
Signed-off-by: Jussi Kukkonen <[email protected]>
Current signing event stateEvent sign/migration (commit e7de4ec) ❌ rootRole ❌ targetsRole ❌ registry.npmjs.orgRole |
Current status:
No action is required from keyholders at this point |
Note that deployment to GCS is still commented out in publish workflow. Signed-off-by: Jussi Kukkonen <[email protected]>
Delete legacy (meaning non- tuf-on-ci) * timestamp and snapshot workflows * GCS uploading workflows * signing event management workflows (dealing with "ceremony/" dirs) * various verification workflows: now handled by the tuf-on-ci tests and custom-test.yml Remove these outright to prevent accidental changes to metadata from two different maintenance systems. If it turns out the migration will not be successful in the timeframe it has, the PR that contains this commit needs to be reverted so the legacy system can continue operation. Signed-off-by: Jussi Kukkonen <[email protected]>
Signed-off-by: Fredrik Skogman <[email protected]>
'registry.npmjs.org' role/delegation change
Current signing event stateEvent sign/migration (commit 6697742) ❌ rootRole ❌ targetsRole ❌ registry.npmjs.orgRole |
Current status:
|
Signed-off-by: Fredrik Skogman <[email protected]>
Bob commented correctly that the key changes are difficult to review. I'll try to document here:
I'm not sure if this helps but # print original public keys defined in root
git show origin/main:metadata/root.json | jq '.signed.keys[].keyval.public' | sort
# print public keys defined in root in the signing event
git show origin/sign/migration:metadata/root.json | jq '.signed.keys[].keyval.public' | sort
# the only difference is that one key has been removed (snapshot, since it uses the same key as timestamp now) The keyids for root and targets keyowners are listed below (the public keys themselves are unchanged):
|
Signed-off-by: Fredrik Skogman <[email protected]>
Signature over npm delegation.
Current signing event stateEvent sign/migration (commit 773340f) ❌ rootRole ❌ targetsRole ✅ registry.npmjs.orgRole |
On more thing to help look at the key changes: https://gist.github.com/jku/ae2db6918e6aa960122cba0e2a1e4232. When this is executed (with the signing event branch checked out), it prints out root keyowners, keyids and the corresponding old keyids. This should prove that the only thing that changes in the key is the one added field |
Thanks for providing the script. It's useful for both its ouputs and for conveying why the keyids changed. |
Signed-off-by: Joshua Lock <[email protected]>
Signature from @joshuagl
Current signing event stateEvent sign/migration (commit c1327c1) ❌ rootRole ❌ targetsRole ✅ registry.npmjs.orgRole |
Signed-off-by: Bob Callaway <[email protected]>
Signature from @bobcallaway
Current signing event stateEvent sign/migration (commit a3b0256) ❌ rootRole ❌ targetsRole ✅ registry.npmjs.orgRole |
Signed-off-by: Dan Lorenc <[email protected]>
Signature from @dlorenc
Current signing event stateEvent sign/migration (commit 1b65f7d) ✅ rootRole ✅ targetsRole ✅ registry.npmjs.orgRole Signing event is successfulThreshold of signatures has been reached: this signing event can be reviewed and merged. |
In case anyone is wondering what this means in the status:
|
Signed-off-by: Marina Moore <[email protected]>
Signature from @mnm678
Current signing event stateEvent sign/migration (commit 51df10d) ✅ rootRole ✅ targetsRole ✅ registry.npmjs.orgRole Signing event is successfulThreshold of signatures has been reached: this signing event can be reviewed and merged. |
Signed-off-by: Santiago Torres-Arias <[email protected]>
Current signing event stateEvent sign/migration (commit e0cf2f5) ✅ rootRole ✅ targetsRole ✅ registry.npmjs.orgRole Signing event is successfulThreshold of signatures has been reached: this signing event can be reviewed and merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me so far, thanks to keyholders: I'm marking request changes just in case since we do not want to merge too early.
reviews are welcome, but I'll remind that we intend to merge the workflow PR (#1313 ) here before merging on friday: this to not leave any chance for old and new online signing and publishing workflows to run at same time
Are we punting on #1268? |
Yes, as mentioned in #1320 (comment) we decided to hold the actual artifact changes since
Since the signing events should be less of a hassle from now on, let's rather let dust settle in staging and then do a separate signing event in production for those changes in the future. The quick retrospective on this is:
|
* root-signing migration to tuf-on-ci tooling means the preprod repository is now published to the projects GitHub Pages url * Otherwise the functionality is the same This change should be done * after root-signing has switched to tuf-on-ci (sigstore/root-signing#1323 merge) * before the publishing to prod is switched on (sigstore/root-signing#1340)
* root-signing migration to tuf-on-ci tooling means the preprod repository is now published to the projects GitHub Pages url * Otherwise the functionality is the same This change should be done * after root-signing has switched to tuf-on-ci (sigstore/root-signing#1323 merge) * before the publishing to prod is switched on (sigstore/root-signing#1340) Signed-off-by: Jussi Kukkonen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I will now merge #1313 in here as planned:
The next steps are still listed in #1320 (comment). |
Merge the branch that * disables legacy workflows * enables tuf-on-ci workflows (apart from final GCS prod publish) into the migration signing event branch This should ensure that once we merge the signing event, all the correct workflows will run, and old ones will not.
Looks good after merge. Waiting for timestamp/snapshot to run, after merge of latest metadata I'll review again and approve this PR if all is good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ready to me.
* root-signing migration to tuf-on-ci tooling means the preprod repository is now published to the projects GitHub Pages url * Otherwise the functionality is the same This change should be done * after root-signing has switched to tuf-on-ci (sigstore/root-signing#1323 merge) * before the publishing to prod is switched on (sigstore/root-signing#1340) Signed-off-by: Jussi Kukkonen <[email protected]>
Processing signing event sign/migration, please wait.