unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Jookia <166291@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] DISCUSSION: Jookia's Libreboot+LUKS+LVM FDE patch.
Date: Thu, 10 Mar 2016 17:10:09 +0100	[thread overview]
Message-ID: <87r3fitiu6.fsf@gnu.org> (raw)
In-Reply-To: <56e0c4cf.08d0190a.6a127.0d35@mx.google.com> (Jookia's message of "Thu, 10 Mar 2016 11:36:45 +1100")

Jookia <166291@gmail.com> skribis:

> So I've come up with the following hack commit that effectively
> stops any sort of dependency management and adds some new targets
> for LVM and LUKS with a keyfile.
>
> Here's my current setup, take note that order of mapped devices
> matter since there's no dependency management:
>
>   (mapped-devices (list (mapped-device
>                           (source "/dev/sda")
>                           (target "hdd")
>                           (type (luks-device-keyfile-mapping
>                                   (local-file "/root/keyfile"))))
>                         (mapped-device
>                           (source "/dev/mapper/hdd")
>                           (target "matrix")
>                           (type lvm-device-mapping))))
>
>   (file-systems (cons (file-system
>                         (device "/dev/mapper/matrix-root")
>                         (title 'device)
>                         (mount-point "/")
>                         (type "ext4"))
>                       %base-file-systems))
>
>   (swap-devices '("/dev/mapper/matrix-swap"))

As you note, and as discussed on IRC, this is not OK because the private
key ends up being stored world-readable in the store.  :-/

Am I missing the part you wanted to discuss?

Thanks,
Ludo’.

PS: I still intend to look at the patch series you sent ;-), just
    prioritizing things that relate to 0.9.1.

  parent reply	other threads:[~2016-03-10 16:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  0:36 [PATCH] DISCUSSION: Jookia's Libreboot+LUKS+LVM FDE patch Jookia
2016-03-10  7:48 ` Taylan Ulrich Bayırlı/Kammer
2016-03-10 12:36   ` Jookia
2016-03-10 16:10 ` Ludovic Courtès [this message]
2016-03-10 21:11   ` Jookia
2016-03-11 14:30     ` Ludovic Courtès
2016-03-11 16:42       ` Jookia
2016-03-15 14:40         ` Ludovic Courtès
2016-03-16  1:23           ` Jookia
2016-03-14 21:40       ` Jean Louis
  -- strict thread matches above, loose matches on Subject: below --
2016-03-10  0:36 Jookia

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=87r3fitiu6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=166291@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 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).