docs/code(huya): 设备标识符命名规范落地 - 全库HDID32/GUID32/DEVID40前缀化去混
- docs/HUYA_ID_NOMENCLATURE.md: 规范总表 + 三条强制规则 + 代码变量对应 - 4 篇主文档头部去混声明 + §11.x 被证伪假设行标注更正 - 代码: GOLDEN_HDID→GOLDEN_HDID32, device_profile.HDID→HDID32, wup_encoder/app_login 注释前缀化 - 后续所有表述必须以 GUID32(doLaunch) / HDID32(登录t1.t0) / DEVID40(t5) 前缀书写
This commit is contained in:
@@ -31,7 +31,7 @@ try:
|
||||
except Exception: # pragma: no cover
|
||||
HAVE_REG = False
|
||||
|
||||
GOLDEN_HDID = "ed0db8334cadd236c00cadf7e11ab5a5" # 金样本 hdid (对照基线)
|
||||
GOLDEN_HDID32 = "ed0db8334cadd236c00cadf7e11ab5a5" # 金样本 HDID32 (登录t1.t0设备证书, 对照基线)
|
||||
URL = "https://wup.huya.com"
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@ def full_control_login(account: str, password: str) -> str:
|
||||
return "REJECTED:no-reg-chain"
|
||||
t1, t2, t5 = gen_fresh_identity()
|
||||
print(f"[reg] t1={t1} t2={t2[:16]}... t5={t5}")
|
||||
out = login_with_registered(t2, t5, account, password, golden_hdid=GOLDEN_HDID)
|
||||
print(f"[login] 金样本hdid={GOLDEN_HDID} -> {_brief(out)}")
|
||||
out = login_with_registered(t2, t5, account, password, golden_hdid=GOLDEN_HDID32)
|
||||
print(f"[login] 金样本HDID32={GOLDEN_HDID32} -> {_brief(out)}")
|
||||
return out
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user