From: Efraim Flashner <efraim@flashner.co.il>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Encrypted root partition
Date: Wed, 18 Jan 2017 22:53:25 +0200 [thread overview]
Message-ID: <20170118205325.GC14209@macbook42.flashner.co.il> (raw)
In-Reply-To: <87eg00k372.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
On Wed, Jan 18, 2017 at 03:38:57AM -0800, Chris Marusich wrote:
> Chris Marusich <cmmarusich@gmail.com> writes:
>
> As a bonus, I realized that one could use this feature to encrypt swap,
> also. You can encrypt your swap area by using a swap file in the root
> file system. Specifically, if you do something like this...
>
> # Make the file readable/writable only by root.
> sudo dd if=/dev/zero of=/swapfile bs=1MiB count=10240
> sudo chmod 600 /swapfile
> sudo mkswap --label swap /swapfile
>
> and then you add a single line to your operating system configuration
> file like this...
>
> (swap-devices '("/swapfile"))
>
> then your swap file will be automatically mounted during boot. You
> don't even have to enter your LUKS passphrase an additional time. I was
> pleasantly surprised to find out that encrypted swap was this easy!
>
This seems like something that would be nice to add to the manual :)
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-01-18 20:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-23 22:31 Encrypted root partition Ludovic Courtès
2016-11-24 6:45 ` Chris Marusich
2016-11-24 22:37 ` Ludovic Courtès
2016-11-25 16:06 ` ng0
2017-01-18 9:58 ` Chris Marusich
2017-01-18 11:38 ` Chris Marusich
2017-01-18 20:53 ` Efraim Flashner [this message]
2017-01-18 21:16 ` Ludovic Courtès
2017-01-19 4:08 ` Mike Gerwitz
2017-01-19 4:21 ` Chris Marusich
2017-01-19 22:31 ` dian_cecht
2017-01-18 21:17 ` Ludovic Courtès
2017-01-19 4:30 ` Chris Marusich
2017-01-19 12:07 ` Ludovic Courtès
2017-01-20 5:37 ` Chris Marusich
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=20170118205325.GC14209@macbook42.flashner.co.il \
--to=efraim@flashner.co.il \
--cc=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.