From: David Niklas <doark@mail.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] How to suspend to disk with random encrypted swap
Date: Sat, 22 Oct 2016 09:55:19 -0400 [thread overview]
Message-ID: <20161022095519.00911f8c@ulgy_thing> (raw)
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
next reply other threads:[~2016-10-22 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-22 13:55 David Niklas [this message]
2016-10-22 22:27 ` [dm-crypt] How to suspend to disk with random encrypted swap Sven Eschenberg
2016-10-23 10:52 ` Heiko Rosemann
2016-10-23 17:01 ` Sven Eschenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161022095519.00911f8c@ulgy_thing \
--to=doark@mail.com \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox