platform_system_core/trusty/confirmationui
Tri Vo 8da3ee71a3 trusty: Collect sancov file from confirmationui fuzzer
Bug: 174402999
Test: trusty_confirmationui_fuzzer
Change-Id: I06a7b475c0023cf1530aff636e5ac2295009fd73
2021-01-14 21:25:10 -08:00
..
fuzz trusty: Collect sancov file from confirmationui fuzzer 2021-01-14 21:25:10 -08:00
include First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
.clang-format First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
Android.bp First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
android.hardware.confirmationui@1.0-service.trusty.rc First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
android.hardware.confirmationui@1.0-service.trusty.xml First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
NotSoSecureInput.cpp Update language to comply with Android's inclusive language guidance 2020-07-31 16:36:06 -06:00
README First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
service.cpp First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
TrustyApp.cpp First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
TrustyApp.h First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
TrustyConfirmationUI.cpp First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00
TrustyConfirmationUI.h First working version of the confirmationui HAL service 2020-01-17 16:34:48 -08:00

## 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.