From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] LiveUSB encrypted.
Date: Thu, 10 Nov 2011 11:30:27 +0100 [thread overview]
Message-ID: <20111110103027.GA16231@tansi.org> (raw)
In-Reply-To: <CAPTy4spQvVrM0N2NVDUZT6ahmf-S-wXcUw-etDbBK_d1XTHwJQ@mail.gmail.com>
Hi Marcos,
I actually do not know in detail. Basically you need a
bootloader to load kernel and initrd, and the initrd then needs
to decrypt the encrypted root partition and mount it as such.
Personally I do not use initrd in my own installations.
For encrypted data on USB, an encrypted user area is quite
enough for me. (I use knoppix, it offers to create one
when booted from USB stick the first time).
There are some people on the list, that have worked on
something like you want. Maybe search the archves and ask
them directly.
Arno
On Wed, Nov 09, 2011 at 07:26:26PM -0200, Marcos Barbosa wrote:
> Hello Arno,
>
> I can survive if kernel and initrd stay in a separated partition. May be i
> create a script to generate hash and sign them. If I use a separated
> partition, what is the next logical step?
>
> 2011/11/9 Arno Wagner <arno@wagner.name>
>
> > You don't. What you do instead is use an encrypted
> > data partition, which may be supported by some
> > Ubuntu tool.
> >
> > The problem is that the kernel and an initrd have to
> > reside outside of the encrypted space. There is no
> > way around that. As a consequence, an attacker can
> > already modify those two and get complete control.
> >
> > If you are worried about this, use some form of
> > physical protection. Weak protection comes from using
> > write-once media like a CD-R. Stronger comes from
> > using an encrypted memory-stick with keypad. (Beware,
> > there are secure and insecure ones on the market.)
> > You can also ware the stick around your neck.
> >
> > Arno
> >
> > On Wed, Nov 09, 2011 at 04:41:44PM -0200, Marcos Barbosa wrote:
> > > How i create a Ubuntu liveUSB inside a USB stick?
> > > The trick: The casper files is inside a encrypted partition with LUKS.
> > >
> > > any ideas?
> > >
> > > --
> > > Marcos Barbosa <marcosestevesbarbosa@gmail.com>
> >
> > > _______________________________________________
> > > dm-crypt mailing list
> > > dm-crypt@saout.de
> > > http://www.saout.de/mailman/listinfo/dm-crypt
> >
> >
> > --
> > Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email:
> > arno@wagner.name
> > GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25
> > 338F
> > ----
> > Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
> >
> > If it's in the news, don't worry about it. The very definition of
> > "news" is "something that hardly ever happens." -- Bruce Schneier
> > _______________________________________________
> > dm-crypt mailing list
> > dm-crypt@saout.de
> > http://www.saout.de/mailman/listinfo/dm-crypt
> >
>
>
>
> --
> Marcos Barbosa <marcosestevesbarbosa@gmail.com>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
next prev parent reply other threads:[~2011-11-10 10:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 18:41 [dm-crypt] LiveUSB encrypted Marcos Barbosa
2011-11-09 20:34 ` Arno Wagner
2011-11-09 21:26 ` Marcos Barbosa
2011-11-10 10:30 ` Arno Wagner [this message]
2011-11-10 11:00 ` Milan Broz
2011-11-10 11:44 ` Arno Wagner
2011-11-10 13:27 ` Nikolay Kichukov
2011-11-10 14:32 ` Marcos Barbosa
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=20111110103027.GA16231@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/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 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.