diff options
| author | 2025-02-27 17:25:22 -0800 | |
|---|---|---|
| committer | 2025-03-03 22:23:41 +0000 | |
| commit | 00e236eb6e87b8bae0dfcdca67bee67ccd5d014c (patch) | |
| tree | e1c543a9ca5ef2240e672cbda98c976caadccf8b /libs/androidfw/misc.cpp | |
| parent | 75aba17274546fed135c3c5b505221d17cab9c6f (diff) | |
Add install-time SDM signature verification.
SDM is a new file format that contains the cloud compilation artifacts.
As a requirement, the SDM file should be signed with the same key as
the apk.
This CL adds the SDM signature verification. If the verification fails,
the package manager will fail the installation.
Bug: 377474232
Change-Id: Ife6ee0fe10c9cee722705ef9f7497028e22036ff
Test: Installed app signed with an incorrect key and verified that
INSTALL_FAILED_INVALID_APK is thrown
Flag: android.content.pm.cloud_compilation_verification
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions