Skip to content

fix(windows): hide icacls during secret ACL hardening#155

Closed
Wibias wants to merge 1 commit into
lidge-jun:mainfrom
Wibias:fix/windows-acl-icacls-hide
Closed

fix(windows): hide icacls during secret ACL hardening#155
Wibias wants to merge 1 commit into
lidge-jun:mainfrom
Wibias:fix/windows-acl-icacls-hide

Conversation

@Wibias

@Wibias Wibias commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Kimi login failed with ACL hardening failed (ETIMEDOUT) because writing auth.json runs icacls with a 5s timeout.
  • On Windows, spawning icacls.exe without windowsHide: true from the GUI/proxy process can hang until that timeout.
  • This PR only adds windowsHide: true to the three ACL hardening icacls calls so OAuth login can finish.

Test plan

  • bun test tests/windows-secret-acl.test.ts
  • GUI Providers → Login Kimi (Moonshot) on Windows completes without ACL ETIMEDOUT

Spawning icacls without windowsHide from the GUI/proxy can hang until the 5s timeout (ETIMEDOUT), blocking Kimi and other OAuth logins that write auth.json.
@Wibias

Wibias commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Closing as duplicate — same icacls windowsHide fix already lands in #152.

@Wibias Wibias closed this Jul 19, 2026
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.

1 participant