Sample Header Ad - 728x90

Open VeraCrypt file with cryptsetup/LUKS

4 votes
2 answers
8126 views
Can cryptsetup be used to open a veracrypt file like crypsetup/dm-crypt can open luks? What is the correct process ? Want to make sure other software can open veracrypt file , command line or gui is fine, as long as it can open a veracrypt file. Tried: - sudo cryptsetup tcryptOpen '/media/path/to/veracrypt/file' stuff - sudo cryptsetup --type --tcryptOpen ''/media/path/to/veracrypt/file' stuff - cryptsetup tcryptOpen '/media/path/to/veracrypt/file' stuff The @Vojtech Trefny answer below seemed to work, but with an error:
sudo cryptsetup --type tcrypt --veracrypt open '/media/path/to/veracrypt/file' stuff
Enter passphrase for /media/...: 
Device '/media/path/to/veracrypt/file' is too small.
``` password was able to open the veracrypt file using veracrypt, but not using cryptsetup. Additional note: This is command allowed me to access veracrypt/truecrypt files using cryptsetup sudo cryptsetup --type tcrypt open container-to-mount container-name kenfavors.com has a simple example page that may be useful to anyone having similar problem described above
Asked by t09 (71 rep)
Mar 10, 2021, 07:33 AM
Last activity: Jul 26, 2024, 07:29 PM