-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deduplicate sigantures with the same key_id.
We should only verify one signature for one key_id, otherwise an attacker owning one key could simply duplicate one valid signature and thus increasing the number of signatures that are valid. This bypass the limitation of threshold. Tested: Unit tests.
- Loading branch information
Yu Shan
committed
Feb 27, 2020
1 parent
7c6f1d1
commit 322c48f
Showing
1 changed file
with
29 additions
and
3 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