warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.54k stars 377 forks source link

Should Warp be remembering private tokens? #5192

Closed Gabriel-p closed 3 months ago

Gabriel-p commented 4 months ago

Dupe Check

Describe the solution you'd like?

I realized that Warp stores the tokens I use and I'm not sure it should? For example I just used the poetry config pypi-token.pyp command to set up my Pypi account and I saw that my Pypi token was autocompleted from a previous usage.

Not sure if this is by design, at first glance it looks like a privacy issue.

Is your feature request related to a problem? Please describe.

Not really, just a question

Additional context

No response

How important is this feature to you?

1 (Not too important)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 3 months ago

Hi @Gabriel-p this is most likely the Autosuggestion feature which suggests commands based on your history. So if you ran that poetry config command in the past with the same parameters it will suggest it. You can disable this feature in the Command palette (CMD-P on Mac or CTRL-SHIFT-P on Linux), and search for "autosuggestions". https://docs.warp.dev/features/command-completions/autosuggestions

Also, this may help in the case that you do type in API keys, plaintext passwords, etc. Warp has a secret redaction feature to automatically hide them. https://docs.warp.dev/features/secret-redaction

Closing as these are just features that can be disabled. I hope this helps.