You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
A Windows CI job that runs the Windows file-permission specs for the CLI configuration whenever the configuration writer or its specs change. It fails when no spec runs or any spec is skipped.
Changed
The CLI configuration file on Windows is now saved with permissions that only the current user can read. An existing file is checked before it is replaced, and the saved file is checked again afterwards.
An existing configuration whose permissions grant access to other accounts directly, or that is owned by another account, is no longer replaced silently. The CLI stops with a message explaining how to review or remove the existing file.
Security
Hardened how the CLI stores its configuration on Windows, so stored credentials are not readable by other local accounts. If the permissions cannot be confirmed, the previous file is left in place and the temporary file is removed.