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

Allow for R recovery #1904

Merged
merged 3 commits into from
Mar 25, 2020
Merged

Allow for R recovery #1904

merged 3 commits into from
Mar 25, 2020

Conversation

vkuznecovas
Copy link
Contributor

@vkuznecovas vkuznecovas commented Mar 23, 2020

The provider will now send an encrypted R to the accountant so that he can store it.

Once there, the encrypted R will be sent back to us if a missmatch occurs.

Upon receiving such an error, a provider will decrypt the R and send it back to accountant.

closes #1585

@vkuznecovas
Copy link
Contributor Author

The required changes are already live on accountant and are backwards compatible.

@vkuznecovas vkuznecovas requested a review from Waldz March 24, 2020 07:57
@vkuznecovas vkuznecovas force-pushed the r-recovery branch 2 times, most recently from 253de11 to 7e25ea5 Compare March 24, 2020 09:48
@vkuznecovas vkuznecovas force-pushed the r-recovery branch 3 times, most recently from 272faf1 to 0e01c88 Compare March 24, 2020 13:45
session/pingpong/accountant_caller.go Outdated Show resolved Hide resolved
session/pingpong/invoice_tracker.go Show resolved Hide resolved
session/pingpong/invoice_tracker.go Show resolved Hide resolved
The provider will now send an encrypted R to the accountant so that he can store it.

Once there, the encrypted R will be sent back to us if a missmatch occurs.

Upon receiving such an error, a provider will decrypt the R and send it back to accountant.
@codecov-io
Copy link

Codecov Report

Merging #1904 into master will increase coverage by 0.06%.
The diff coverage is 55.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1904      +/-   ##
==========================================
+ Coverage   47.52%   47.59%   +0.06%     
==========================================
  Files         287      287              
  Lines       12043    12103      +60     
==========================================
+ Hits         5724     5760      +36     
- Misses       5843     5865      +22     
- Partials      476      478       +2     
Impacted Files Coverage Δ
session/pingpong/factory.go 0.00% <0.00%> (ø)
session/pingpong/invoice_tracker.go 55.72% <48.71%> (-1.66%) ⬇️
session/pingpong/accountant_caller.go 72.72% <62.79%> (+1.10%) ⬆️
tequilapi/endpoints/sse_handler.go 73.72% <0.00%> (+2.54%) ⬆️

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 ade975c...d834e66. Read the comment docs.

@vkuznecovas vkuznecovas merged commit d3f286b into master Mar 25, 2020
@vkuznecovas vkuznecovas deleted the r-recovery branch March 25, 2020 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reveal R mechanism
7 participants