From 598c7a4ffd7c8dae3e3a9fa6b381949a62f625af Mon Sep 17 00:00:00 2001
From: AlectoTheFirst <126573706+AlectoTheFirst@users.noreply.github.com>
Date: Thu, 19 Feb 2026 08:23:00 +0100
Subject: T6868: Monitoring Loki Basic Authentication Password Length Limit
Increase
Grafana Cloud token consist of several components that are put into a json structure, base64 encoded and have also a prefix.
Contents of the Token:
Name of the Token (max 255)
Organization (currently 7 digits)
Secret (fixed 24)
Region (longest currently 20)
That beeing said, the length can easily exceed 255 chars. They dont expect the Password to be longer than 500 chars. I propose to simply set 512.
---
interface-definitions/include/generic-password.xml.i | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface-definitions/include/generic-password.xml.i b/interface-definitions/include/generic-password.xml.i
index 76d5f12d8..0048e5173 100644
--- a/interface-definitions/include/generic-password.xml.i
+++ b/interface-definitions/include/generic-password.xml.i
@@ -7,9 +7,9 @@
Password
- [[:ascii:]]{1,128}
+ [[:ascii:]]{1,512}
- Password is limited to ASCII characters only, with a total length of 128
+ Password is limited to ASCII characters only, with a total length of 512
--
cgit v1.2.3