lsencryption
Use the lsencryption command to display system encryption information.
Syntax
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each item of data in a detailed style
view. The -nohdr parameter suppresses the display of these
headings.Note: If there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) In a detailed view, each item of data has its own row, and if the headings are displayed, the data is separated from the heading by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. In a detailed view, the data is separated from its heading by the specified delimiter.
Description
Use this command to display output that is related to the system encryption state.This table describes possible
outputs.
| Attribute | Value |
|---|---|
| status | Indicates the system USB encryption status.
|
| error_sequence_number | Indicates the event log sequence number of any problem that affects encryption. If there is no problem, it is blank. |
| usb_rekey | Indicates the state of the Universal Serial Bus (USB) rekey process.
|
| usb_key_copies | Indicates the number of USB devices that prepared keys are written to. |
| usb_key_filename | Indicates the name of the file that contains the current encryption key. |
| usb_rekey_filename | Indicates the name of the file that contains the current prepared encryption key. |
| keyserver_status | Indicates the encryption status for key server encryption. The values
are:
|
| keyserver_rekey | Indicates the state of the key server rekey process. The values are:
|
| keyserver_pmk_uid | Indicates the UID for the key server. |
| keyserver_rekey_pmk_uid | Indicates the UID (after a rekey process) for the key server. |
An invocation example for an encrypted system with no rekey
lsencryption
The resulting output:
status enabled
error_sequence_number
usb_rekey no
usb_key_copies 0
usb_key_filename
usb_rekey_filename
keyserver_status disabled
keyserver_rekey no_key
keyserver_pmk_uid
keyserver_rekey_pmk_uid
An invocation example for an encrypted system during the rekey
lsencryption
The resulting output:
status enabled
error_sequence_number
usb_rekey prepared
usb_key_copies 3
usb_key_filename
usb_rekey_filename encryptionkey_0000020061800028_0010030C00000007_Cluster_9.19.88.231
keyserver_status enabled
keyserver_rekey prepared
keyserver_pmk_uid
keyserver_rekey_pmk_uid KEY-1b9dcbe7-8b1c-401d-9bc2-1791534689fc
