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 ability to sign with an installation key #540

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

nplasterer
Copy link
Contributor

This adds the ability to sign with an installation key
Also fixes a TLS issue with android.

@nplasterer nplasterer self-assigned this Nov 19, 2024
@nplasterer nplasterer requested a review from a team as a code owner November 19, 2024 04:28
Copy link

@mchenani mchenani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ✌️, also added one comment🙌

val client = clients[inboxId] ?: throw XMTPException("No client")

val signature = client.signWithInstallationKey(message)
signature.map { it.toInt() and 0xFF }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: can we add a comment or extract this value?

@nplasterer nplasterer merged commit 2192f53 into main Nov 19, 2024
5 of 6 checks passed
@nplasterer nplasterer deleted the np/fix-tls-installation-signer branch November 19, 2024 15:12
Copy link
Contributor

🎉 This PR is included in version 3.0.4 🎉

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