Skip to content

Commit eabf847

Browse files
committed
added newline at end of file
MD047/single-trailing-newline Files should end with a single newline character
1 parent e269106 commit eabf847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • submissions/description/insufficient_security_configurability/weak_jwt_hashing_algorithm

submissions/description/insufficient_security_configurability/weak_jwt_hashing_algorithm/recommendations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Implement a strong asymmetric signing algorithm such as RS256 or ES256 with properly managed keys, or use HS256 with a cryptographically random secret of at least 256 bits and never exposed in client-side code.
44

5-
Explicitly reject the none algorithm in the JWT validation logic. Validate the alg header against a server-side allowlist and reject tokens with unexpected algorithms. If using a symmetric algorithm, ensure the signing secret is at least 256 bits of cryptographically random data and is never exposed in client-side code.
5+
Explicitly reject the none algorithm in the JWT validation logic. Validate the alg header against a server-side allowlist and reject tokens with unexpected algorithms. If using a symmetric algorithm, ensure the signing secret is at least 256 bits of cryptographically random data and is never exposed in client-side code.

0 commit comments

Comments
 (0)