From: Chris Marusich <cmmarusich@gmail.com>
To: Mike Gerwitz <mtg@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Encrypted root partition
Date: Wed, 18 Jan 2017 20:21:19 -0800 [thread overview]
Message-ID: <8737gfwugw.fsf@gmail.com> (raw)
In-Reply-To: <87d1fjd749.fsf@gnu.org> (Mike Gerwitz's message of "Wed, 18 Jan 2017 23:08:22 -0500")
[-- Attachment #1: Type: text/plain, Size: 978 bytes --]
Mike Gerwitz <mtg@gnu.org> writes:
> On Wed, Jan 18, 2017 at 03:38:57 -0800, Chris Marusich wrote:
>> 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...
>
> Using an ephemeral key for swap (that is: a temporary key that is
> randomly generated and never stored) is preferred: when you unmount it,
> the data won't be recoverable.
>
> Mounting a normal swapfile, on the other hand, writes swapped memory to
> disk, which opens a host of potential security and forensic issues.
>
> Of course, so does traditional swap. :)
>
> I'm not familiar enough with Guix (yet!) to know how to set it up, but I
> also haven't done any research. Arch has a good summary:
>
> https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption
Interesting! Thank you for the additional information.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-01-19 4:21 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
2017-01-18 21:16 ` Ludovic Courtès
2017-01-19 4:08 ` Mike Gerwitz
2017-01-19 4:21 ` Chris Marusich [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737gfwugw.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
--cc=mtg@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).