• Home
Name Date Size #Lines LOC

..--

keysets/03-May-2024-

tmp/03-May-2024-21

MakefileD03-May-2024266 1510

README.mdD03-May-2024830 2316

aesgcm.pyD03-May-20242.5 KiB9657

ec_helper.pyD03-May-20243.5 KiB10978

ec_helper_native.cD03-May-20243.8 KiB12085

provision-test.pyD03-May-202412.4 KiB376260

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