From 77c353950f2acfbe740c90725c877a6790f1ae94 Mon Sep 17 00:00:00 2001 From: wpy88 Date: Tue, 15 Jul 2025 19:16:26 +0800 Subject: [PATCH 1/4] add privacy warning Signed-off-by: wpy88 --- security/huks/include/native_huks_type.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index 5a4bbb3ef..02adf0fbb 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -606,9 +606,13 @@ enum OH_Huks_ChallengePosition { */ enum OH_Huks_SecureSignType { /** - * The signature carries authentication information. This field is specified when a key - * is generated or imported. When the key is used to sign data, the data will be added with - * the authentication information and then be signed. + * The signature carries authentication information. This field is specified when a key + * is generated or imported. When the key is used to sign data, the data will be added with + * the authentication information and then be signed. + * The carried authentication information contains personal identification details. Developers are required + * to clearly state the purpose of use, retention policy, and destruction method of such personal information in + * their privacy policy. + */ OH_HUKS_SECURE_SIGN_WITH_AUTHINFO = 1, }; -- Gitee From fd75768a8ee465fa285bde5ff6b5e2aa4a0c4b81 Mon Sep 17 00:00:00 2001 From: wpy88 Date: Wed, 16 Jul 2025 09:59:29 +0800 Subject: [PATCH 2/4] policy to statement Signed-off-by: wpy88 --- security/huks/include/native_huks_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index 02adf0fbb..8739dad96 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -611,7 +611,7 @@ enum OH_Huks_SecureSignType { * the authentication information and then be signed. * The carried authentication information contains personal identification details. Developers are required * to clearly state the purpose of use, retention policy, and destruction method of such personal information in - * their privacy policy. + * their privacy statement. */ OH_HUKS_SECURE_SIGN_WITH_AUTHINFO = 1, -- Gitee From ef0ebd6119ae610ab2108d7c0de49fdfa9e03025 Mon Sep 17 00:00:00 2001 From: wpy88 Date: Wed, 16 Jul 2025 16:55:09 +0800 Subject: [PATCH 3/4] policy to statement 2 Signed-off-by: wpy88 --- security/huks/include/native_huks_type.h | 1 - 1 file changed, 1 deletion(-) diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index 8739dad96..4000c5300 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -612,7 +612,6 @@ enum OH_Huks_SecureSignType { * The carried authentication information contains personal identification details. Developers are required * to clearly state the purpose of use, retention policy, and destruction method of such personal information in * their privacy statement. - */ OH_HUKS_SECURE_SIGN_WITH_AUTHINFO = 1, }; -- Gitee From 0ee60fcb0a893cdc58588e1da571b193f2d3005f Mon Sep 17 00:00:00 2001 From: wpy88 Date: Mon, 21 Jul 2025 19:47:09 +0800 Subject: [PATCH 4/4] add private notice Signed-off-by: wpy88 --- security/huks/include/native_huks_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index 4000c5300..a4c3d0f5a 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -609,6 +609,7 @@ enum OH_Huks_SecureSignType { * The signature carries authentication information. This field is specified when a key * is generated or imported. When the key is used to sign data, the data will be added with * the authentication information and then be signed. + * NOTICE: * The carried authentication information contains personal identification details. Developers are required * to clearly state the purpose of use, retention policy, and destruction method of such personal information in * their privacy statement. -- Gitee