All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] No key available for this passphrase
@ 2012-09-08  9:03 Marcos
  2012-09-08 13:35 ` Arno Wagner
  0 siblings, 1 reply; 25+ messages in thread
From: Marcos @ 2012-09-08  9:03 UTC (permalink / raw)
  To: dm-crypt

Hi,

I have a encrypted fs on my Archlinux laptop that I cannot unlock 
anymore:

# cryptsetup luksOpen /dev/sda2 vgroup
No key available for this passphrase

I updated yesterday my system and booted once successfully into it. 
After that I used the machine and created a live Ubuntu USB for a friend 
and tested it booting into it, live mode. I shutted it down and after 
that I'm unable to unlock the key of my encrypted partition.

I've done the following so far:

  * tested to write the passphrase using a US-layout keyboard to discard 
keymap problems
  * booted from a liveUSB and try to luksOpen it from there, with no 
success (using the right keymap, es_ES in my case)
  * plugged my harddisk via USB to another computer running Debian and 
tried to unlock it from there, no success neither.

AFAICT the luksHeader is OK:

# cryptsetup -v isLuks /dev/sda2
Command successful.

I installed the system few years ago following this guide: 
http://www.pindarsign.de/webblog/?p=767 in case you want no know how 
luks was setup.

Can any one give some hints on what to do now? Do you need more 
information about it?

My last backup is from some time ago and I'm really worried about my 
data now.

Thanks in advance,
-- 
Marcos
http://tenak.net/

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [dm-crypt] No key available for this passphrase
@ 2013-01-25 17:53 Sebastian
  2013-01-25 19:40 ` Arno Wagner
  0 siblings, 1 reply; 25+ messages in thread
From: Sebastian @ 2013-01-25 17:53 UTC (permalink / raw)
  To: dm-crypt

Hello,

I have quite a problem here with my notebook (debian squeeze and luks/dm-crypt
encrypted LVM).
After shutting it down yesterday, it did not let me unlock the encrypted disk
this morning.

I already found the post from September 2012 in the mailing list, but it did not
exactly match my case (everything looks fine, not overwritten by SWAP data)


Header Information looks OK to me:

 # cryptsetup luksDump /dev/sda2
LUKS header information for /dev/sda2

Version:        1
Cipher name:    aes
Cipher mode:    cbc-essiv:sha256
Hash spec:      sha1
Payload offset: 2056
MK bits:        256
MK digest:      53 44 c2 4d b0 9e c5 73 ef fa d7 12 4f dd f0 75 64 3b 88 ad 
MK salt:        50 5f a9 69 21 6e 21 ac db 09 bd 79 b0 9b 9b 1e 
                14 2a 5d e4 46 2b 4d 9c 49 e3 9f 7d f9 d7 64 84 
MK iterations:  10
UUID:           b89fe8ad-3aea-4f27-9448-06e75fd8a05a

Key Slot 0: ENABLED
        Iterations:             75899
        Salt:                   2d 2b 66 4c 57 eb ff e7 7f 63 14 8f c5 3b 6b aa 
                                38 53 2d 52 52 b6 d9 cc 84 b0 1a 11 bd cf 88 70 
        Key material offset:    8
        AF stripes:             4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED


Looking closer to the header (exported to file via luksHeaderBackup), right
after the initial information also shown by luksDump up to address 0x1000 (first
keyslot) is filled with zeroes, from 0x1000 until the end of the file random
data with no ASCII that would indicate files (e.g. header informations) or a
partition table.

The key slot checker though, gives me this output:


./chk_luks_keyslots /home/r4pt0r/notebook/luksheader.img

Sectors with entropy below threshold (0.850000):

Keyslot 0: start:   0x1000 
  position:  0x10000   entropy: 0.625023

Keyslot 1: start:  0x21000 
  keyslot not in use

Keyslot 2: start:  0x41000 
  keyslot not in use

Keyslot 3: start:  0x61000 
  keyslot not in use

Keyslot 4: start:  0x81000 
  keyslot not in use

Keyslot 5: start:  0xa1000 
  keyslot not in use

Keyslot 6: start:  0xc1000 
  keyslot not in use

Keyslot 7: start:  0xe1000 
  keyslot not in use



So the entropy seems to be too low? But where does the address 0x10000 come
from? shouldn't the key start at 0x1000 similar to its slot?


I HAD an backup of the header on USB stick - the Notebook was set up around 3-4
years ago but i really found my old backup-stick (32MB) where also gpg-keys and
other small files were backed up. 
BUT: the stick seems to be broken :(  It's not recognized by any PC and the LED
doesn't light up...



As the Notebook is usually put to sleep-mode I really can't remember what
updates were installed since the last reboot.



Is there any possibility the key is not damaged and data can be recovered?

Thanks for any help!

Sebastian

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-01-31 17:49 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08  9:03 [dm-crypt] No key available for this passphrase Marcos
2012-09-08 13:35 ` Arno Wagner
2012-09-08 18:47   ` Marcos
2012-09-08 20:02     ` Arno Wagner
2012-09-08 20:51       ` Marcos
2012-09-08 22:47         ` Arno Wagner
2012-09-09 12:53           ` Marcos
2012-09-09 13:49             ` Arno Wagner
2012-09-09 14:06               ` Marcos
2012-09-08 23:16         ` [dm-crypt] Re2: " Arno Wagner
2012-09-09 12:58           ` Marcos
2012-09-08 22:45       ` [dm-crypt] " Matthias Schniedermeyer
2012-09-09  8:45         ` Milan Broz
2012-09-09 13:42           ` Arno Wagner
  -- strict thread matches above, loose matches on Subject: below --
2013-01-25 17:53 Sebastian
2013-01-25 19:40 ` Arno Wagner
2013-01-25 19:57   ` Sebastian
2013-01-25 21:50     ` Arno Wagner
2013-01-26 10:15       ` Sebastian
2013-01-26 17:41         ` Arno Wagner
2013-01-27  8:42           ` Sebastian
2013-01-28 23:46             ` .. ink ..
2013-01-29  2:39               ` Arno Wagner
2013-01-31 13:43                 ` Sebastian
2013-01-31 17:48                   ` .. ink ..

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.