diff --git a/devtools/dump_devinfo.py b/devtools/dump_devinfo.py index b6c44fe5..7760b6cb 100644 --- a/devtools/dump_devinfo.py +++ b/devtools/dump_devinfo.py @@ -115,6 +115,10 @@ def scrub(res): "encrypt_info", "local_ip", "username", + # vacuum + "board_sn", + "custom_sn", + "location", ] for k, v in res.items(): @@ -153,7 +157,13 @@ def scrub(res): v = base64.b64encode(b"#MASKED_SSID#").decode() elif k in ["nickname"]: v = base64.b64encode(b"#MASKED_NAME#").decode() - elif k in ["alias", "device_alias", "device_name", "username"]: + elif k in [ + "alias", + "device_alias", + "device_name", + "username", + "location", + ]: v = "#MASKED_NAME#" elif isinstance(res[k], int): v = 0