nucypher / nucypher-porter

Gateway to TACo nodes of the threshold network
GNU Affero General Public License v3.0
2 stars 8 forks source link

Porter now supports CBD threshold decryption (base support and not yet E2EE) #26

Closed derekpierre closed 1 year ago

derekpierre commented 1 year ago

Added threshold decryption support to Porter - the ThresholdDecryptionRequests/Responses are still unencrypted; the E2E part of the protocol will be implemented in the next PR #24 .

Based over #25 .

Stepping stone for https://github.com/nucypher/nucypher/issues/3081.

NOTE: Before merging, need to update the nucypher dependency to no longer point to a branch on my fork, but to nucypher/nucypher development branch again. Relies on https://github.com/nucypher/nucypher/pull/3126.

I'll take care of the merge once there are sufficient approvals.

codecov-commenter commented 1 year ago

Codecov Report

Merging #26 (25e94ea) into development (f185a61) will decrease coverage by 1.91%. The diff coverage is 97.08%.

@@               Coverage Diff               @@
##           development      #26      +/-   ##
===============================================
- Coverage        89.28%   87.37%   -1.91%     
===============================================
  Files               17       17              
  Lines              644      705      +61     
===============================================
+ Hits               575      616      +41     
- Misses              69       89      +20     
Impacted Files Coverage Δ
porter/fields/umbralkey.py 93.33% <85.71%> (ø)
porter/fields/base.py 97.56% <90.90%> (-2.44%) :arrow_down:
porter/fields/ursula.py 100.00% <100.00%> (ø)
porter/interfaces.py 97.43% <100.00%> (+0.37%) :arrow_up:
porter/main.py 87.12% <100.00%> (+1.28%) :arrow_up:
porter/schema.py 98.64% <100.00%> (+0.31%) :arrow_up:
porter/utils.py 81.81% <100.00%> (ø)

... and 2 files with indirect coverage changes