Files
devvm/tests
w3cjandClaude Opus 5.5 3168eb04ad test(e2e): a company proxy in config.toml, its password the proxy secret
The network section's company proxy came only from the shell's
HTTPS_PROXY. Now config.toml's [proxy] names it with its user alone and
the shell sets none: the launch is refused (proxy_password_missing) until
devvm secret set proxy --stdin saves the password, in the run's own
secret store; then the VM's proxy config names the secret and holds no
password, and the company proxy, which refuses requests without it,
carries github.com. Its password is in no process's arguments, log,
proxy config or guest after.

netNoLeaks looks for every company proxy's password the section used,
netCorp's and netOpen's, as it is, as user:password, as Basic's base64
and as the whole Proxy-Authorization value, and for each VM's proxy
password as it is and in Basic's base64, in devvm's logs, the VMs'
proxies' logs and Lima's. corpThrough matches only the events after its
launch, so an earlier launch's tunnel can't pass it (eventsFrom), and
corpNoLeak is shared by both launches.

netSetup deletes the section's secrets at its start as well as its end,
so a proxy secret a killed run left can't let the refused launch go
ahead, and it links the section's HOME to the Keychains folder on macOS
from the start, as devvm secret set proxy is now its first Keychain
write (netClaudeLogins made the link before).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-15 19:36:41 -07:00
..