1.4.1 Example Root Certificate Hash Encryption for SAMA5D2 Devices
Old command line (Secure SAM-BA Cipher 3.x)
secure-sam-ba-cipher.py root-cert-hash -d sama5d2x -l license.txt -c certs.pem -o
cert-hash.cip
New command line (Secure SAM-BA Cipher 3.5)
secure-sam-ba-cipher.py root-cert-hash -d sama5d2x -l license.txt -c certs.pem -o
cert-hash.cip -pk license_private.pem -pp pass:license_passphrase
Parameters:
-l, --license LICENSE (required)
Name of the file that contains the license.
-d, --device DEVICE (required)
Name of the device family.
-c, --certs-file CERTS_FILE (required)
Certificate chain file in PEM format.
-o, --output-file OUTPUT_FILE (required)
Name of the file that will contain the ciphered customer key message.
-pk, --priv-key-file PRIVATE_KEY_FILE (required)
Name of the file that contains the license private key. This private key must be the one
generated by the request-license
command.
-pp, --priv-key-pass PRIVATE_KEY_PASSWORD (optional)
Password used to decrypt the license private key. The syntax is
"pass:XXX
" for password XXX, or "file:YYY
" to read
password from file YYY. This parameter is mandatory if the license private key is
ciphered.