mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 23:16:56 +04:00
Changelog: - Upgraded various dependencies, including golang.org/x/crypto to resolve the usual CVEs in it (but as usual, not actually affecting fscrypt's use of it). - When selecting password hashing parameters, fscrypt now takes cgroup limitations into consideration. - fscrypt encrypt no longer follows trailing symlinks when writing the recovery instructions. - fscrypt unlock no longer enters an infinite loop when an incorrect key file is specified using --key=FILE, --quiet isn't specified, and standard input is a terminal. - fscrypt unlock no longer enters an infinite loop when an incorrect password is specified, --quiet isn't specified, and standard input isn't a terminal. - The error message when multiple protectors are available now mentions --unlock-with in addition to --protector. - Documented the udev dependency for /dev/disk/by-uuid/ links. Signed-off-by: John Audia <therealgraysky@proton.me>
19 lines
436 B
Bash
19 lines
436 B
Bash
#!/bin/sh
|
|
#
|
|
# Version check override for the fscrypt package.
|
|
#
|
|
# fscrypt does not support --version, -V, or --help flags for reporting its
|
|
# version; it only prints the version via the "fscrypt version" subcommand.
|
|
# pam_fscrypt.so is a PAM module, not a standalone executable, so it has no
|
|
# version output either.
|
|
|
|
case "$1" in
|
|
fscrypt)
|
|
fscrypt --version 2>&1 | grep -F "$2"
|
|
;;
|
|
*)
|
|
echo "Untested package: $1" >&2
|
|
exit 1
|
|
;;
|
|
esac
|