FS#43054 - [cryptsetup] Add support for sector offset and key size to encrypt hook

Attached to Project: Arch Linux
Opened by John Lane (starfry) - Tuesday, 09 December 2014, 13:09 GMT
Last edited by freswa (frederik) - Tuesday, 24 March 2020, 19:00 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

When using a key file with cryptsetup, it's possible to specify a sector offset and key size so that only a portion of the supplied key file is used.

This patch adds that capability to the "encrypt" hook for initcpio. The revised synopsis is shown below.

cryptkey=/dev/<partition2>:<fstype>:<path>:<offset>:<size>

This is already supported when the keyfile is a block device but not when it is a file.


Additional info:
* /usr/lib/initcpio/hooks/encrypt
* cryptsetup 1.6.6-1

This feature request compliments another request:  FS#42851  - [cryptsetup] Add support for detached LUKS header to encrypt hook


Steps to reproduce:
This task depends upon

Closed by  freswa (frederik)
Tuesday, 24 March 2020, 19:00 GMT
Reason for closing:  None
Additional comments about closing:  This seems pretty stalled to me. If it's still an issue, please fill a re-open request. Thank you :)

Loading...