Edit: Turns out you guys were right, I entered the setup password wrong for LUKs. I got this new Logitech keyboard I got for a gift and I type around 170wpm, but I’ve been having issues with it kind of lagging keys for some reason. What I did was I opened up a notepad and typed in my password a bunch of times and noticed whenever I would type something such as “stain” for example, it would come out at “stani” despite me looking at the keyboard and knowing that wasn’t what I was typing. So I encrypted my drive with the wrong password, but figured out how to decrypt it that way. Thanks for the help doods!

Hello! I have a external drive I’ve encrypted with LUKs that has irreplaceable backups of mine, and for some reason no matter which PC I try it won’t unlock despite it being the correct password. It doesn’t give me anything else in the terminal other than what I put in the title.

I recently just backed up everything onto the external drive from my computer cause I was distro hopping. It’s worked fine on my PC, I saved the password so I was able to mount it no problem before, but now it won’t mount on any other PC I try. It isn’t the end of the world since I can just try and copy old data from my computers drive before the format since I haven’t downloaded anything yet that could overwrite anything important, but I’d still like to be able to get this external drive unlocked. As I’ve said, irreplaceable files of mine are on it so I’m hoping to get it working. Thank you!

  • mufasio@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    Your password just unlocks the volume key which is used to decrypt/encrypt the data. It sounds like the volume key is on our PC, not the external drive. I don’t have much experience with LUKs and none with using it on an external drive, but I suspect that you will need to wipe the drive and set it up again while ensuring that the volume key is stored on the external drive itself.

    • frongt@lemmy.zip
      link
      fedilink
      arrow-up
      7
      ·
      2 days ago

      The header is stored on the device, unless you specifically create a detached header.

    • helpmyusernamewontfi@lemmy.todayOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      but I suspect that you will need to wipe the drive and set it up again while ensuring that the volume key is stored on the external drive itself.

      Whenever I format a drive I just use Gnome Disks since it’s the easiest and it lets me encrypt it using LUKs as a option, I’ve never had an issue like this for years until now since whenever I’ve used Gnome Disks in the past it always lets me decrypt the drive on any other Linux machine

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        It is possible Gnome keyring holds the key, and the gnome password / key wallet is not unlocking during login. But I’m guessing. The error message sounds like the decryption key is not available