~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/scripts/luksformat

  • Committer: Reinhard Tartler
  • Date: 2008-06-13 19:35:34 UTC
  • Revision ID: siretart@tauware.de-20080613193534-oeqhbxi7r0q4lk51
import cryptsetup_1.0.6-2.dsc

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
# we do not need to be overly concerned with race conditions here, cryptsetup
55
55
# will just fail if the name already exists now.
56
56
print "Creating encrypted device on $device...\n";
57
 
if ((system 'cryptsetup', 'luksFormat', '--cipher', 'aes-cbc-essiv:sha256', $device)) {
 
57
if ((system 'cryptsetup', 'luksFormat', '-s', '256', '--cipher', 'aes-cbc-essiv:sha256', $device)) {
58
58
    die "Could not create LUKS device $device";
59
59
}
60
60