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

Each key applies to signature threshold once #1091

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

mnm678
Copy link
Contributor

@mnm678 mnm678 commented Jul 28, 2020

This addresses part 2 of #1084.

This pr ensures that each key will only count toward the signature threshold once, even if the keys have different keyids. This will be especially important when repositories are allowed to define their own keyids as part of TAP 12.

The solution is based on @lukpueh's commit for threshold verification

This commit ensures that each key will only count toward the signature
threshold once, even if the keys have different keyids.

Signed-off-by: marinamoore <mmoore32@calpoly.edu>
Copy link
Member

@joshuagl joshuagl left a comment

Choose a reason for hiding this comment

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

Excellent change, thank you @mnm678 !

Copy link
Member

@trishankatdatadog trishankatdatadog left a comment

Choose a reason for hiding this comment

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

Definitely more robust than what we had before. We can revisit public key "normalization" later. Thanks!

@joshuagl joshuagl merged commit f4eb001 into theupdateframework:develop Aug 4, 2020
@mnm678 mnm678 deleted the check-key-uniqueness branch April 16, 2021 21:01
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