Home | History | Annotate | only in /system/iot/attestation/partner-tools
Up to higher level directory
NameDateSize
aesgcm.py21-Aug-20182.5K
ec_helper.py21-Aug-20183.5K
ec_helper_native.c21-Aug-20183.8K
keysets/21-Aug-2018
Makefile21-Aug-2018266
provision-test.py21-Aug-201812.4K
README.md21-Aug-2018830
tmp/21-Aug-2018

README.md

      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