mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: "Nathanael D. Noblet" <nathanael-sGhsi8tFlmY@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: initramfs / cryptsetup decryption
Date: Wed, 01 Jul 2015 08:48:08 -0600	[thread overview]
Message-ID: <1435762088.18436.4.camel@gnat.ca> (raw)

Hello,

  So I've been trying to figure out how to have remote systems with
encrypted partitions (including / ) be encrypted but be able to reboot
them remotely.

  Originally I had found the mandos project. However due to one of its
dependencies you can't have one server handle multiple clients of
different types. Plus modifying dracut so that the network works
properly was just a huge headache.

  That left me with a thought. What if I was able to give an argument
to a special 'reboot' command. This would place the password somewhere
(either in the initramfs, or elsewhere) and then dracut would read it
on boot and then remove it afterwards. So if the computer is shutdown
or normally rebooted you would have to input the encryption key.
However if I rebooted it remotely using this 'script/wrapper command'
it could reboot completely.

  So I'm wondering does this sound doable? Secure enough? Would you
expect that modifying the initramfs is plausible or should I be writing
to a file in /boot or something like that? Thoughts?

-- 
Nathanael

             reply	other threads:[~2015-07-01 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 14:48 Nathanael D. Noblet [this message]
     [not found] ` <1435762088.18436.4.camel-sGhsi8tFlmY@public.gmane.org>
2015-07-01 15:25   ` initramfs / cryptsetup decryption Alexander Tsoy

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=1435762088.18436.4.camel@gnat.ca \
    --to=nathanael-sghsi8tflmy@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox