codex icon indicating copy to clipboard operation
codex copied to clipboard

Pasting secret values pastes it to key instead

Open zuuxuux opened this issue 1 year ago • 2 comments

What version of Codex is running?

The cloud version

Which model were you using?

not applicable

What platform is your computer?

Linux 6.11.0-25-generic x86_64 x86_64

What steps can reproduce the bug?

  1. Add 2 environment variables
  2. Add a 3rd environment variable without a value (<<< this seems to key, if you pardon the pun)
  3. Add a single secret (key and value)
  4. Add a 2dn secret with just a key
  5. Try and paste secret value into focused second secret value

What is the expected behavior?

The second secret value should be pasted in the value field

What do you see instead?

Pasting text into secret value pastes it to the secret key

Additional information

No response

zuuxuux avatar May 20 '25 08:05 zuuxuux

I am having the same issue. If I paste certain values it will overwrite the key. If I paste my supabase postgres URL.

It breaks it apart at the equals sign.

MSPortal avatar May 23 '25 22:05 MSPortal

Thank you for the feedback! Please try the latest version of Codex CLI to see if the issue persists. If it does, we'd appreciate a report on the codex-rs/ implementation. You can find more details in our project update.

codex-maintainers avatar Aug 07 '25 18:08 codex-maintainers