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

fix: Add signature validation for VC before processing Sidetree batches #833

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

sandrask
Copy link
Contributor

Included:

  • remove unused PublicKeyFetcher from anchor/graph
  • add PublicKeyFetcher to observer and verify VC signatures

Closes #831

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

Included:
- remove unused PublicKeyFetcher from anchor/graph
- add PublicKeyFetcher to observer and verify VC signatures

Closes trustbloc#831

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@cla-bot cla-bot bot added the cla-signed label Oct 22, 2021
@codecov
Copy link

codecov bot commented Oct 22, 2021

Codecov Report

Merging #833 (33bdfd2) into main (80675a5) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #833      +/-   ##
==========================================
+ Coverage   89.36%   89.43%   +0.06%     
==========================================
  Files         145      145              
  Lines       12755    12754       -1     
==========================================
+ Hits        11399    11406       +7     
+ Misses        836      829       -7     
+ Partials      520      519       -1     
Impacted Files Coverage Δ
cmd/orb-server/startcmd/start.go 73.70% <ø> (-0.04%) ⬇️
pkg/anchor/graph/graph.go 84.90% <ø> (ø)
pkg/observer/observer.go 81.77% <100.00%> (ø)
...pub/service/inbox/httpsubscriber/httpsubscriber.go 100.00% <0.00%> (+9.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80675a5...33bdfd2. Read the comment docs.

@fqutishat fqutishat merged commit 060bd17 into trustbloc:main Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix VC signature validation (observer)
3 participants