Pasting secret values pastes it to key instead

Resolved 💬 2 comments Opened May 20, 2025 by zuuxuux Closed Aug 7, 2025

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_

View original on GitHub ↗

2 Comments

MSPortal · 1 year ago

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.

codex-maintainers · 1 year ago

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.