19.3.2. Saving encryption keys
After completing the required preparation (see 第 19.3.1 节 “Preparation for saving encryption keys”) it is now possible to save the encryption keys using the following procedure.
注意
For all examples in this file,
/path/to/volume is a LUKS device, not the plaintext device contained within; blkid -s type /path/to/volume should report type="crypto_LUKS".
过程 19.4. Saving encryption keys
- Run:
volume_key --save /path/to/volume -c /path/to/cert escrow-packet
volume_key --save /path/to/volume -c /path/to/cert escrow-packetCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Save the generated
escrow-packetfile in the prepared storage, associating it with the system and the volume.
These steps can be performed manually, or scripted as part of system installation.