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 senderHmac, shouldPush for entitlements #550

Merged
merged 21 commits into from
Mar 12, 2024

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Mar 12, 2024

Summary

  • Added shouldPush to ContentCodec type
  • Added shouldPush method to TextCodec and CompositeCodec
  • Added senderHmac and shouldPush to MessageV2
  • Added encryption methods for generating, importing, and exporting HMAC keys
  • Added encryption methods for generating and verifying HMAC signatures
  • Added getV2ConversationHmacKeys to InMemoryKeystore to retrieve conversation topics and their associated HMAC keys

A lot has changed since the beta branch was last touched. This PR incorporates the changes from the beta branch plus some fixes / conflict resolutions. Once this lands, I'll force-push main into the beta branch.

@rygine rygine requested a review from a team March 12, 2024 18:23
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ca498c0
Status: ✅  Deploy successful!
Preview URL: https://175afae2.xmtp-js.pages.dev
Branch Preview URL: https://rygine-sender-hmac-should-pu.xmtp-js.pages.dev

View logs

@rygine rygine merged commit 8a65f27 into main Mar 12, 2024
9 checks passed
@rygine rygine deleted the rygine/sender-hmac-should-push branch March 12, 2024 22:03
Copy link
Contributor

🎉 This PR is included in version 11.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants