FS#42851 - [cryptsetup] Add support for detached LUKS header to encrypt hook
            Attached to Project:
            Arch Linux
            
Opened by Florian Wickert (float) - Wednesday, 19 November 2014, 19:04 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:22 GMT
          Opened by Florian Wickert (float) - Wednesday, 19 November 2014, 19:04 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:22 GMT
| 
 | Details
                    Since cryptsetup 1.4.0 there is an argument called --header
                    that allows detached LUKS headers. This can be used for two-factor encryption and deniability. The attached patch adds a new kernel command line argument called cryptheader which is implemented and used almost the same way as cryptkey is: cryptheader=<dev>:<fstype>:<header_file> It does not add detached header support to crypttab however. This has been discussed in e.g. https://bbs.archlinux.org/viewtopic.php?pid=1475265 | 
              This task depends upon
              
              
            
            
          
            Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:22 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/cryptsetup/issues/7
          
        Saturday, 25 November 2023, 20:22 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/cryptsetup/issues/7
 
                       0001-add-support-for-detached...
                         0001-add-support-for-detached...
                    
"
No matter how it's done precisely, it would be nice to have this feature in hook.
I also put it on AUR and intend to keep it up-to-date with future changes to the upstream hook until this issue gets fixed.
https://aur.archlinux.org/packages/mkinitcpio-encrypt-detached-header/