all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: dvorak
Date: Tue, 8 May 2018 09:30:44 -0700	[thread overview]
Message-ID: <CABZcOARpof-RcBzRmyS7PsO0gJoVL1qXOqaXjBOQyJ48kWkcvQ@mail.gmail.com> (raw)
In-Reply-To: <87po26puph.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

>
> Yes, entering the LUKS volume passphrase twice is normal, though I would
> love to hear about ways to improve it.  As I understand it, both GRUB
> and Linux have to unlock the LUKS volume, and they do not by default
> coordinate in any way - that is why you have to enter it two times.  I
> don't know how to arrange for a password to be entered only once, but I
> imagine that it may be possible, with varying degrees of security
> depending on the chosen solution.
>

You can use keyfiles to unlock the root partition.
<https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Unlocking_the_root_partition_at_boot>
That's what
I'm using on my arch setup to only have to type in one passphrase
instead of three (GRUB, root, swap). No idea how you would
translate this to GuixSD though.

2018-05-07 22:44 GMT-07:00 Chris Marusich <cmmarusich@gmail.com>:

> Divan Santana <divan@santanas.co.za> writes:
>
> > While talking about luks, is it normal/best practice to have the
> > passphrase on start up ask twice?  Once for boot vol at grub, and once
> > for /root I suppose?
>
> Yes, entering the LUKS volume passphrase twice is normal, though I would
> love to hear about ways to improve it.  As I understand it, both GRUB
> and Linux have to unlock the LUKS volume, and they do not by default
> coordinate in any way - that is why you have to enter it two times.  I
> don't know how to arrange for a password to be entered only once, but I
> imagine that it may be possible, with varying degrees of security
> depending on the chosen solution.
>
> --
> Chris
>



-- 
s/Fred[re]+i[ck]+/Fredrik/g

[-- Attachment #2: Type: text/html, Size: 2423 bytes --]

  reply	other threads:[~2018-05-08 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 20:45 dvorak Divan Santana
2018-05-08  5:44 ` dvorak Chris Marusich
2018-05-08 16:30   ` Fredrik Salomonsson [this message]
2018-05-09 14:12 ` dvorak Mathieu Lirzin
2018-05-09 16:52   ` dvorak Nils Gillmann

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=CABZcOARpof-RcBzRmyS7PsO0gJoVL1qXOqaXjBOQyJ48kWkcvQ@mail.gmail.com \
    --to=plattfot@gmail.com \
    --cc=cmmarusich@gmail.com \
    --cc=help-guix@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.