Open hutch3232 opened 1 week ago
Ahhh yeah we should have called ours CODE_SERVER_PASSWORD
or something like that to avoid conflicts.
I think it might be risky not to delete it, users might be relying on that behavior now.
Is it possible you could use a different name or put it into the shell profile?
Maybe if auth
is set to none
we could avoid deleting PASSWORD
, but as mentioned I am not sure if that might cause any security-related issues for folks that might be relying on the current behavior.
Thank you for taking a look at this. Understand your concern. I can try to work it out on my end. Just thought I'd report it to see if it was something that could be easily changed. Thanks!
Is there an existing issue for this?
OS/Web Information
code-server --version
: v4.10.0Steps to Reproduce
PASSWORD
in the docker environmentecho $PASSWORD
<- does not existExpected
My
PASSWORD
env var should still exist in the launched code-server terminal, like all of my other env vars set in an identical manner.Actual
I have the
PASSWORD
environmental variable set for an unrelated tool. When I launch code-server, I no longer have that environmental variable set. Would it be possible to not unset it?I launch code-server like this:
And this is in a dockerized kubernetes container (lingo might be off...).
Logs
No response
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
I saw this issue: https://github.com/coder/code-server/issues/6698 which isn't really the same but vaguely related.