Just built a NOGUI veracrypt_1.16_Source.tar.bz2 on fedora22 linux, and no power on earth seems to be able to get the --stdin option to work for reading passwords:
```
zooty> sudo veracrypt --non-interactive --protect-hidden=no --pim=0 --hash=sha512 --keyfiles=/huge/secure.keyfile --stdin /huge/secure.hc /secure < passfile
Error: Operation failed due to one or more of the following:
- Incorrect keyfile(s).
- Incorrect password.
- Incorrect Volume PIM number.
- Incorrect PRF (hash).
- Not a valid volume.
```
However, if I use the interactive version, it seems to work fine:
```
zooty> sudo veracrypt --protect-hidden=no --pim=0 --hash=sha512 --keyfiles=/huge/secure.keyfile /huge/secure.hc /secure < passfile
Enter password for /huge/secure.hc:
```
It prints the prompt, but also reads the exact same password file from stdin and mounts the secure filesystem correctly.
```
zooty> sudo veracrypt --non-interactive --protect-hidden=no --pim=0 --hash=sha512 --keyfiles=/huge/secure.keyfile --stdin /huge/secure.hc /secure < passfile
Error: Operation failed due to one or more of the following:
- Incorrect keyfile(s).
- Incorrect password.
- Incorrect Volume PIM number.
- Incorrect PRF (hash).
- Not a valid volume.
```
However, if I use the interactive version, it seems to work fine:
```
zooty> sudo veracrypt --protect-hidden=no --pim=0 --hash=sha512 --keyfiles=/huge/secure.keyfile /huge/secure.hc /secure < passfile
Enter password for /huge/secure.hc:
```
It prints the prompt, but also reads the exact same password file from stdin and mounts the secure filesystem correctly.