This project has moved. For the latest updates, please go here.

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: https://github.com/veracrypt/tc-play

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

example:
[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.
Passphrase: 
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
Passphrase: 
Incorrect password or not a TrueCrypt volume
Passphrase: 
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.