No description
Find a file
Alan Stokes cd193a9f54 Handle instance files in odsign.
Each CompOS VM (pending or current) will need an instance file.

Add checking/use of these to odsign.

I now believe it never makes sense for odsign to attempt to generate a
new CompOS keypair; CompOS can do that itself when appropriate. So
remove a bunch of code related to that (it's been re-implemented in
CompOS in Rust anyway).

FakeCompOs now takes an instance file parameter, although only the
real CompOS will do anything with it.

Move all the instance & key files to
/data/misc/apexdata/com.android.compos, since CompOS should own them.

More refactoring & general tinkering.

This is all still behind "if (false)", but we're getting closer to
removing that.

Fix: 194654666
Test: Manual: Pending but no current instance; pending and current;
Test: current only with and without cert; no instances but valid cert;
Test: no compos files at all; invalid pending keys;
Test: invalid current keys.
Change-Id: Ie92ba414415b237512621c76c647640508f4b1e6
2021-08-02 08:29:35 -07:00
fsverity_init Improved error checking for fsverity_init/odsign. 2021-06-11 10:01:33 +01:00
identity Changing libcppbor dependency 2021-04-05 17:51:43 -07:00
keystore libkeystore-wifi-hidl: Updated to vendor_available:true 2021-06-11 11:06:26 +05:30
keystore-engine Merge "Keystore 2.0: Remove Keystore 1.0 and remaining references" 2021-04-07 19:30:12 +00:00
keystore2 Fix warnings in preparation for Rust 1.54.0 2021-07-27 16:10:08 -07:00
ondevice-signing Handle instance files in odsign. 2021-08-02 08:29:35 -07:00
provisioner Print device keys in test mode 2021-07-27 11:19:46 -07:00
.clang-format Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00
.gitignore Add .gitignore. 2020-11-24 09:59:17 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/security 2021-02-14 10:37:25 -08:00
METADATA Add METADATA to system/security: Apache2+BSD=NOTICE 2020-05-04 13:15:58 -07:00
MODULE_LICENSE_APACHE2 Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
NOTICE Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
OWNERS Add jbires to system/security OWNERS 2021-07-23 11:07:13 -07:00
PREUPLOAD.cfg Update rustfmt options 2020-08-19 15:19:21 +00:00
rustfmt.toml Enable rustfmt for system/security 2020-06-23 15:50:23 +02:00