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

Supervisor: requestId fallback for non-secure contexts #892

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

brandonfancher
Copy link
Contributor

window.crypto.randomUUID() is not available in non-secure contexts (i.e., HTTP). While UUIDs are best for this, there's no harm falling back to Math.random, as this has little to do with security. This is implemented for the benefit of developers running test chains on HTTP.

@brandonfancher brandonfancher merged commit 091c0df into main Oct 21, 2024
4 checks passed
@brandonfancher brandonfancher deleted the bf/supervisor-uuid-fallback branch October 21, 2024 22:16
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