修复跨设备认证中pin码明文传输导致的安全问题

Signed-off-by: renguang1116 <renguang@huawei.com>
This commit is contained in:
renguang1116
2022-05-26 23:11:04 +08:00
parent e7f01aab4f
commit 8f16fd6607
5 changed files with 24 additions and 10 deletions
+1
View File
@@ -143,6 +143,7 @@ const int32_t AUTH_TYPE_SCAN = 2;
const int32_t AUTH_TYPE_TOUCH = 3;
const int32_t DEFAULT_PIN_CODE = 0;
const int32_t DEFAULT_PIN_TOKEN = 0;
const int32_t DEFAULT_PIN_CODE_LENGTH = 6;
// Softbus
const int32_t SOFTBUS_CHECK_INTERVAL = 100000; // 100ms