diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:29:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:29:33 +0000 |
commit | 317d948f8bac3b3d7b84e05306ca6cffd1daeb53 (patch) | |
tree | 101808ca1723399f54f5b5b85545fa0c03be3989 /debian/functions | |
parent | Updating vcs fields. (diff) | |
download | cryptsetup-317d948f8bac3b3d7b84e05306ca6cffd1daeb53.tar.xz cryptsetup-317d948f8bac3b3d7b84e05306ca6cffd1daeb53.zip |
Using decrypt_keyctl by default if no keyscript in /etc/crypttab to cache passphrase for multiple filesystems.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/functions')
-rw-r--r-- | debian/functions | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/functions b/debian/functions index 917abad..3409787 100644 --- a/debian/functions +++ b/debian/functions @@ -113,6 +113,11 @@ crypttab_parse_options() { done IFS=" " + # use decrypt_keyctl by default if no keyscript in /etc/crypttab + if [ -z "$CRYPTTAB_OPTION_keyscript" ]; then + CRYPTTAB_OPTION_keyscript="/lib/cryptsetup/scripts/decrypt_keyctl" + fi + if ! _get_crypt_type; then # set CRYPTTAB_TYPE to the type of crypt device CRYPTTAB_TYPE="plain" if [ "$quiet" = "n" ]; then |