-
Notifications
You must be signed in to change notification settings - Fork 41
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
Task: Manage RLN membership(s) and keys #1600
Comments
@rymnc Do you know if https://github.com/CryptKeeperZK can be used for RLN credentials? |
Yes, you can use https://github.com/CryptKeeperZK/rlnjs |
but it doesn't export the keystore the same way go-waku and nwaku do, so some effort would be required in that direction |
the original would be better - https://github.com/rate-limiting-nullifier/rlnjs |
(1) For implementing KeyStore worth looking into possibility of extending rlnjs library so that we offload following support. Important to keep in mind that encryption part should be consistent between waku clients. Possible mitigation - making it a configurable parameter or directly implementing in @waku/rln on our side. (2) FE should use dotenv approach for easy integration in dockerenvironment. Docker spins nwaku then feeds multiaddr to node. |
Weekly update:
|
This is a bug report/feature or change request/support request
Summary
Ensuring that on all Waku clients publishers can manage RLN membership(s) and keys
Proposed Solutions
A JSON keyfile is used by nwaku to manage credentials. We need to provide a package, compatible with js-rln (or part of?) to enable import and export of this key file..
We need to also review how we want users to manage their RLN credentials in the browser.
Current proposal is to generate the RLN secret from a web3 wallet signature: sign a passphrase, hash it, use it as a secret.
This does not help the membership id, that needs to be retrieved from the smart contract.
We could provide tools to easily save credentials in local storage with a password.
We could also review the PSE work https://github.com/CryptKeeperZK and whether this can be used for RLN credentials.
Acceptance Criteria
Notes
The text was updated successfully, but these errors were encountered: