awslabs / mls-rs

An implementation of Messaging Layer Security (RFC 9420)
Apache License 2.0
104 stars 19 forks source link

Allow storing the ratchet tree separately #214

Closed mulmarta closed 1 week ago

mulmarta commented 1 week ago

This may be useful for applications. It will probably change / be simplified once we move to the new 1.x API. But the current way does not break backwards compatibility.

Note

TreeIndex is still stored in the state and it may get large.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.14%. Comparing base (b6d257e) to head (5706488).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #214 +/- ## ========================================== + Coverage 90.12% 90.14% +0.01% ========================================== Files 175 175 Lines 31446 31495 +49 ========================================== + Hits 28341 28390 +49 Misses 3105 3105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.