[pkg-cryptsetup-devel] Bug#1099484: cryptsetup: CRYPTTAB_OPTION_keyscript still contains the /lib pathnames
Christoph Anton Mitterer
calestyo at scientia.org
Tue Mar 4 01:14:27 GMT 2025
Package: cryptsetup
Version: 2:2.7.5-1
Severity: wishlist
Hey.
I've just noticed, that when a keyscript uses /usr/lib/cryptsetup/functions
to gather access to some neat stuff, at least the `CRYPTTAB_OPTION_keyscript`
env car uses still the non-usr-merged pathnames, like
/lib/cryptsetup/scripts/decrypt_openpgp
wheras the canonical location of these files is now:
/usr/lib/cryptsetup/scripts/
Beware though, that people may actually use that information, e.g. in my
hook script I have a check like:
if [ "${CRYPTTAB_OPTION_keyscript-}" != '/lib/cryptsetup/scripts/decrypt_openpgp' ]; then
return 0
fi
which I use to skip an entry if it's not using my keyscript anyway.
So *if* you change this, I think it should get a NEWS.Debian entry, telling
people they need to adapt.
Cheers,
Chris.
More information about the pkg-cryptsetup-devel
mailing list