fix: unify PIN hashing across CLI, FSM, and web (closes #2) #7
@@ -49,6 +49,8 @@ def show_cmd(config_path: str | None) -> None:
|
||||
data["web"]["password_hash"] = "***"
|
||||
if data.get("security", {}).get("pin_hash"):
|
||||
data["security"]["pin_hash"] = "***"
|
||||
if data.get("security", {}).get("recovery_passphrase_hash"):
|
||||
data["security"]["recovery_passphrase_hash"] = "***"
|
||||
if data.get("alerts", {}).get("webhook", {}).get("secret"):
|
||||
data["alerts"]["webhook"]["secret"] = "***"
|
||||
click.echo(json.dumps(data, indent=2))
|
||||
|
||||
Reference in New Issue
Block a user