-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check incoming metadata hash in creator and collector verification fu…
…nctions. - Verify that user-provided metadata results in same hash as user-provided `data_hash`. - This is done to ensure that creator and collection verification functions only modify the verified flag in the metadata and do not pick up other extraneous changes. - This was already being done with the creator hash in creator verification. - Also made change to use helper functions to do creator and data hashing in one place.
- Loading branch information
Showing
1 changed file
with
36 additions
and
42 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