DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] How to suspend to disk with random encrypted swap
@ 2016-10-22 13:55 David Niklas
  2016-10-22 22:27 ` Sven Eschenberg
  0 siblings, 1 reply; 4+ messages in thread
From: David Niklas @ 2016-10-22 13:55 UTC (permalink / raw)
  To: dm-crypt

Hello,
I use a random encrypted swap partition, and I want to suspend my system
to disk. I'm having two problems.
1. How does the kernel know where to resume from/at all?
2. How do I get the random passphrase for decrypting the swap (and
remember it)?

Gentoo linux
cryptsetup 1.7.2

###### /etc/conf.d/dmcrypt #########

swap=swap
options=' -c aes -h sha256 -d /dev/urandom '
source='/dev/sda2'

####################################

Thanks,
David

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-23 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-22 13:55 [dm-crypt] How to suspend to disk with random encrypted swap David Niklas
2016-10-22 22:27 ` Sven Eschenberg
2016-10-23 10:52   ` Heiko Rosemann
2016-10-23 17:01     ` Sven Eschenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox