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

Issue 649 node validation #741

Merged
merged 32 commits into from
May 10, 2019
Merged

Issue 649 node validation #741

merged 32 commits into from
May 10, 2019

Conversation

melowe
Copy link
Contributor

@melowe melowe commented May 9, 2019

  • Validate recipients (that url) in party info message that belong to caller/sender that it has at least one valid key.
  • Do not validate non sender recipients as they will be validated during their p2p dialogue.
  • Update only the sender's recipients into local party info.

melowe and others added 29 commits April 30, 2019 16:40
Treat calling node not providing any valid keys as a security issue. 
Filter all recipients by valid key.
…ts or prefiltered before this stage "

This reverts commit bf2d77e.
for the url and that the recipient will be ignored.
Add prefix to test suite annotations and executioncontext to allow
for custom namespaces when generating files and loggers. Add inital
tests for p2p changes to ensure interactions with 4 test nodes are
expected.
…l contain urls in the recipient list and therefore will be validated during their p2p dialogue.
@melowe melowe requested a review from chris-j-h as a code owner May 9, 2019 17:29
@codecov-io
Copy link

codecov-io commented May 9, 2019

Codecov Report

Merging #741 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #741      +/-   ##
============================================
+ Coverage     99.44%   99.45%   +<.01%     
- Complexity     1886     1888       +2     
============================================
  Files           285      285              
  Lines          5620     5639      +19     
  Branches        284      282       -2     
============================================
+ Hits           5589     5608      +19     
  Misses            5        5              
  Partials         26       26
Impacted Files Coverage Δ Complexity Δ
...tessera/api/exception/SecurityExceptionMapper.java 100% <100%> (ø) 3 <3> (?)
...n/java/com/quorum/tessera/node/PartyInfoStore.java 100% <100%> (ø) 5 <2> (ø) ⬇️
...java/com/quorum/tessera/p2p/PartyInfoResource.java 100% <100%> (ø) 15 <7> (+7) ⬆️

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 907cbe3...9371959. Read the comment docs.

@Krish1979 Krish1979 merged commit 3815b1d into master May 10, 2019
@Krish1979 Krish1979 deleted the issue_649_node_validation branch May 10, 2019 14:55
@prd-fox prd-fox added 0.10.0 feature User features labels May 16, 2019
@prd-fox
Copy link
Contributor

prd-fox commented May 16, 2019

Linked issue: #649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.0 feature User features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants