Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
keysets/ | 03-May-2024 | - | ||||
tmp/ | 03-May-2024 | - | 2 | 1 | ||
Makefile | D | 03-May-2024 | 266 | 15 | 10 | |
README.md | D | 03-May-2024 | 830 | 23 | 16 | |
aesgcm.py | D | 03-May-2024 | 2.5 KiB | 96 | 57 | |
ec_helper.py | D | 03-May-2024 | 3.5 KiB | 109 | 78 | |
ec_helper_native.c | D | 03-May-2024 | 3.8 KiB | 120 | 85 | |
provision-test.py | D | 03-May-2024 | 12.4 KiB | 376 | 260 |
README.md
1# Key Provisioning Test Suite 2 3This directory contains a test script to verify that a device 4works with the Android Things key provisioning protocol. Usage: 5 6./provision-test.py -a [p256|x25519] -s FASTBOOT_SERIAL_NUMBER 7 -o [ISSUE|ISSUE_ENC] 8 9## Dependencies 10 11Install openssl, python cryptography, pycurve25519. Build ec_helper_native.so 12in this directory ($ make ec_helper_native). Build and install fastboot from 13AOSP master. 14 15## How to get key sets 16 17provision-test.py looks for key set payloads unencryped.keyset and 18encrypted.keyset and under the keysets/ directory. Provided here are 19files that contain test keys that do not verify to the real Android 20Things Root CA. unencrypted.keyset is simply a raw CA Response 21Message. encrypted.keyset encrypts unencrypted.keyset with a global key 22of 16 zero bytes. 23