bigger size

This commit is contained in:
Tobias Powalowski 2023-01-25 09:22:00 +01:00
parent bc25ac75e7
commit bf01aa7399

View file

@ -857,9 +857,9 @@ _enter_luks_name() {
_enter_luks_passphrase () { _enter_luks_passphrase () {
_LUKSPASSPHRASE="" _LUKSPASSPHRASE=""
while [[ -z "${_LUKSPASSPHRASE}" ]]; do while [[ -z "${_LUKSPASSPHRASE}" ]]; do
_dialog --insecure --passwordbox "Enter passphrase for luks encrypted device\n${_DEV}:" 0 0 2>"${_ANSWER}" || return 1 _dialog --insecure --passwordbox "Enter passphrase for luks encrypted device\n${_LUKSDEV}:" 5 60 2>"${_ANSWER}" || return 1
_LUKSPASS=$(cat "${_ANSWER}") _LUKSPASS=$(cat "${_ANSWER}")
_dialog --insecure --passwordbox "Retype passphrase for luks encrypted device\n${_DEV}:" 0 0 2>"${_ANSWER}" || return 1 _dialog --insecure --passwordbox "Retype passphrase for luks encrypted device\n${_LUKSDEV}:" 5 60 2>"${_ANSWER}" || return 1
_LUKSPASS2=$(cat "${_ANSWER}") _LUKSPASS2=$(cat "${_ANSWER}")
if [[ -n "${_LUKSPASS}" && -n "${_LUKSPASS2}" && "${_LUKSPASS}" == "${_LUKSPASS2}" ]]; then if [[ -n "${_LUKSPASS}" && -n "${_LUKSPASS2}" && "${_LUKSPASS}" == "${_LUKSPASS2}" ]]; then
_LUKSPASSPHRASE=${_LUKSPASS} _LUKSPASSPHRASE=${_LUKSPASS}