1 msgBuly cials-tabs at Unbelievable Prices
1 msgChangement d'adresse
1 msgFranco Parisi/Cassa_Risparmio_Bolzano_Spa/IT è ...
3 msgPermission problems(?) on non-us.debian.org::de...
3 msgDirk Lenk/Witte/de ist außer Haus.
2 msgRe: [SECURITY] [DSA 926-1] New ketm packages fi...
1 msgPrivate message for debian-security
2 msgBernd Eilers ist außer Haus.
1 msgRe: [DSA 924-1] New nbd packages fix potential ...

Missed something while using cryptsetup
\ DeMZed (21 Dec 2005)
. \ Jacques Lav!gnotte (21 Dec 2005)
. \ DeMZed (22 Dec 2005)

1 msgHey, debian-security
1 msgRead this before purchasing penis enlarge produ...
2 msgweb bot activity increase?
1 msgCD 'ôaÍoÖÎÑ òæ 2004 (6 cd ÄÉcËÏ×)'
2 msgSo many patches!
1 msgJazz Orgy List Invitation
19 msgclosing unwanted ports - and what is 1720/tcp f...
36 msghardening checkpoints
4 msgRe: [SECURITY] [DSA 922-1] New Linux 2.6.8 pack...
6 msgPort 699 listening
Subject:RE: Missed something while using cryptsetup
Group:Debian-security
From:DeMZed
Date:22 Dec 2005


 
Well seen !
But , have a look :

host:/home/user# losetup --encryption aes --keybits 4096 -f /dev/loop2
Password: *****
Segmentation fault

host:/home/user# losetup --encryption aes -f /dev/loop2
Password: *****
ioctl: LOOP_SET_FD: Invalid Argument

host:/home/user # losetup -f /dev/loop2
ioctl: LOOP_SET_FD: Invalid Argument

host:/home/user # losetup -f /dev/loop3
ioctl: LOOP_SET_FD: Invalid Argument

What's going on ? :'(
Any idea ? :-((((

Thanks :)


-----Message d'origine-----
De : Wade Richards [mailto:wade]
Envoyé : mercredi 21 décembre 2005 20:12
À : DeMZed
Objet : Re: Missed something while using cryptsetup

Hi,

You probably didn't miss this, but your mail doesn't mention it, so I'll
ask. Did you set up the loop device to refer to a file before you tried
to do cryptsetup ?

After all, if you haven't done "losetup" yet, /dev/loop0 will not be a
block device, it will be nothing.

--- Wade

On Wed, Dec 21, 2005 at 07:33:37PM +0100, DeMZed wrote:
> Hello !
>
> When I do :
> cryptsetup -c aes -s 4096 create home /dev/loop0
>
> I get :
> Command failed: Bloc de périphérique requis
> (Translation : device bloc wanted ... or something like that :-/)
>
> Does this error is because my kernel is not well configured ( something
> wrong in device-mapper or dm-crypt or AES ?)
>
> nevertheless
> ls -l /dev/mapper/control
>
> give me
> crw-rw---- 1 root root 10, 63 2005-10-26 21:56 /dev/mapper/control
>
> and
> cat /proc/crypto
>
> give me
> name : md5
> module : kernel
> type : digest
> blocksize : 64
> digestsize : 16
>
> name : aes
> module : aes_i586
> type : cipher
> blocksize : 16
> min keysize : 16
> max keysize : 32
> (i've modprobe aes)
>
> who see what i did wrong ??
>
> Thanks for any help !
> PS : uname gives Linux 2.6.12-1-k7 #1 Tue Sep 27 13:22:07 JST 2005
> i686 GNU/Linux
>
>

--
/"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
\ / ASCII Ribbon Campaign | Wade Richards --- wade
X - NO HTML/RTF in e-mail | tlhIngan Hol vIjatlhbe'chu'. QInvam
choHpu'
/ \ - NO Word docs in e-mail | ghoqwI'.



© 2004-2008 readlist.com