Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cryptsetup fails on boot when using option "keyfile-offset"
@ 2021-08-05 11:24 Mirodin
  0 siblings, 0 replies; only message in thread
From: Mirodin @ 2021-08-05 11:24 UTC (permalink / raw)
  To: ml

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

New issue by Mirodin on void-packages repository

### System

* xuname:  Void 5.12.19_1 x86_64 AuthenticAMD notuptodate rrrrmmnFFFF
* package:  cryptsetup-2.3.6_1

### Expected behavior
When booting cryptsetup should use a keyfile starting at a specified offset of an USB stick.

### Actual behavior
On boot cryptsetup fails complaining about option `keyfile-offset` (see picture). It seems as though the option gets preceded with only one dash. Position of the option in the option string in /etc/crypttab does not matter so it is specific to this option.

### Steps to reproduce the behavior
* Encrypt partition using a keyfile
* Use USB stick containing the key at an offset
* Reboot

home           UUID=XXX /dev/disk/by-id/usb-USB_Flash_Disk_YYY-0:0 luks,keyfile-offset=512,keyfile-size=512,tries=3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-05 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 11:24 [ISSUE] Cryptsetup fails on boot when using option "keyfile-offset" Mirodin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).