I'm trying to mount a Veracrypt vault with bash. I'm using a 128 char password.
The password works just fine when entering into the Veracrypt GUI.
When I try to mount using Bash I get the error:
Error: The entered password is too long: its UTF-8 representation exceeds %d bytes.
Are there any workarounds to the bytes constraint?
Here's the specific code that mounts the vault:
veracrypt -t --non-interactive --mount $vault_path --slot $slot --pim=$pim --password='$pwd'