Migrate ComposKeyTestCase to unit tests
Refactor SigningKey to allow it to be decoupled from Dice for
testing. Add unit tests with the same coverage as ComposKeyTestCase,
then remove the latter. (This does mean we are no longer testing the
code inside a VM, but that's covered by ComposTestCase and the end to
end tests.)
As a result we no longer need compos_key_cmd, so remove that. This is
a win as it was becoming a maintenance burden.
Bug: 213891964
Test: atest compsvc_device_tests
Change-Id: If863abcb4e89eeb97a4be6a4a958b691aa1446be
diff --git a/compos/apex/Android.bp b/compos/apex/Android.bp
index ea72018..aec3c88 100644
--- a/compos/apex/Android.bp
+++ b/compos/apex/Android.bp
@@ -33,7 +33,7 @@
key: "com.android.compos.key",
certificate: ":com.android.compos.certificate",
- // TODO(victorhsieh): make it updatable
+ // TODO(b/206618706): make it updatable
updatable: false,
future_updatable: true,
platform_apis: true,
@@ -42,7 +42,6 @@
binaries: [
// Used in Android
- "compos_key_cmd",
"compos_verify_key",
"composd",
"composd_cmd",