You are not logged in.

#1 2009-08-10 23:06:29

jbrown96
Member
Registered: 2008-10-30
Posts: 5

Adding cipher support for Cryptsetup

I have an encrypted partition that I created in another distro, and I can't unlock it in arch linux. The problem is that the proper ciphers are not installed.
cryptsetup luksDump on the partition gives this information:

Version:        1
Cipher name:    serpent
Cipher mode:    xts-essiv:sha256
Hash spec:      sha1

However, when I check my supported ciphers with cat /proc/crypto, I get

name         : ecb(arc4)                                                                   
driver       : ecb(arc4-generic)                                                           
module       : ecb                                                                         
priority     : 0                                                                           
refcnt       : 3                                                                           
selftest     : passed                                                                       
type         : blkcipher                                                                   
blocksize    : 1                                                                           
min keysize  : 1                                                                           
max keysize  : 256                                                                         
ivsize       : 0
geniv        : <default>

name         : arc4
driver       : arc4-generic
module       : arc4
priority     : 0
refcnt       : 3
selftest     : passed
type         : cipher
blocksize    : 1
min keysize  : 1
max keysize  : 256

name         : stdrng
driver       : krng
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
type         : rng
seedsize     : 0

In Ubuntu I've checked to make sure they are installed this way. I imagine its the same in Arch. What packages do I need to install to use serpent in XTS mode?

Offline

#2 2009-08-10 23:14:00

atcq
Member
From: Germany
Registered: 2008-09-04
Posts: 28

Re: Adding cipher support for Cryptsetup

did you load the module?

try:

modprobe aes-i586 #or maybe more like:
modprobe aes-x86_64 #depending on your architecture

http://wiki.archlinux.org/index.php/Sys … el_modules

Last edited by atcq (2009-08-10 23:14:26)

Offline

Board footer

Powered by FluxBB