diff --git a/lib/arver/luks_wrapper.rb b/lib/arver/luks_wrapper.rb index 7114e056b6ec4bf0329a36112eb20da3b7c4858f..d1be2161193fff1f5d45d6cdd1e66a5754b0c710 100644 --- a/lib/arver/luks_wrapper.rb +++ b/lib/arver/luks_wrapper.rb @@ -13,7 +13,7 @@ module Arver Arver::SSHCommandWrapper.create( "cryptsetup", [ "luksDump", partition.device_path ], partition.parent, true ) end def self.create( key_slot, partition ) - Arver::SSHCommandWrapper.create( "cryptsetup", [ "--batch-mode", "--key-slot=#{key_slot}", "--cipher=aes-cbc-essiv:sha256", "--key-size=256", "luksFormat", partition.device_path ], partition.parent, true ) + Arver::SSHCommandWrapper.create( "cryptsetup", [ "--batch-mode", "--key-slot=#{key_slot}", "luksFormat", partition.device_path ], partition.parent, true ) end def self.killSlot( key_slot, partition ) Arver::SSHCommandWrapper.create( "cryptsetup", [ "--batch-mode", "luksKillSlot", partition.device_path, key_slot ], partition.parent, true )