Commit 8819194 1 parent 5d6fbf7 commit 8819194 Copy full SHA for 8819194
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 538
538
# skip tests using empty passphrases
539
539
if ! fips_mode; then
540
540
# empty passphrase (OPAL admin pin cannot be empty)
541
- echo -e " \n$OPAL2_ADMIN_PIN " | $CRYPTSETUP -q luksFormat $FAST_PBKDF_OPT --type luks2 --hw-opal $OPAL2_DEV || fail
541
+ echo -e " \n$OPAL2_ADMIN_PIN " | $CRYPTSETUP -q luksFormat $FAST_PBKDF_OPT --type luks2 --hw-opal $OPAL2_DEV --force-password || fail
542
542
$CRYPTSETUP luksOpen -d $KEYE $OPAL2_DEV $DEV_NAME || fail
543
543
$CRYPTSETUP -q luksClose $DEV_NAME || fail
544
544
fi
557
557
# skip tests using empty passphrases
558
558
if ! fips_mode; then
559
559
# empty passphrase (OPAL admin pin cannot be empty)
560
- echo -e " \n$OPAL2_ADMIN_PIN " | $CRYPTSETUP -q luksFormat $FAST_PBKDF_OPT --type luks2 --hw-opal-only $OPAL2_DEV || fail
560
+ echo -e " \n$OPAL2_ADMIN_PIN " | $CRYPTSETUP -q luksFormat $FAST_PBKDF_OPT --type luks2 --hw-opal-only $OPAL2_DEV --force-password || fail
561
561
$CRYPTSETUP luksOpen -d $KEYE $OPAL2_DEV $DEV_NAME || fail
562
562
$CRYPTSETUP -q luksClose $DEV_NAME || fail
563
563
fi
You can’t perform that action at this time.
0 commit comments