mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 02:35:23 -04:00
![]() The former length of 64 bytes (512-bit) is transformed into base64url (a 6-bit code) ~86 characters long. This is too long for bcrypt as it ignores any characters beyond the 72th. This fix therefore reduces the amount of generated bytes to 54 (as 72*6/8 = 54) characters. This ensures that removing one character from the token the hash won't be the same anymore. Signed-off-by: Philip Molares <philip.molares@udo.edu> |
||
---|---|---|
.. | ||
auth-token-with-secret.dto.ts | ||
auth-token.dto.ts | ||
auth-token.entity.ts | ||
auth.module.ts | ||
auth.service.spec.ts | ||
auth.service.ts | ||
mock-auth.guard.ts | ||
token-auth.guard.ts | ||
token.strategy.ts |