User Guide
DDOC0099-000-AH
DTS1 CSfC
12 - 7
Command Line Interface
© 2020 Curtiss-Wright Defense Solutions
Revision 5.0
Example:
Load key from memory location 5 for RMC.
Example:
Unload key for RMC.
Example:
Delete key in memory location 3.
Example: Zeroize crypto module
Example: Auto load keys for RMC
Example: Generate KEK (key encryption key)
Example: Assign user defined PSK
Where
[
current psk string
]
= current 32-bit plain-text PSK represented by 64 hex characters
[
new psk string
]
= new 32-bit plain-text PSK represented by 64 hex characters
Line Identifier
CMKEY:..................................Crypto init status line
Fields
kek=<str>
............................Wrapped Key Encryption Key
mac=<str>
............................Message Authentication Code
status=<sts>
.....................Summary status for the line
Enumerated types
(See above examples in fields)
<str> .......................................String
<sts> ......................................Status message (OK, ERR "<str>")
<summary> ............................Command status summary (OK, ERR)
cw_dts>
cmkey --load 5 -s 0
[cmkey]
CMKEY: action=inst slot=<int> status=<sts>
[!cmkey] <summary>
cw_dts>
cmkey --unload -s 0
[cmkey]
CMKEY: action=unload slot=<int> status=<sts>
[!cmkey] <summary>
cw_dts>
cmkey --del 3
[cmkey]
CMKEY: action=delete status=<sts>
[!cmkey] <summary>
cw_dts>
cmkey --zero
[cmkey]
CMKEY: action=zero status=<sts>
[!cmkey] <summary>
cw_dts>
cmkey --auto -s all
[cmkey]
CMKEY: action=auto slot=<int> status=<sts>
[!cmkey] <summary>
c
w_dts>
cmkey --kek
[cmkey]
CMKEY: kek=<str> mac=<str> status=<sts>
[!cmkey] <summary>
cw_dts>
cmkey -p -u
cmkey]
Please enter current PSK:
[current psk string]
Please enter new PSK:
[new psk string]
CMKEY: action=psk status=OK
[!cmkey] OK