1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
fuzz Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
include Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
.clang-format Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
NotSoSecureInput.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TrustyApp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TrustyApp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TrustyConfirmationUI.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TrustyConfirmationUI.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
android.hardware.confirmationui@1.0-service.trusty.rc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
android.hardware.confirmationui@1.0-service.trusty.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
service.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

## Secure UI Architecture

To implement confirmationui a secure UI architecture is required. This entails a way
to display the confirmation dialog driven by a reduced trusted computing base, typically
a trusted execution environment (TEE), without having to rely on Linux and the Android
system for integrity and authenticity of input events. This implementation provides
neither. But it provides most of the functionlity required to run a full Android Protected
Confirmation feature when integrated into a secure UI architecture.

## Secure input (NotSoSecureInput)

This implementation does not provide any security guaranties.
The input method (NotSoSecureInput) runs a cryptographic protocols that is
sufficiently secure IFF the end point is implemented on a trustworthy
secure input device. But since the endpoint is currently in the HAL
service itself this implementation is not secure.

NOTE that a secure input device end point needs a good source of entropy
for generating nonces. The current implementation (NotSoSecureInput.cpp#generateNonce)
uses a constant nonce.