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

Verify randomness returned by drand REST API #86

Open
bajtos opened this issue Jul 24, 2024 · 0 comments
Open

Verify randomness returned by drand REST API #86

bajtos opened this issue Jul 24, 2024 · 0 comments

Comments

@bajtos
Copy link
Member

bajtos commented Jul 24, 2024

We had to disable DRAND beacon verification because it did not work when using drand-client via CDN. Without the verification, we are blindly trusting https://api.drand.sh/ to provide honest responses.

Let's fix that.

Options to consider:

  • Find a CDN that can correctly bundle drand-client and all of its dependencies.
  • Replace drand-client with our own implementation and implement the beacon verification algorithm using Web Crypto instead of @subtle/hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant