DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Using a removable-device-recorded passphrase to decrypt a system
@ 2015-06-25 14:57 Arbiel (gmx)
  2015-06-26 12:30 ` Arno Wagner
  0 siblings, 1 reply; 7+ messages in thread
From: Arbiel (gmx) @ 2015-06-25 14:57 UTC (permalink / raw)
  To: dm-crypt

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-26 23:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25 14:57 [dm-crypt] Using a removable-device-recorded passphrase to decrypt a system Arbiel (gmx)
2015-06-26 12:30 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox