PrivateStorageio / ZKAPAuthorizer

a Tahoe-LAFS storage-system plugin which authorizes storage operations based on privacy-respecting tokens
10 stars 7 forks source link

Depend on Tahoe-Capabilities for Tahoe-LAFS capability interactions #419

Closed exarkun closed 2 years ago

exarkun commented 2 years ago

This begins to replace the use of str to represent Tahoe-LAFS data capabilities with use of the tahoe-capabilities library. Specifically, it changes the signatures:

codecov[bot] commented 2 years ago

Codecov Report

Merging #419 (b5c2995) into main (8c1185f) will decrease coverage by 0.11%. The diff coverage is 93.70%.

@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
- Coverage   96.27%   96.16%   -0.12%     
==========================================
  Files          63       63              
  Lines        7526     7557      +31     
  Branches     1012     1013       +1     
==========================================
+ Hits         7246     7267      +21     
- Misses        208      218      +10     
  Partials       72       72              
Impacted Files Coverage Δ
src/_zkapauthorizer/tahoe.py 91.36% <82.05%> (-2.00%) :arrow_down:
src/_zkapauthorizer/tests/test_tahoe.py 98.68% <94.44%> (-0.85%) :arrow_down:
src/_zkapauthorizer/_plugin.py 96.73% <100.00%> (ø)
src/_zkapauthorizer/recover.py 97.69% <100.00%> (+0.03%) :arrow_up:
src/_zkapauthorizer/replicate.py 95.61% <100.00%> (-0.02%) :arrow_down:
src/_zkapauthorizer/resource.py 99.26% <100.00%> (+<0.01%) :arrow_up:
src/_zkapauthorizer/tests/test_client_resource.py 98.02% <100.00%> (-0.21%) :arrow_down:
src/_zkapauthorizer/tests/test_plugin.py 99.70% <100.00%> (+<0.01%) :arrow_up:
src/_zkapauthorizer/tests/test_recover.py 99.10% <100.00%> (+<0.01%) :arrow_up:
src/_zkapauthorizer/tests/test_replicate.py 93.92% <100.00%> (+0.01%) :arrow_up:
... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more