Skip to content

use machine scope instead of user scope for dpapi.#9713

Merged
iceweasel-oai merged 1 commit intomainfrom
dev/iceweasel/dpapi-machine-scope
Jan 23, 2026
Merged

use machine scope instead of user scope for dpapi.#9713
iceweasel-oai merged 1 commit intomainfrom
dev/iceweasel/dpapi-machine-scope

Conversation

@iceweasel-oai
Copy link
Collaborator

This fixes a bug where the elevated sandbox setup encrypts sandbox user passwords as an admin user, but normal command execution attempts to decrypt them as a different user.

Machine scope allows all users to encyrpt/decrypt

this PR also moves the encrypted file to a different location .codex/.sandbox-secrets which the sandbox users cannot read.

@etraut-openai
Copy link
Collaborator

@codex review

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Collaborator

@etraut-openai etraut-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! lgtm.

@iceweasel-oai iceweasel-oai merged commit 0e4adcd into main Jan 23, 2026
32 checks passed
@iceweasel-oai iceweasel-oai deleted the dev/iceweasel/dpapi-machine-scope branch January 23, 2026 00:40
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants