Skip to content

Commit

Permalink
Recommended by 1.6 spec is a 20 byte (40 chars) key.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpseng committed Apr 24, 2024
1 parent 953f50b commit f7b92a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class WebSocketListener implements Listener {
private static final int TIMEOUT_IN_MILLIS = 10000;

private static final int OCPPJ_CP_MIN_PASSWORD_LENGTH = 16;
private static final int OCPPJ_CP_MAX_PASSWORD_LENGTH = 20;
private static final int OCPPJ_CP_MAX_PASSWORD_LENGTH = 40;

private static final String HTTP_HEADER_PROXIED_ADDRESS = "X-Forwarded-For";

Expand Down

0 comments on commit f7b92a3

Please sign in to comment.