OEMCrypto v17.2

Version 17.2 includes udpates to support MediaCAS. See the
CHANGELOG for full details.
This commit is contained in:
Fred Gylys-Colwell
2023-09-07 13:32:55 -07:00
parent f998d6c4ae
commit 31f24774e8
189 changed files with 6390 additions and 3411 deletions

View File

@@ -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.
```

View File

@@ -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".