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

Add VerifiedCapsuleFrag::from_verified_bytes() #63

Merged
merged 1 commit into from
Jul 18, 2021

Conversation

fjarri
Copy link
Contributor

@fjarri fjarri commented Jul 12, 2021

Fixes #58

VerifiedCapsuleFrag::from_verified_bytes() was added to support caching of capsule frags on the receiver's side (by analogy with the existing VerifiedKeyFrag::from_verified_bytes()), when there is no need to re-verify on deserialization.

@fjarri fjarri added enhancement New feature or request API Related to public API labels Jul 12, 2021
@fjarri fjarri added this to the v1.0.0 milestone Jul 12, 2021
@fjarri fjarri requested a review from piotr-roslaniec July 12, 2021 21:25
@fjarri fjarri force-pushed the cfrag-serialization branch from a328e9e to 1b2b4f6 Compare July 12, 2021 21:26
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2021

Codecov Report

Merging #63 (1b2b4f6) into master (8275afc) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   83.52%   83.35%   -0.18%     
==========================================
  Files          13       13              
  Lines         971      973       +2     
==========================================
  Hits          811      811              
- Misses        160      162       +2     
Impacted Files Coverage Δ
umbral-pre/src/capsule_frag.rs 84.78% <0.00%> (-1.25%) ⬇️

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 8275afc...1b2b4f6. Read the comment docs.

@fjarri fjarri merged commit aaa4a0b into nucypher:master Jul 18, 2021
@fjarri fjarri deleted the cfrag-serialization branch July 18, 2021 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Related to public API enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a VerifiedCapsuleFrag::from_verified_bytes() method
3 participants