Source release 17.1.1
This commit is contained in:
10
factory_upload_tool/ce/README
Normal file
10
factory_upload_tool/ce/README
Normal file
@@ -0,0 +1,10 @@
|
||||
Instructions:
|
||||
1. Write the main function or modify the example main function in example_main.cpp
|
||||
2. To compile the example_main:
|
||||
clang++ *.cpp ../common/src/*.cpp ../../util/src/string_conversions.cpp -ldl -rdynamic -I../../util/include -I../../oemcrypto/include -I../common/include -o example_main.out
|
||||
3. Specify the location of liboemcrypto.so:
|
||||
export LIBOEMCRYPTO_PATH=/path/to/liboemcrypto.so
|
||||
4. Run the main program to extract the BCC and save it to a file.
|
||||
./example_main.out > csr.bin
|
||||
5. Upload the csr.bin with the following command. cred.json is the OAuth 2.0 client credentials obtained via Google cloud platform.
|
||||
python3 upload.py --credentials=cred.json --org-name={your organization name} --json-csr=csr.bin
|
||||
Reference in New Issue
Block a user