r/pop_os • • 4d ago

Help Crypt Passphrase Error

So, been using this pc for a year now. And suddenly yesterday had an error when typing my passphrase for the crypt. Yes, I typed in the correct passphrase.

Is there a way to change the passphrase, or downright remove it? Without me losing my data on the drive the OS is installed on of course.

3 Upvotes

4 comments sorted by

1

u/frogtd129 4d ago

If you use a live usb you can open the disk in Disks and type in the password that way. If you do not remember the password, your data is gone.

0

u/MistahTeddy 4d ago

Many thanks for answering. I looked up online on how to change or decrypt and all that. Too much work and too complicated. If it wasn't complicated I would've done so even if it was tedious. But complexity makes it that I might make a mistake somewhere, which might make things more difficult.

So i just decided to nuke the thing and do a clean install. All those files be damned.

Again, thanks for trying to help.

2

u/RandomChain 4d ago

Sorry you lost your data. To avoid getting locked out again, you can add another slot(s) with a key file, and not just use a passphrase (and obviouly keep that file somewhere safe but not on that encrypted drive). You can also backup the LUKS header so you can try to restore it if it gets corrupted.

1

u/MistahTeddy 4d ago

Thanks for the tips.

I got in a few times by either sheer luck and through a cold start. But the process of doing any of the things you mentioned had, complications.

I tried changing the encryption passphrase, it asked for the current passphrase. Which even though I was in a live session, still won't accept my original passphrase.

Same issue with trying to add a new passphrase. Still asked for the current passphrase, and still won't accept it.

So I just nuked everything. Did a Clean Install, this time without an encryption.