diff --git a/scripts/wrappers/add_token.py b/scripts/wrappers/add_token.py index 6cbda8bfd1..8ae4c2d876 100644 --- a/scripts/wrappers/add_token.py +++ b/scripts/wrappers/add_token.py @@ -163,10 +163,10 @@ def print_short(token, check): if args.token is not None: token = args.token else: - token = token_hex(16) + token = token_hex(32) if len(token) < TOKEN_ΜΙΝ_LEN: - print("Invalid token size. It must be 32 characters long.") + print("Invalid token size. It must be 32 bytes long.") exit(1) add_token_with_expiry(token, cluster_tokens_file, ttl)