Mask hw_id and fw_id

This commit is contained in:
Steven B 2024-12-14 11:43:23 +00:00
parent 099766b9d8
commit 9a25bdf7d5
No known key found for this signature in database
GPG Key ID: 6D5B46B3679F2A43

View File

@ -50,6 +50,8 @@ REDACTORS: dict[str, Callable[[Any], Any] | None] = {
"bssid": lambda _: "000000000000",
"channel": lambda _: 0,
"oem_id": lambda x: "REDACTED_" + x[9::],
"hw_id": lambda x: "REDACTED_" + x[9::],
"fw_id": lambda x: "REDACTED_" + x[9::],
"setup_code": lambda x: re.sub(r"\w", "0", x), # matter
"setup_payload": lambda x: re.sub(r"\w", "0", x), # matter
"mfi_setup_code": lambda x: re.sub(r"\w", "0", x), # mfi_ for homekit