Files
LuK1337 9c4235f3ea evolution-priv_keys-template: Initial commit
Change-Id: I74b9d102a0424652b674b118b25419d6d9280d9c
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-08-05 10:20:46 -07:00

25 lines
727 B
Markdown

# evolution-priv_keys-template
# Usage
```bash
croot && git clone https://github.com/Evolution-X/vendor_evolution-priv_keys-template vendor/evolution-priv/keys
```
```bash
cd vendor/evolution-priv/keys
```
```
./keys.sh
```
# Testing
Included `check_keys.py` script checks whether all apk/apex/capex files in the build out are signed with keys within its directory. Be aware that some targets are **expected** to be signed with vendor key, for example `com.android.apex.cts.shim.v1_prebuilt`.
```
$ ./check_keys.py ~/evolution/out/target/product/lynx
/home/ab/evolution/out/target/product/lynx/obj/ETC/com.android.apex.cts.shim.v1_prebuilt_intermediates/com.android.apex.cts.shim.apex is signed with an unknown key!
```