Document cookie, PASSWORD and HASHED_PASSWORD environment variables
See original GitHub issueSteps to Reproduce
echo -n "thisismypassword" | npx argon2-cli -e
HASHED_PASSWORD="<hash>" code-server
- Try logging in
Expected
It should work
Actual
Incorrect password
Reported here https://github.com/coder/code-server/discussions/4684
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Passport.js Local Strategy + bcrypt + Hashed password stored ...
js local strategy with bcrypt to check if the password entered matches the 10 round hash that I store in an environment variable...
Read more >Hashing Passwords: One-Way Road to Security - Auth0
Hashing passwords is the foundation of secure password storage. ... Finally, print the hash variable to see the hash value in the console:...
Read more >Node JS | Password Hashing with Crypto module
Crypto module for Node JS helps developers to hash user password. Examples: Original Password : portalforgeeks Hashed Password ...
Read more >Authentication with Bcrypt, JWT, and Cookies in Deno 2022
This file is responsible for loading the environment variables from the .env file and providing their corresponding TypeScript types.
Read more >Build Node.js User Authentication - Password Login - YouTube
In this video we are going to build a secure Node.js user authentication system. I will be covering all of the security concerns...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem here with the only difference that we use the
key
cookie to (automatically) authenticate the users as mentioned here.B.t.w., I searched the docs and neither the environment variables
PASSWORD
orHASHED_PASSWORD
, nor the authentication cookiekey
are mentioned anywhere. The environmental variables are mentioned incode-server --help
but not the cookie. Should these things be documented or are they subject to changes?+1 on https://docs.linuxserver.io/images/docker-code-server