All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arbiel (gmx)" <arbiel.perlacremaz@gmx.fr>
To: dm-crypt@saout.de
Subject: [dm-crypt] Using a removable-device-recorded passphrase to decrypt a system
Date: Thu, 25 Jun 2015 16:57:33 +0200	[thread overview]
Message-ID: <558C16DD.60809@gmx.fr> (raw)

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

Hi

I decided to use a 512-byte randomly generated passphrase to crypt my
system partition. I recorded this passphrase on a removable device (USB
key) and correctly wrote the crypttab and fstab files and updated my
initrd.img for all this to work.

I am anxious now to replicate my passphrase on additionnal USB keys, in
case my primary USB key get lost or damaged.

For some reasons, I cannot name all partitions where my passphrase will
be recorded with a unique label.

I tried to write several lines in the crypttab file for defining as many
passphrase locations as necessary such as
root UUID=uuid /dev/disk/by-label/USBkey1/passphrase:x
luks,keyscript=/lib/cryptsetup/scripts/passdev
root UUID=uuid /dev/disk/by-label/USBkey2/passphrase:x
luks,keyscript=/lib/cryptsetup/scripts/passdev
and so on, but this does not work.

I thank in advance anybody who can advise me on how to solve this issue.

Arbiel


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

             reply	other threads:[~2015-06-25 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 14:57 Arbiel (gmx) [this message]
2015-06-26 12:30 ` [dm-crypt] Using a removable-device-recorded passphrase to decrypt a system Arno Wagner
2015-06-26 12:59   ` Heinz Diehl
2015-06-26 13:19     ` Arno Wagner
2015-06-26 13:53       ` Sven Eschenberg
2015-06-26 23:06         ` Arno Wagner
2015-06-26 14:00   ` Sven Eschenberg

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=558C16DD.60809@gmx.fr \
    --to=arbiel.perlacremaz@gmx.fr \
    --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.