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

How to use rawr-x3dh without private keys? #7

Open
PoCk3T opened this issue Sep 5, 2023 · 0 comments
Open

How to use rawr-x3dh without private keys? #7

PoCk3T opened this issue Sep 5, 2023 · 0 comments

Comments

@PoCk3T
Copy link

PoCk3T commented Sep 5, 2023

First of all, thank you @soatok for creating such a library

Would you and/or any kind member of the community points me towards the right direction for a small project I'm working on?

Scenario: a frontend leveraging rawr-x3dh has access to the public key of a user, can ask the user to sign a message with their private key, but doesn't have access to the private key itself.

Question: would it still be possible to leverage rawr-x3dh one way or another, even if deriving an alternative private key out of signed message?

More context/researches done so far:

  • I was originally checking the unit tests as part of the code base of this project, but I see that the keys are derived out of a key pair that was created locally, with full access to the private key:
    const fox_keypair = await sodium.crypto_sign_keypair();
    which is a luxury I unfortunately don't have :)

Thank you in advance to any one who can share any insights/tips 🥇

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

No branches or pull requests

1 participant