/lib/partman/choose_method/50crypto/choices is in ubiquity 18.04.14.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
. /lib/partman/lib/base.sh
. /lib/partman/lib/crypto-base.sh
dev=$1
id=$2
cd $dev
# don't show crypto for already encrypted partitions
if [ -f crypt_realdev ]; then
exit 0
fi
db_metaget partman/method_long/crypto description
printf "%s\t%s\n" crypto "$RET"
|