Closed as not planned
Description
Problem
As a user, I would like to be able to hash my password using the same bcrypt
algorithm used by code-server.
However, the bcrypt
and bcrypt.js
algorithms are different so you can't in the same way you can with sha256
.
Solution
Add a CLI option to set password (which we hash for User using bcrypt
)
code-server --config password=<password>
-> hashes and stores in config.yaml
(open to other ideas for this though^)
Todos
- update docs
- add backwards-compatiblity for those still hashing with sha256
- let user provide password via stdin to avoid having the plaintext password in their shell history