Allow secrets larger than 4096 characters

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Cursor does not allow secrets larger than 4096. To allow to easy potability, and rotation of our secrets we base64 encode them. This works very well in our CI/CD systems (Github etc), however Cursor doesn’t allow for large env values.

Failed to save secrets: "my_large_secret": Secret value with length 32224 exceeds max length of 4096

Steps to Reproduce

Try to use a secret with a length larger than 4096 characters

Operating System

Linux

Version Information

Current web version

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey there!

We have some technical constraints at the moment around encryption that limit secret size. I’ve added your report to the ticket where we’re tracking potentially increasing this.