[dm-crypt] Auto mount encrypted partition with passphrase stored in a external driver

Almeida, Gabriel Gabriel.Almeida at harman.com
Wed Jan 13 09:45:11 CET 2016


I am having Ubuntu 14.04 at the moment.

Appreciate if you have any example on that.

Regards
Gabriel

-----Original Message-----
From: dm-crypt [mailto:dm-crypt-bounces at saout.de] On Behalf Of Arno Wagner
Sent: Mittwoch, 13. Januar 2016 08:50
To: dm-crypt at saout.de
Subject: Re: [dm-crypt] Auto mount encrypted partition with passphrase stored in a external driver

Hi Gabriel,

that really depends on what you distro does for boot-up.
Best ask there or look into its documentation.
cryptsetup is just the commandline tool, it has no connection to the boot-up process. Some distro-specific mechanism can call it though, e.g. from an initrd.

If there is no distro-specific mechanism, then things get more messy.

Regards,
Arno

On Wed, Jan 13, 2016 at 08:36:28 CET, Almeida, Gabriel wrote:
> Hello All,
> 
> I would like to know how can I auto-mount an encrypted partition 
> (LUKS) upon bootup.  Idea is that passphrase is stored in a USB stick 
> connected to the device.  If passphrase is valid, the partition will 
> be mounted upon bootup, if not, partition mounting will fail.
> 
> Thx for your support.
> 
> Gabriel

> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno at wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

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 at saout.de
http://www.saout.de/mailman/listinfo/dm-crypt


More information about the dm-crypt mailing list