fix: improve API key security, add connection banner, and bump to v0.3.0

This commit is contained in:
anoracleofra-code
2026-03-08 19:52:07 -06:00
parent e7521088a0
commit 0c7dc37d83
252 changed files with 1470 additions and 558 deletions
+2 -2
View File
@@ -145,12 +145,12 @@ def get_api_keys():
"has_key": api["env_key"] is not None,
"env_key": api["env_key"],
"value_obfuscated": None,
"value_plain": None,
"is_set": False,
}
if api["env_key"]:
raw = os.environ.get(api["env_key"], "")
entry["value_obfuscated"] = _obfuscate(raw)
entry["value_plain"] = raw # Sent only when reveal is requested
entry["is_set"] = bool(raw)
result.append(entry)
return result