mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-07-08 13:27:50 +02:00
fix: address Hacker News feedback (connection banner, API keys, etc.) and bump version to v0.3.0
Former-commit-id: db1722a99e3ea7fd8afb296f186f57799bf4b695
This commit is contained in:
@@ -1 +1 @@
|
||||
d26d4853d26982fe4435566ea7c74b154af9be5f
|
||||
e40be55abe156d5608ae260604e6c9cdd271e554
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user