Package: libpam-mount
Version: 0.9.22-2
Tags: patch

When I invoke 'mount.crypt -o
cipher=aes,keysize=128,hash=sha256 /dev/hdax /home/user' the call to
cryptsetup in line 145 expands to:
/sbin/cryptsetup -c -c aes -h -h sha256 -s 128 create
_dev_hdax /dev/hdax

The correct form would be:
/sbin/cryptsetup -c aes -h sha256 -s 128 create _dev_hdax /dev/hdax

This Bug only occurs if you specify the cipher or hash options. The
keysize option and the default values are passed in the right way.

I use libpam-mount on amd64 and I know that it is not supported by
debian.  But the problem should not be architecture specific.

Maybe this bug is related to #297494

--- mount.crypt.org     2005-03-03 01:53:51.000000000 +0100
+++ mount.crypt 2005-03-04 13:25:06.000000000 +0100
@@ -129,12 +129,12 @@

 CIPHEROPT="aes"
 if [ -n "$CIPHER" ]; then
-       CIPHEROPT="-c $CIPHER"
+       CIPHEROPT="$CIPHER"
 fi

 HASHOPT="ripemd160"
 if [ -n "$HASH" ]; then
-       HASHOPT="-h $HASH"
+       HASHOPT="$HASH"
 fi

 KEYSIZEOPT="256"




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to