You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow backup encryption passwords of any length #568
Surely, the 32 char-only restriction for passwords is strange. Most users use passwords with length under 10 chars, so one would suffer from this limit.
The suggested change is to allow passwords from 8 to 32 (or even 64) chars.
Chosen approach:
The password is no longer the encryption key itself: the key is derived from it (PBKDF2-HMAC-SHA256 with a random salt per export), so it can have any length.
Minimum 12 characters, still with a lowercase, an uppercase, a number and a special character; no maximum.
Older encrypted backups (32 characters password) still import. A backup encrypted with the new version can't be imported by an older version.
The encryption library requires a 32 characters passphrase (I don't exactly know why, but some cryptographic stuff). I could however pad a shorter password with a known character like "*".
Activity
maelchiotti commentedon Aug 22, 2026
The encryption library requires a 32 characters passphrase (I don't exactly know why, but some cryptographic stuff). I could however pad a shorter password with a known character like "*".
[-]Password for backup encryption[/-][+]Allow backup encryption passwords of any length[/+]