Have my disk encryption key, but not my password

Yikes… I’m such an idiot, I really lost my password. I had it memorized and written down on a piece of paper but one day I wake up and I can’t remember the 3 numbers at the end, and the paper is nowhere to be seen… What do I do? Can I crack my own password with hashcat?? Is there another way? I doubt it works the same way with other linux distros. I do NOT want to reinstall, I have to get back in, I’ve had this account for months, and I keep my info, and bitcoins on it. Please help.

[ Quite off-topic for Qubes, although users coming from Windows and other worlds might be accustomed to “helpful recovery methods”… They might even be here because of “helpful recovery methods” ]

If it is only 3 digits at the end, then there are only 1000 candidates…

If you can boot a live linux distribution, unlock the disk and get the password entries from /etc then it should be possible to crack.

Edit to say:

Instead of trying to recover the old password, it may be simpler to use a livecd to:

  1. make a full disk backup
  2. mount the Dom0 filesstem and reset the password to a new one.

A web search should give the general procedure.

It is an XY problem

John the Ripper, from https://www.openwall.com/john/ is quite easy to set up for simple “mangling” like this. (Although I didn’t look into using it on recent fedora passwords)

Edit to add: You could also just try 1000 times. Using Ctrl-Alt-F2 to F6 to use the text consoles may help to make it a little faster.