semaphore-protocol / semaphore

A zero-knowledge protocol for anonymous interactions.
https://semaphore.pse.dev
MIT License
876 stars 191 forks source link

Fix inconsistent behavior when passing in user-provided private key #801

Closed zkfriendly closed 1 month ago

zkfriendly commented 1 month ago

Related Issue(s)

Fixes #799

Checklist

cedoor commented 1 month ago

Hey @zkfriendly, I already started working on this task. Here the branch: https://github.com/semaphore-protocol/semaphore/tree/fix/identity-generation.

There are some discussions going on about what's the best way to manage the input types. There will probably be some changes related to that in addition to the bugfix.