Files
codex/codex-rs
Dylan Hurd 04cfdee311 Ensure Windows sandbox passwords include every character class (#62094)
## Why

Randomly sampling a combined alphabet can omit character classes required by the machine's password policy, causing sandbox account password updates to fail.

## What changed

Generate 24-character passwords with `OsRng`, guarantee uppercase and lowercase letters, digits, and symbols, and shuffle the result.

## Testing

- Add a regression test checking length, allowed characters, and all four character classes across 256 generated passwords.
- Let the profile cleanup test wait up to 10 seconds for directory deletion to complete, tolerating transient access, sharing, and delete-pending errors after `DeleteProfileW` succeeds.

GitOrigin-RevId: f3adc1249383d7ad769a4e230f978df4a02cd4d3
2026-11-17 18:45:10 +00:00
..
…
…
…
…