Version 18.1
Updates to OEMCrypto API, OPK, ODK, and unit tests. See the file CHANGELOG.md for details.
This commit is contained in:
committed by
John "Juce" Bruce
parent
5232c51e33
commit
562f64f292
@@ -16,7 +16,7 @@ OEM certificate generation tool
|
||||
|
||||
## Usage
|
||||
|
||||
Run `python oem_certificate.py --help` to see available commands.
|
||||
Run `python3 oem_certificate.py --help` to see available commands.
|
||||
|
||||
The arguments can be partially or fully loaded from a configuration file, for
|
||||
example, if file "location.cfg" is,
|
||||
@@ -32,14 +32,14 @@ example, if file "location.cfg" is,
|
||||
A command of
|
||||
|
||||
```bash
|
||||
python oem_certificate.py generate_csr @location.cfg -CN TestDevice1 \
|
||||
python3 oem_certificate.py generate_csr @location.cfg -CN TestDevice1 \
|
||||
--output_csr_file=csr.pem --output_private_key_file=key.der
|
||||
```
|
||||
|
||||
is equivalent to
|
||||
|
||||
```bash
|
||||
python oem_certificate.py generate_csr -CN TestDevice1 -C=US -ST=CA \
|
||||
python3 oem_certificate.py generate_csr -CN TestDevice1 -C=US -ST=CA \
|
||||
-L=Kirkland -O='Some Company' -OU='Some Unit' --output_csr_file=csr.pem \
|
||||
--output_private_key_file=key.der.
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2017 Google LLC. All Rights Reserved.
|
||||
|
||||
"""OEM certificate generation tool.
|
||||
@@ -26,10 +26,10 @@ example, if file "location.cfg" is,
|
||||
-OU=Some Unit
|
||||
|
||||
A command of
|
||||
"python oem_certificate.py generate_csr @location.cfg -CN TestDevice1 "
|
||||
"python3 oem_certificate.py generate_csr @location.cfg -CN TestDevice1 "
|
||||
"--output_csr_file=csr.pem --output_private_key_file=key.der",
|
||||
is equivalent to
|
||||
"python oem_certificate.py generate_csr -CN TestDevice1 -C=US -ST=CA "
|
||||
"python3 oem_certificate.py generate_csr -CN TestDevice1 -C=US -ST=CA "
|
||||
"-L=Kirkland -O='Some Company' -OU='Some Unit' --output_csr_file=csr.pem "
|
||||
"--output_private_key_file=key.der".
|
||||
|
||||
|
||||
Reference in New Issue
Block a user