agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
808 stars 50 forks source link

Allow custom params to ykfde-open #64

Closed cyrinux closed 4 years ago

cyrinux commented 4 years ago

Hi,

Thanks for this project,

I'm trying to use luks detached header, and so come this little patch.

This add the support of misc parameters to ykfde-open. This is already good for ykfde-format.

Example:

ykfde-open -d /dev/sda2 -n luks -- --header /dev/sdb1

We can also pass more luks parameters if needed.

Regards

cyrinux commented 4 years ago

Hi, I can't test try right now, but should be ok. :)