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

inform the user that they do not pass the GH Sybil checks #221

Open
ctrlc03 opened this issue Oct 27, 2023 · 0 comments
Open

inform the user that they do not pass the GH Sybil checks #221

ctrlc03 opened this issue Oct 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ctrlc03
Copy link
Collaborator

ctrlc03 commented Oct 27, 2023

Currently, we do not inform an user if they do not pass the GH sybil checks, we simply tell them they might not have passed, neither what exactly these are.

Similarly to p0tion's website https://github.com/privacy-scaling-explorations/DefinitelySetup/blob/dev/web/src/helpers/utils.ts#L847 we could use the token generated during the auth phase to check if they do pass the requirements. In order to do that, the cli must know what these requirements are. Options:

  1. add to the .env file
  2. store them on firestore and fetch them with a function
  3. actually implement per ceremony sybil requirements:
    • during the setup ask for the requirements
    • store the requirements in the ceremony field
    • when a user tries to contribute (checkParticipantForCeremony) we use the token to check the requirements
    • deny or allow based on that
@ctrlc03 ctrlc03 added the enhancement New feature or request label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant