mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-31 16:35:25 +00:00
Revert "fix small incongruency with previous commit"
This reverts commit be65c4be5b5fbeca9cdb97268135507252efe171. Signed-off-by: Christian Foerster <christian.foerster@mailfence.com>
This commit is contained in:
parent
2828e2ca60
commit
0854f2ce80
@ -1012,7 +1012,7 @@ if [ "$use_defaults" == "n" -o "$use_defaults" == "N" ]; then
|
||||
# if keys were generated in memory but are to be moved from local keyring to smartcard
|
||||
if [ "$GPG_GEN_KEY_IN_MEMORY" = "n" -o "$GPG_GEN_KEY_IN_MEMORY_COPY_TO_SMARTCARD" = "y" ]; then
|
||||
while [[ ${#USER_PIN} -lt 6 ]] || [[ ${#USER_PIN} -gt $MAX_HOTP_GPG_PIN_LENGTH ]]; do
|
||||
echo -e -n "\nThis PIN should be between 6 to $MAX_HOTP_GPG_PIN_LENGTH characters in length.\n"
|
||||
echo -e -n "\nThis PIN should be between 8 to $MAX_HOTP_GPG_PIN_LENGTH characters in length.\n"
|
||||
echo -e -n "Enter desired GPG User PIN: "
|
||||
read USER_PIN
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user