cryptsetup can't decrypt a partition since F7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I've got a strange problem with Fedora 7. I've upgraded from FC5 to F7. 
Since then I cannot decrypt a partition I've created with FC5. I used 
cryptsetup *without* LUKS.

Even more strange: I can decrypt another partition which has been 
encrypted in exactly the same way. The only difference between them is

- the decryptable partition is on a PATA drive
- the undecryptable partition is on a SATA drive

The hard drive is not broken because I can decrypt the partition under 
Knoppix.

Here is my diagnosis so far (sda1 and sdc1 is the same partition because 
the naming convention changed with F7's kernel)

Under FC5 (and Knoppix 5.2) I do:
# cat key|cryptsetup -c aes-cbc-essiv:sha256 create _dev_sda1 /dev/sda1
# dmsetup --showkeys table _dev_sda1
0 976768002 crypt aes-cbc-essiv:sha256 <key1> 0 8:1 0

Under F7 I do:
# cat key|cryptsetup -c aes-cbc-essiv:sha256 create _dev_sdc1 /dev/sdc1
# dmsetup --showkeys table _dev_sdc1
0 976768002 crypt aes-cbc-essiv:sha256 <key2> 0 8:33 0

As you can see the identical commands produce two different encryption 
keys.
Do you have a clou what's happening? Any hint would be great.

I've already filled a bug report, but I've got no response so far...
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243086

-- 
bye,
Adalbert

Every program has (at least) two purposes: the one for which it was 
written and another for which it wasn't.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux