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.

Encrypted Drive: Setting Password length too long?

Featured Replies

I have an Unassigned Device external drive that I've attached to my unraid server that I want to encrypt. Everything seems to work fine as I click the FORMAT button under UD on the MAIN screen.

 

I select XFS-ENCRYPTED and it asked me for my password. I used a long 26 character password, which I have used with LUKS before.  No error messages and the format goes through.

 

I go into the settings for UD and set the disk password so unraid can mount it with no error message, but when I attempt to mount it will not mount. In the log settings is says this

image.png.85776f51c0cc365c7b7261ef9b6754b5.png

 

So I re-partitioned the drive again setting a new password in case there was an error in entering the password the first time.  I tried mounting and it gave the same error message. I tried mounting using the command line which gave the same error No key Found.

 

So I re-partitioned again using a 16 character password and it worked fine.

 

I've used LUKS encryption before with very long password lengths, is there a reason unraid is restricting the number of characters?

 

What is the max password length?

 

Thank you.

  • 2 weeks later...
On 3/7/2021 at 6:49 PM, jay010101 said:

What is the max password length?

https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions does not say, but some guy here says it's 512.

 

But https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions#1-general-questions does indicate that :

 

Quote

PASSPHRASE CHARACTER SET: [...]It is highly advisable to only use the 95 printable characters from the first 128 characters of the ASCII table, as they will always have the same binary representation. Other characters may have different encoding depending on system configuration and your passphrase will not work with a different encoding. A table of the standardized first 128 ASCII characters can, e.g. be found on https://en.wikipedia.org/wiki/ASCII 

 

Maybe that was your issue.

 

Best,

OP

Edited by Opawesome

Archived

This topic is now archived and is closed to further replies.

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.