0

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' 
Emily
  • 1,979
  • 3
  • 16
  • 39
  • This looks like a bug in that program. Most probably somebody should have programmed something like `printf("... exceeds %d bytes.", some_value)`, while (s)he has written `printf("exceeds %d bytes.")`, without mentioning the value. Please contact the vendor, who should be able to mention what that value should be. – Dominique Feb 21 '22 at 12:27

0 Answers0