增加密钥hash,方便客户端判断加密是否一致

This commit is contained in:
lbl8603
2024-04-20 21:27:35 +08:00
parent 0cbc3e0f63
commit 137efe20b8
9 changed files with 67 additions and 10 deletions
+2
View File
@@ -24,6 +24,7 @@ message RegistrationRequest {
fixed32 virtual_ip = 6;
bool allow_ip_change = 7;
bool client_secret = 8;
bytes client_secret_hash = 9;
}
message RegistrationResponse {
@@ -41,6 +42,7 @@ message DeviceInfo {
fixed32 virtual_ip = 2;
uint32 device_status = 3;
bool client_secret = 4;
bytes client_secret_hash = 5;
}
message DeviceList {