tcplay fork that can create veracrypt volumes fail to do so when -a option is used

Topics: Technical Issues
Mar 17, 2015 at 7:59 PM
i used tcplay from here:

to create a veracrypt volume and it doesnt seem to work when -a option is used to specify hash function.

[root@ink build]# tcplay -a RIPEMD160 -z -w  -c -d /dev/loop0 --veracrypt-mode
WARNING: Using urandom as source of entropy for key material is a really bad idea.
Repeat passphrase: 
Summary of actions:
 - Create volume on /dev/loop0

 Are you sure you want to proceed? (y/n) y
Creating volume headers...
Depending on your system, this process may take a few minutes as it uses true random data which might take a while to refill
WARNING: Using a weak random generator to get entropy for the key material. Odds are this is NOT what you want.
Writing volume headers to disk...
All done!
[root@ink build]# tcplay --info -d /dev/loop0 --veracrypt-mode
Incorrect password or not a TrueCrypt volume
specifying -a option seems to cut the process short as it returns too early with "success" status but the volume can not be opened as the "incorrect passphrase error" shows.