code-server/src/node
Joe Previte 7f12fab3ca
fix(isHashMatch): check that hash starts with $
Previously, we used argon2 to verify the hash with the password.

If the hash didn't start with a $, then it would enter the catch block.

Now we check the hash before trying to verify it and we also throw an Error if
the verify fails.

This makes the isHashMatch function more robust.
2021-06-30 15:00:21 -07:00
..
routes Fix incorrect logout base (#3611) 2021-06-15 15:11:01 -05:00
app.ts Share common util code with VS Code 2021-05-04 13:29:40 -05:00
cli.ts feat: check for empty str in isHashMatch 2021-06-08 15:10:59 -07:00
coder_cloud.ts remove references of coder could 2021-03-16 22:59:30 -04:00
constants.ts Add dev mode constant 2021-05-05 10:16:01 -05:00
entry.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
heart.ts heart.ts: Fix leak when server closes 2021-01-20 02:06:44 -05:00
http.ts fix: sanitize password and cookie key 2021-06-08 14:33:17 -07:00
main.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
plugin.ts Delegate authentication to plugins 2021-02-12 16:50:23 -06:00
proxy.ts Update proxy path passthrough documentation 2021-02-05 11:44:38 -05:00
proxy_agent.ts proxy_agent: Use proxy-from-env for robustness 2020-12-18 11:10:07 -05:00
settings.ts Replace fs-extra with fs.promises 2021-03-16 12:51:08 -05:00
socket.ts chore: update CHANGELOG 2021-05-13 12:10:22 -07:00
update.ts update.ts: Fix response memory leak 2020-12-04 02:34:43 -05:00
util.ts fix(isHashMatch): check that hash starts with $ 2021-06-30 15:00:21 -07:00
vscode.ts Fix tsc watch restarting when it shouldn't 2021-04-01 10:58:56 -05:00
wrapper.ts feat: bump ts-node to 9.1.1 2021-03-30 16:46:49 -07:00
wsRouter.ts Add health websocket 2021-02-09 13:09:33 -06:00