-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add public key hash check in Signed Note verification (#2214)
* Update Verify method to perform PK hash check Signed-off-by: Jang <[email protected]> * Update unit test file Update existing tests and ensure they work as expected and add a unit test case to check for public key mismatch. Signed-off-by: Jang <[email protected]> * Make getPublicKeyHash an unexported function Signed-off-by: Jang <[email protected]> --------- Signed-off-by: Jang <[email protected]>
- Loading branch information
1 parent
f5fe610
commit ab3e6b4
Showing
2 changed files
with
45 additions
and
9 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