You are not logged in.

#1 2019-10-10 22:30:25

earthling
Member
Registered: 2019-10-10
Posts: 1

Cannot access LUKS volumes after pacman -Syu & reboot

I've had LUKS on LVM for about a year without issues (both home and root encrypted). 2 days ago I pacman -Syu'd, rebooted, aaaand:

mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off.

(I can't type on the emergency shell for some reason.)


I boot from USB, cryptsetup luksOpen /dev/vg0/root root gives: "No key available for this passphrase."

The passphrase is correct, but I only know how to type it from muscle memory. And because I have a German keyboard I wrote a script to try every possible US/DE key variation, on both volumes. Still: "No key available for this passphrase."



It doesn't seem like the LUKS headers are corrupted. All --verbose, --debug, etc. looks okay. Only "no key available for this passphrase".


I reboot every few weeks and was always able to decrypt it with the passphrase. I am dumbfounded.  :(



Root LUKS headers

LUKS header information for /dev/mapper/vg0-root

Version:        1
Cipher name:    aes
Cipher mode:    xts-plain64
Hash spec:      sha256
Payload offset: 4096
MK bits:        512
MK digest:      a7 de d2 02 b1 d5 ed 2c 52 c2 d2 bc c5 65 a2 4a a9 d3 52 df
MK salt:        af 2b 8d 00 87 88 b7 28 ef a0 9e 68 19 53 bd cc
                46 a3 1d e2 d0 0f e0 32 94 0d c3 46 7e d5 ef 91
MK iterations:  120470
UUID:           cdca293e-b5f7-4686-8723-51bfa910b44a

Key Slot 0: ENABLED
        Iterations:             1949026
        Salt:                   1e 0a c5 72 85 9a 95 e7 ba 7b d2 98 4d b3 83 00
                                d1 07 93 a9 42 44 11 2c a3 4b f5 4c e5 b1 82 4b
        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
00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|
00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|
00000070  a7 de d2 02 b1 d5 ed 2c  52 c2 d2 bc c5 65 a2 4a  |.......,R....e.J|
00000080  a9 d3 52 df af 2b 8d 00  87 88 b7 28 ef a0 9e 68  |..R..+.....(...h|
00000090  19 53 bd cc 46 a3 1d e2  d0 0f e0 32 94 0d c3 46  |.S..F......2...F|
000000a0  7e d5 ef 91 00 01 d6 96  63 64 63 61 32 39 33 65  |~.......cdca293e|
000000b0  2d 62 35 66 37 2d 34 36  38 36 2d 38 37 32 33 2d  |-b5f7-4686-8723-|
000000c0  35 31 62 66 61 39 31 30  62 34 34 61 00 00 00 00  |51bfa910b44a....|
000000d0  00 ac 71 f3 00 1d bd 62  1e 0a c5 72 85 9a 95 e7  |..q....b...r....|
000000e0  ba 7b d2 98 4d b3 83 00  d1 07 93 a9 42 44 11 2c  |.{..M.......BD.,|
000000f0  a3 4b f5 4c e5 b1 82 4b  00 00 00 08 00 00 0f a0  |.K.L...K........|
00000100  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 02 00 00 00 0f a0  |................|
00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|
00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|
00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|
000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|
000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000210  00 00 00 00 00 00 00 00  00 00 0b d8 00 00 0f a0  |................|
00000220  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 0d d0 00 00 0f a0  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Home LUKS headers

LUKS header information for /dev/mapper/vg0-home

Version:        1
Cipher name:    aes
Cipher mode:    xts-plain64
Hash spec:      sha256
Payload offset: 4096
MK bits:        512
MK digest:      50 c2 9a 6c 5a 98 21 77 bd 46 e0 2e 0d 01 82 f9 8d 6e db 4f
MK salt:        1e 5b cb 4c 72 5a 22 78 75 39 97 e2 cf 09 4d a5
                c8 85 8a a6 2c a6 a7 bd eb 09 71 ec fb 1c ca 6e
MK iterations:  119373
UUID:           e66111c9-7966-469d-911b-186c33a5ed06

Key Slot 0: ENABLED
        Iterations:             1909974
        Salt:                   6b 73 6f 04 65 ab 09 39 09 a7 9d 5d 75 2a 52 87
                                81 e0 67 52 0b 9d 69 83 46 7d 0f 65 88 9f 70 a8
        Key material offset:    8
        AF stripes:             4000
Key Slot 1: ENABLED
        Iterations:             1913458
        Salt:                   29 55 bb d8 70 1a 8f dc d5 12 03 37 43 a8 d5 08
                                02 c2 ac 9f 65 6f 13 f5 2c d1 97 fa ab 5a 75 75
        Key material offset:    512
        AF stripes:             4000
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|
00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|
00000070  50 c2 9a 6c 5a 98 21 77  bd 46 e0 2e 0d 01 82 f9  |P..lZ.!w.F......|
00000080  8d 6e db 4f 1e 5b cb 4c  72 5a 22 78 75 39 97 e2  |.n.O.[.LrZ"xu9..|
00000090  cf 09 4d a5 c8 85 8a a6  2c a6 a7 bd eb 09 71 ec  |..M.....,.....q.|
000000a0  fb 1c ca 6e 00 01 d2 4d  65 36 36 31 31 31 63 39  |...n...Me66111c9|
000000b0  2d 37 39 36 36 2d 34 36  39 64 2d 39 31 31 62 2d  |-7966-469d-911b-|
000000c0  31 38 36 63 33 33 61 35  65 64 30 36 00 00 00 00  |186c33a5ed06....|
000000d0  00 ac 71 f3 00 1d 24 d6  6b 73 6f 04 65 ab 09 39  |..q...$.kso.e..9|
000000e0  09 a7 9d 5d 75 2a 52 87  81 e0 67 52 0b 9d 69 83  |...]u*R...gR..i.|
000000f0  46 7d 0f 65 88 9f 70 a8  00 00 00 08 00 00 0f a0  |F}.e..p.........|
00000100  00 ac 71 f3 00 1d 32 72  29 55 bb d8 70 1a 8f dc  |..q...2r)U..p...|
00000110  d5 12 03 37 43 a8 d5 08  02 c2 ac 9f 65 6f 13 f5  |...7C.......eo..|
00000120  2c d1 97 fa ab 5a 75 75  00 00 02 00 00 00 0f a0  |,....Zuu........|
00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|
00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|
00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|
000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|
000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000210  00 00 00 00 00 00 00 00  00 00 0b d8 00 00 0f a0  |................|
00000220  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 0d d0 00 00 0f a0  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Offline

Board footer

Powered by FluxBB