mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
## 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