You are not logged in.

#1 2019-05-02 18:41:40

matthew02
Member
Registered: 2012-08-01
Posts: 42

LUKS keyfile not working "No key available with this passphrase."

Hi everyone!

I have some LUKS encrypted drives that I've recently become unable to unlock. They are 4x2Gb WD Reds that are block-level encrypted with Btrfs raid 6 on top. These drives were originally encrypted on an Ubuntu Server system nearly seven years ago, but I've used them with Arch for some time without problems. I've always unlocked them non-interactively (usually automatically at boot) using a key file. That key file is the only key ever used for these drives and it occupies the only used slot. I'm trying to figure out what's happened and if there is any solution. I do have backups, but they are quite inconvenient and I would very much prefer to work this out if possible. Thanks for any help any of you may be able to offer.

Here is some output from my system that may be helpful:

# blkid
https://gist.github.com/matthew02/d2db3 … 62131528d5

# cryptsetup isLuks -v /dev/sda

Command successful.

# cryptsetup open --type luks --key-file mykeyfile /dev/sda sdavault

No key available with this passphrase.

# cryptsetup open --type luks --verbose --debug --key-file /tmp/key /dev/sda sdavault
https://gist.github.com/matthew02/8dabf … 4d6b5cddbb

# cryptsetup luksDump /dev/sda
https://gist.github.com/matthew02/cbfb1 … 83a34ca36b

# cryptsetup benchmark
https://gist.github.com/matthew02/77360 … 5b90801156

# cat /proc/crypto
https://gist.github.com/matthew02/abb88 … 0479e29c71


Mods: This is similar to a message I posted yesterday that was moved to the dustbin. I have corrected the issue and cleared this repost with JasonWryan.

Edit: Typo

Last edited by matthew02 (2019-05-02 19:07:59)

Offline

#2 2019-05-02 22:48:19

matthew02
Member
Registered: 2012-08-01
Posts: 42

Re: LUKS keyfile not working "No key available with this passphrase."

I suspect that ithis may have something to do with differing ciphers, but I'm not knowledgeable enough about those details to work it out on my own.

Offline

Board footer

Powered by FluxBB