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

feat(17/WAKU-RLN-RELAY): add RLN credentials format #12

Closed
wants to merge 1 commit into from

Conversation

jimstir
Copy link
Collaborator

@jimstir jimstir commented Feb 28, 2024

This PR proposes a JSON format for RLN credentials that can be easily generalized to different applications. It supports multi-groups for same (id_key, id_commitment) pair and multiple id pairs per application.

This PR addresses vacp2p/rfc#543

Reference pull request: vacp2p/rfc#550

@@ -6,11 +6,12 @@ status: draft
tags: waku-core
editor: Sanaz Taheri <[email protected]>
contributors:
- Oskar Thorén <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think Oskar wishes this email is used, not the status.im one

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@rymnc some of the pr being transferred from the old repo will not be updated. I have not looked over any of these, before merging everything should be checked.

@@ -193,6 +183,43 @@ Below is the description of the fields of `RateLimitProof` and their types.
| `share_x` and `share_y`| array of 32 bytes each | Shamir secret shares of the user's secret identity key `sk` . `share_x` is the Poseidon hash of the `WakuMessage`'s `payload` concatenated with its `contentTopic` . `share_y` is calculated using [Shamir secret sharing scheme](/spec/32) | <!-- todo specify the poseidon hash setting -->
| `nullifier` | array of 32 bytes | internal nullifier derived from `epoch` and peer's `sk` as explained in [RLN construct](/spec/32)|

## RLN Credentials format
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be in the waku keystore RFC?

@jimstir jimstir requested a review from fryorcraken March 1, 2024 03:40
@jimstir
Copy link
Collaborator Author

jimstir commented May 13, 2024

Discussion continued on #32

@jimstir jimstir closed this May 13, 2024
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

Successfully merging this pull request may close these issues.

2 participants