Skip to content
Snippets Groups Projects
  • Kevin Kofler's avatar
    0876af63
    [fstab] Write configurable options to crypttab (default: luks). · 0876af63
    Kevin Kofler authored
    fstab.conf: Add a new "crypttabOptions" option that defaults to "luks".
                Document that for Debian and Debian-based distributions, the
                setting should be changed to "luks,keyscript=/bin/cat".
    
    main.py: Append the options from the above setting to the end of every
             line in crypttab.
    
    At least the "luks" option should always be there, because there may be
    different encryption types. The Debian initramfs-tools also require the
    Debian-specific keyscript option and will otherwise ignore the keyfile
    entirely (see pull request #254).
    0876af63
    History
    [fstab] Write configurable options to crypttab (default: luks).
    Kevin Kofler authored
    fstab.conf: Add a new "crypttabOptions" option that defaults to "luks".
                Document that for Debian and Debian-based distributions, the
                setting should be changed to "luks,keyscript=/bin/cat".
    
    main.py: Append the options from the above setting to the end of every
             line in crypttab.
    
    At least the "luks" option should always be there, because there may be
    different encryption types. The Debian initramfs-tools also require the
    Debian-specific keyscript option and will otherwise ignore the keyfile
    entirely (see pull request #254).
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
main.py 8.83 KiB