hedgedoc/test
David Mehren b4a65b47f0
fix(auth): use sha-512 for auth tokens
Bcrypt hashes are too slow to be validated on every request.
As our tokens are random and have a fixed length, it is reasonable
to use SHA-512 instead.

SHA-512 is recommended as cryptographically strong by the BSI:
https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/TechGuidelines/TG02102/BSI-TR-02102-1.pdf?__blob=publicationFile

Fixes https://github.com/hedgedoc/hedgedoc/issues/1881

Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-09 23:04:00 +01:00
..
private-api fix(auth): use sha-512 for auth tokens 2021-12-09 23:04:00 +01:00
public-api test: fix note e2e test 'fails with non-existing alias' 2021-11-21 18:04:47 +01:00
test-setup.ts TestSetup: Initialize full app and session middleware 2021-10-21 19:51:23 +02:00
tsconfig.json Move tsconfig.test.json to test directory 2021-10-14 19:55:55 +02:00
tsconfig.json.license Move tsconfig.test.json to test directory 2021-10-14 19:55:55 +02:00
utils.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00