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

Tree depth to check group existence #206

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Tree depth to check group existence #206

merged 1 commit into from
Dec 20, 2022

Conversation

cedoor
Copy link
Member

@cedoor cedoor commented Dec 19, 2022

Description

This PR updates the group existence checks to use the depth of the tree rather than the tree root.

Related Issue

Closes #202

Does this introduce a breaking change?

  • Yes
  • No

Other information

This bug was found by Veridise during their audit of Semaphore.

This bug was found by Veridise during their audit of Semaphore.

fix #202
@cedoor cedoor added the bug 🐛 Something isn't working label Dec 19, 2022
@cedoor cedoor added this to the Semaphore Protocol v3 milestone Dec 19, 2022
@cedoor cedoor self-assigned this Dec 19, 2022
@cedoor cedoor linked an issue Dec 19, 2022 that may be closed by this pull request
@cedoor cedoor merged commit f7367b6 into dev Dec 20, 2022
@cedoor cedoor deleted the fix/group-existence branch December 20, 2022 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different checks used to determine if a group exists
1 participant