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 a system that is not encrypted
lsencryption
The resulting output:
status not_supported
error_sequence_number
usb_rekey no_key
usb_copies 0
usb_key_filename
usb_rekey_filename
keyserver_status licensed
keyserver_rekey prepared
keyserver_pmk_uid
keyserver_rekey_pmk_uid KEY-1b9dcbe7-8b1c-401d-9bc2-1791534689fc
An invocation example for an encrypted system
lsencryption
The resulting output:
status enabled
error_sequence_number
usb_rekey prepared
usb_copies 3
usb_key_filename encryption_key_file_1234ABCD1234ABCD_mycluster
usb_rekey_filename encryption_key_file_5678EFGH5678EFGH_mycluster
keyserver_status disabled
keyserver_rekey no_key
keyserver_pmk_uid
keyserver_rekey_pmk_uid
