From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Missing keyslot or broken header or still some hope?
Date: Fri, 4 Nov 2016 12:32:55 +0100 [thread overview]
Message-ID: <20161104113255.GA7254@tansi.org> (raw)
In-Reply-To: <B7C98591-B640-4EE8-9CDA-AC8CCAFE3F2C@web.de>
Hi,
first, please do not post HTML-'emails' to this list.
It cuts you off from most people here.
Second, from the 'acting up' I would deduce that you
have some kind of severe hardware problem. It may be that
this prevents the unlock. Can you try this disk in a
different computer?
There is also the keyslot-checker in misc/keyslot_checker/
of the cryptsetup source distribution, that may tell
you more.
Regards,
Arno
On Thu, Nov 03, 2016 at 21:58:30 CET, Zero Tonin wrote:
> Hi Michael,
>
> thank you very much for your response, I appreciate your time and
> willingnes to help a stranger!
>
>
> Below I will paste the output of --debug a well as, in case it
> provides usefull information, the output of sfdisk -l for the
> partitions on the drive.
>
>
> Again, thank you ever so much, please do let me know if there is any
> further detail or informaion I could provide to hopefulyl be bale to
> recover this.
>
>
> Kind rgeards,
>
> Mark
>
> (I was unaware this mailing list is a "clear name" environemt, sorry
> for the anonymity in my first mail)
>
>
>
>
> user@debian:~$ sudo /sbin/sfdisk -l
>
> Disk /dev/sda: 77825 cylinders, 255 heads, 63 sectors/track
>
> sfdisk: Warning: extended partition does not start at a cylinder
> boundary.
>
> DOS and Linux will interpret the contents differently.
>
> Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
> 0
>
> Device Boot Start End #cyls #blocks Id System
>
> /dev/sda1 * 0+ 31- 31- 248832 83 Linux
>
> /dev/sda2 31+ 77825- 77795- 624880641 5 Extended
>
> /dev/sda3 0 - 0 0 0 Empty
>
> /dev/sda4 0 - 0 0 0 Empty
>
> /dev/sda5 31+ 77825- 77795- 624880640 83 Linux
>
> user@debian:~$ sudo cryptsetup --debug luksOpen /dev/sda5 crypt1
>
> # cryptsetup 1.6.6 processing "cryptsetup --debug luksOpen /dev/sda5
> crypt1"
>
> # Running command open.
>
> # Locking memory.
>
> # Installing SIGINT/SIGTERM handler.
>
> # Unblocking interruption on signal.
>
> # Allocating crypt device /dev/sda5 context.
>
> # Trying to open and read device /dev/sda5.
>
> # Initialising device-mapper backend library.
>
> # Trying to load LUKS1 crypt type from device /dev/sda5.
>
> # Crypto backend (gcrypt 1.6.3) initialized.
>
> # Detected kernel Linux 3.16.0-4-amd64 x86_64.
>
> # Reading LUKS header of size 1024 from device /dev/sda5
>
> # Key length 64, device size 1249761280 sectors, header size 4036
> sectors.
>
> # Timeout set to 0 miliseconds.
>
> # Password retry count set to 3.
>
> # Password verification disabled.
>
> # Iteration time set to 1000 miliseconds.
>
> # Activating volume crypt1 [keyslot -1] using [none] passphrase.
>
> # dm version OF [16384] (*1)
>
> # dm versions OF [16384] (*1)
>
> # Detected dm-crypt version 1.13.0, dm-ioctl version 4.27.0.
>
> # Device-mapper backend running with UDEV support enabled.
>
> # dm status crypt1 OF [16384] (*1)
>
> # Interactive passphrase entry requested.
>
> Enter passphrase for /dev/sda5:
>
> # Trying to open key slot 0 [ACTIVE_LAST].
>
> # Reading key slot 0 area.
>
> # Using userspace crypto wrapper to access keyslot area.
>
> # Trying to open key slot 1 [INACTIVE].
>
> # Trying to open key slot 2 [INACTIVE].
>
> # Trying to open key slot 3 [INACTIVE].
>
> # Trying to open key slot 4 [INACTIVE].
>
> # Trying to open key slot 5 [INACTIVE].
>
> # Trying to open key slot 6 [INACTIVE].
>
> # Trying to open key slot 7 [INACTIVE].
>
> No key available with this passphrase.
>
> On 3 Nov 2016, at 19:04, Michael Kjörling <[1]michael@kjorling.se>
> wrote:
>
> On 3 Nov 2016 18:30 +0000, from [2]zero.tonin@web.de (Zero Tonin):
>
> user@debian:~$ sudo cryptsetup luksOpen /dev/sda5 crypt1
>
> Enter passphrase for /dev/sda5:
>
> No key available with this passphrase.
>
> Could you try running this again, but add the `--debug` option to
> cryptsetup, then post the resulting log?
> Make sure to sanitize the passphrase itself from the log if it's there
> (I don't know), but leave everything else intact.
> --
> Michael Kjörling • [3]https://michael.kjorling.se •
> [4]michael@kjorling.se
> “People who think they know everything really annoy
> those of us who know we don’t.” (Bjarne Stroustrup)
> _______________________________________________
> dm-crypt mailing list
> [5]dm-crypt@saout.de
> [6]http://www.saout.de/mailman/listinfo/dm-crypt
>
> References
>
> 1. mailto:michael@kjorling.se
> 2. mailto:zero.tonin@web.de
> 3. https://michael.kjorling.se/
> 4. mailto:michael@kjorling.se
> 5. mailto:dm-crypt@saout.de
> 6. http://www.saout.de/mailman/listinfo/dm-crypt
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
next prev parent reply other threads:[~2016-11-04 11:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-03 18:30 [dm-crypt] Missing keyslot or broken header or still some hope? Zero Tonin
2016-11-03 19:04 ` Michael Kjörling
2016-11-03 20:58 ` Zero Tonin
2016-11-04 11:32 ` Arno Wagner [this message]
2016-11-04 19:35 ` zero.tonin
2016-11-04 20:08 ` Michael Kjörling
2016-11-05 10:16 ` Heinz Diehl
2016-11-05 10:47 ` Michael Kjörling
2016-11-04 23:28 ` Arno Wagner
2016-11-05 7:56 ` zero.tonin
2016-11-05 10:54 ` Michael Kjörling
2016-11-05 21:58 ` zero.tonin
2016-11-05 22:41 ` Sven Eschenberg
2016-11-06 7:26 ` zero.tonin
2016-11-06 11:13 ` [dm-crypt] Missing keyslot or broken header or still some hope? SOLVED Michael Kjörling
2016-11-07 21:30 ` [dm-crypt] Missing keyslot or broken header or still some hope? Arno Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161104113255.GA7254@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.