Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wrong encryption key

Featured Replies

Unraid 6.11.5

 

Hey guys, 

 

Just powered off my system to do some maintenance on the server. After restarting it, I can't decrypt my drives. I used the option to decrypt/encrypt the drives with the keyfile option. I created an empty file and used it to en/decrypt my drives. A year ago, I de/encrypted the drives with the same key multiple times with no issues. Now it says "Wrong encryption key". Could it be that by using an empty file that somehow the hash or something has changed?. Maybe because my machine that I store the key on changed some metadata of the file?. Did anyone experience something like that before? Any help is appreciated.

 

Thanks.

  • Community Expert

Most likely either the key file is not the correct one or there are RAM issues, bad RAM can cause this error.

  • Author

Thanks for the quick reply, will check ram now. 100% sure it's the correct file.

  • Author

Hey, so it's not the RAM, when setting up my encryption I just created an empty file gave it a name and used that as the encryption key. It worked, I could decrypt and encrypt. Now same key it doesn't. My question would be, does Unraid do some random stuff with the key while encrypting the drives, or does it just use the cryptsetup openLuks logic? Because if it would just use the file's content. Shouldn't I be able to recreate the key just by creating the same empty file again?

 

If there is no way, I guess I will wipe my drives -_- 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.