Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
aesgcm.py | 21-Aug-2018 | 2.5K | |
ec_helper.py | 21-Aug-2018 | 3.5K | |
ec_helper_native.c | 21-Aug-2018 | 3.8K | |
keysets/ | 21-Aug-2018 | ||
Makefile | 21-Aug-2018 | 266 | |
provision-test.py | 21-Aug-2018 | 12.4K | |
README.md | 21-Aug-2018 | 830 | |
tmp/ | 21-Aug-2018 |
1 # Key Provisioning Test Suite 2 3 This directory contains a test script to verify that a device 4 works 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 11 Install openssl, python cryptography, pycurve25519. Build ec_helper_native.so 12 in this directory ($ make ec_helper_native). Build and install fastboot from 13 AOSP master. 14 15 ## How to get key sets 16 17 provision-test.py looks for key set payloads unencryped.keyset and 18 encrypted.keyset and under the keysets/ directory. Provided here are 19 files that contain test keys that do not verify to the real Android 20 Things Root CA. unencrypted.keyset is simply a raw CA Response 21 Message. encrypted.keyset encrypts unencrypted.keyset with a global key 22 of 16 zero bytes. 23