Skip to content

Commit

Permalink
Force creation of LUKS1 containers in test suite
Browse files Browse the repository at this point in the history
Cryptsetup defaults to LUKS2 since version 2.1, make sure to create
LUKS1 containers instead by using the "--type luks1" argument.
  • Loading branch information
Christoph Biedl authored and diabonas committed Sep 28, 2019
1 parent fe3e941 commit af81262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-luksmeta
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function onexit() {
trap 'onexit' EXIT

truncate -s 4M $tmp
echo -n foo | cryptsetup luksFormat $tmp -
echo -n foo | cryptsetup luksFormat --type luks1 $tmp -

! ./luksmeta test -d $tmp

Expand Down

0 comments on commit af81262

Please sign in to comment.