openharmony_ci 59b8eb946f
!151 delete unuse deps
Merge pull request !151 from 王国强/master
2022-06-09 08:40:42 +00:00
2022-05-09 17:26:24 +08:00
2022-04-22 17:34:31 +08:00
2022-06-09 11:02:00 +08:00
2022-06-09 15:44:06 +08:00
2022-03-09 22:14:12 +08:00
2022-03-22 09:45:04 +08:00
2022-03-24 17:46:51 +08:00
2022-05-14 23:23:48 +08:00
2022-04-12 17:40:44 +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/user_iam/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

Description
No description provided
Readme Pixar 1.3 MiB
Languages
C++ 96%
TypeScript 2.3%
C 1.4%
JavaScript 0.3%