-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TAP-12] would allow arbitrary key IDs (rather than requiring the SHA256 of the public key itself). Before, we claimed (in a comment) to support it but did not in practice: no error, but keys would not be added. For security, it's important that once we allow arbitrary key IDs that there are no duplicate key IDs to prevent "confusion attacks." Here, we: - actually add keys that don't match, don't just silently ignore - add a test that duplicate key IDs cause an error [TAP-12]: https://github.com/theupdateframework/taps/blob/master/tap12.md
- Loading branch information
Showing
5 changed files
with
29 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters