fix(ui): add fallback for crypto.randomUUID in non-secure contexts#132
Closed
ratulsarna wants to merge 1 commit intoopenclaw:mainfrom
Closed
fix(ui): add fallback for crypto.randomUUID in non-secure contexts#132ratulsarna wants to merge 1 commit intoopenclaw:mainfrom
ratulsarna wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Contributor
|
Hi ratulsarna! Thanks for the PR! Where is this needed? |
Contributor
Author
Accessing the web UI via Tailscale IP over HTTP (e.g.,
Happy to close if HTTPS is the expected setup for remote access. |
crypto.randomUUID() requires HTTPS/localhost. When accessing the web UI via HTTP (e.g., Tailscale or LAN IP), the browser throws an error. Uses crypto.getRandomValues() as a fallback, which works in all contexts. Fixes #131 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4d1f595 to
3630652
Compare
Contributor
Author
|
Closing this for now, shouldn't have relied on Opus. It missed a few things. |
dgarson
referenced
this pull request
in dgarson/clawdbot
Feb 7, 2026
* feat: comprehensive refactoring and primitives proposals for later evaluation * Evaluate design proposals and add md * push readme * feat: gemini pro assessment
slathrop
referenced
this pull request
in slathrop/openclaw-js
Feb 11, 2026
- Extract resolveRawHomeDir and gate resolveEffectiveHomeDir through path.resolve() - Update resolveRequiredHomeDir to resolve process.cwd() fallback - Fix shortenMeta: remove colon split that conflicts with Windows drive letters - Update test assertions to use path.resolve() for expected values Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
slathrop
referenced
this pull request
in slathrop/openclaw-js
Feb 11, 2026
Tasks completed: 2/2 - Task 1: ChatType unification dm -> direct (#126) - Task 2: Windows paths + cross-platform tests (#127, #132, #133) Phase 13 complete (11/11 plans). SUMMARY: .planning/phases/13-paths-config-refactoring/13-11-SUMMARY.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crypto.randomUUID()is unavailablecrypto.getRandomValues()which works in all contextsFixes #131
Test plan
http://100.x.x.x:18789(Tailscale IP) - connects successfully🤖 Generated with Claude Code