Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
figures/ | 12-May-2024 | - | ||||
sa_profile/ | 12-May-2024 | - | 99 | 78 | ||
services/ | 12-May-2024 | - | 5,117 | 4,137 | ||
ui/Settings_FaceAuth/ | 12-May-2024 | - | 3,716 | 3,466 | ||
.gitattributes | D | 12-May-2024 | 57 | 7 | 4 | |
.gitignore | D | 12-May-2024 | 8 | 2 | 1 | |
LICENSE | D | 12-May-2024 | 9.9 KiB | 177 | 150 | |
OAT.xml | D | 12-May-2024 | 1.2 KiB | 30 | 11 | |
README.md | D | 12-May-2024 | 960 | 37 | 25 | |
README_ZH.md | D | 12-May-2024 | 2.4 KiB | 52 | 32 | |
bundle.json | D | 12-May-2024 | 1.3 KiB | 50 | 49 | |
useriam.gni | D | 12-May-2024 | 1.1 KiB | 23 | 21 |
README.md
1# useriam_faceauth 2 3#### Description 4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} 5 6#### Software Architecture 7Software architecture description 8 9#### Installation 10 111. xxxx 122. xxxx 133. xxxx 14 15#### Instructions 16 171. xxxx 182. xxxx 193. xxxx 20 21#### Contribution 22 231. Fork the repository 242. Create Feat_xxx branch 253. Commit your code 264. Create Pull Request 27 28 29#### Gitee Feature 30 311. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 322. Gitee blog [blog.gitee.com](https://blog.gitee.com) 333. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 344. The most valuable open source project [GVP](https://gitee.com/gvp) 355. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 366. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 37
README_ZH.md
1# 人脸认证组件 2 3- [简介](#简介) 4- [目录](#目录) 5- [使用说明](#使用说明) 6- [相关仓](#相关仓) 7 8## 简介 9 10**人脸认证** (faceauth)支持用户人脸的录入,删除和认证功能。 11 12人脸认证是OpenHarmony支持的一种生物认证执行器,按照协同认证定义的资源注册接口,将人脸认证相关资源信息注册到协同认证框架,并根据协同认证框架的调度,调用相机功能,完成人脸的录入,删除和认证功能。 13 14**图1** 人脸认证架构图 15 16<img src="figures/FaceAuthArchitecture.png" alt="口令认证架构图" /> 17 18人脸数据是用户的重要生物识别信息,在人脸认证的处理过程中,我们对用户输入的人脸数据实施了如下安全保护措施: 19 201. 管理权限:人脸的录入和删除流程定义了较高的访问权限,仅允许设置应用调用。 211. 人脸数据安全存储和比对:人脸认证HDI中定义了南向厂商适配的接口,南向厂商可以自行在可信执行环境内完成人脸数据的安全存储和比对。<sup>注1</sup> 22 23*注1:OpenHarmony开源框架内提供了人脸认证的桩实现,供开发者demo人脸认证功能,桩软件实现部分未包含可信执行环境内完成人脸数据的安全存储和比对。* 24 25## 目录 26 27``` 28//base/user_iam/face_auth 29├── bundle.json # 组件描述文件 30├── figures # README使用的图片 31├── sa_profile # Service Ability 配置文件 32├── services # Service Ability 服务实现 33├── useriam.gni # 构建配置 34└── ui # 人脸录入界面 35``` 36 37## 使用说明 38 39* 南向厂商适配人脸认证功能时,需实现头文件`face_auth_ca.h` 中定义的接口。人脸数据的提取、比对、存储和录入等过程应在尽可能安全的环境中实现,保证用户人脸数据的的安全保护达到系统内可以提供的最高安全级别(可信执行环境/安全芯片)。 40 41## 相关仓 42 43[useriam_auth_executor_mgr](https://gitee.com/openharmony/useriam_auth_executor_mgr) 44 45[useriam_user_idm](https://gitee.com/openharmony/useriam_useridm) 46 47[useriam_user_auth](https://gitee.com/openharmony/useriam_userauth) 48 49[useriam_pin_auth](https://gitee.com/openharmony/useriam_pin_auth) 50 51**[useriam_faceauth](https://gitee.com/openharmony/useriam_faceauth)** 52