Go to file
openharmony_ci cd129e9260
!157 useriam部件化整改:部件名修改,目录名修改
Merge pull request !157 from caohongfei/master
2022-06-15 12:05:34 +00:00
common/inc update folder and optimize code 2022-05-14 23:23:48 +08:00
figures update readme 2022-05-09 17:26:24 +08:00
frameworks/face_auth useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00
interfaces/inner_api/face_auth update folder and optimize code 2022-05-14 23:23:48 +08:00
sa_profile fix bionic C uid 2022-04-22 17:34:31 +08:00
services useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00
test useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00
ui/Settings_FaceAuth update ui image 2022-06-09 15:44:06 +08:00
.gitattributes fix mock issue 2022-03-09 22:14:12 +08:00
.gitignore fix review issue 2022-03-22 09:45:04 +08:00
bundle.json useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00
LICENSE fix: UGO permission and copyright time liuwenkai@huawei.com 2022-03-12 17:03:17 +08:00
OAT.xml fix: code review liuwenkai@huawei.com 2022-03-24 17:46:51 +08:00
README_ZH.md useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00
README.md useriam部件化整改:部件名修改,目录修改 2022-06-14 19:09:55 +08:00

Face Authentication

Introduction

Face authentication (faceauth) supports recording, deletion, and authentication of user faces.

faceauth is a biometric authentication executor supported by OpenHarmony. It registers face authentication resource information with the collaborative authentication framework based on the resource registration interface defined by collaborative authentication, and invokes camera functions according to the scheduling of the collaborative authentication framework to record, delete, and authenticate user faces.

Figure 1 Face authentication architecture

Facial data is important biometric information of users. The following security measures are taken to protect the facial data during the authentication process:

  • Permission management: High access permissions are defined for face recording and deletion APIs, which can be invoked only by setter applications.
  • Secure storage and comparison of facial data: The faceauth HDI defines the adaptation interfaces for device vendors. Device vendors can implement secure facial data comparison and storage in a trusted execution environment (TEE). Note 1

Note 1: The OpenHarmony open-source framework provides stub implementation of face authentication for developers to demo the face authentication function. The stub software implementation does not include secure storage and comparison of facial data in a TEE.

Directory Structure

//base/useriam/face_auth
├── bundle.json              # Module description file
├── figures                  # Figures used in the README
├── sa_profile               # Service ability profile 
├── services                 # Service implementation
└── ui                       # User interface for face recording

Usage

  • To adapt to the face authentication function, device vendors must implement the APIs defined in the face_auth_ca.h file.
  • The extraction, comparison, storage, and recording of facial data must be implemented in a secure environment (TEE/secure chipset) to ensure the highest security level in the system.

Repositories Involved

useriam_auth_executor_mgr

useriam_user_idm

useriam_user_auth

useriam_pin_auth

useriam_faceauth