• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED14-Jan-2024661 2515

keystoreD14-Jan-20241.9 KiB

test.apkD14-Jan-20243.7 MiB

test.apk.idsigD14-Jan-202438.2 KiB

README

1The test data is generated as follows:
2
3$ keytool -keystore keystore -genkey -alias mykey
4The password for the keystore and the key is 123456.
5
6The signer information is set as follows:
7
8CN=Android, OU=Android, O=Android, L=Mountain View, ST=CA, C=US
9
10Build a random apk (Bluetooth.apk is chosen arbitrary)
11
12$ m Bluetooth
13$ cp $ANDROID_PRODUCT_OUT/system/app/Bluetooth.apk ./test.apk
14
15Sign it using the apksigner.
16
17$ m apksigner
18$ apksigner sign --ks keystore ./test.apk
19
20Check that the idsig file is created.
21
22$ ls -l test.apk*
23-rw-r----- 1 jiyong primarygroup 3888734 Jun  4 01:08 test.apk
24-rw-r----- 1 jiyong primarygroup   39115 Jun  4 01:08 test.apk.idsig
25