On MacOS, using its disk utility, I created an encrypted volume from a folder using the following option listed under File -> New Image -> Image from Folder...:
Since I always use pass
as my password manager, I always opt for the maximum length password. This I did in my case here too, but I was surprised when I generated a password of length 500, and disk utility accepted it without an issue. It then created my image, encrypted it and now I'm greeted with the error "Passphrase too long" when trying to decrypt the image using the very same accepted password as can be seen here:
I tried the only thing I could think of, and that is to check the max length (it's 256 characters), and try to cut down the length 500 password to said max length, but my password is again, rejected. This time without the Passphrase too long
error, but with simply the incorrect passphrase
error.
Does anybody know by any chance if the passphrase is set to some default value in this case?
diskutil
command? – Gilby Jan 05 '24 at 03:20