Replies: 1 comment 3 replies
-
Thanks for bringing that up @sabljak This callback id doesn't need to be cryptographically secure. We can go with something simpler than Curious, is the combobox not working for you because of this? Or is it just generating console warnings with no effect? Also curious, what's the use-case for not running on HTTPS? Is this an internal app or something? Not opposed to making the change, just want to understand the reasons for it before we do it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hotwire Combobox uses
crypto.randomUUID
to generate random Callback ID but that seems to be the problem when running the app in an HTTP environment sincerandomUUID()
is available only in secure contexts.What do you think about generating the Callback ID some other way, a custom implementation with crypto.getRandomValues() since it is the only member of the Crypto interface that can be used from an insecure context.
I can submit a PR if you are interested.
👋
Beta Was this translation helpful? Give feedback.
All reactions