Skip to content

Commit

Permalink
Add note for luksSuspend to man page.
Browse files Browse the repository at this point in the history
It should not be expected that suspend operation wipes
possible plaintext data from memory.

Related: #855
  • Loading branch information
mbroz committed Dec 22, 2023
1 parent 37a2750 commit 44c6a76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/cryptsetup-luksSuspend.8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Suspends an active device (all IO operations will block and accesses to
the device will wait indefinitely) and wipes the encryption key from
kernel memory. Needs kernel 2.6.19 or later.

While the _luksSuspend_ operation wipes encryption keys from memory,
it does not remove possible plaintext data in various caches or in-kernel
metadata for mounted filesystems.

After this operation, you have to use _luksResume_ to reinstate the
encryption key and unblock the device or _close_ to remove the mapped
device.
Expand Down

0 comments on commit 44c6a76

Please sign in to comment.