Hi,
I am not sure if this should be in "Technical Topics" or "Feature requests" forum.
I am using WIndows 7 and creating .bat file. I need to create encrypted file container. It should be encrypted by keyfile (stored on Safenet eToken 7300 4GB). I was searching ( https://veracrypt.codeplex.com/wikipage?title=Command%20Line%20Usage ) and googling but I can't find any relevant information. If I get it right than command-line version of veracrypt is able to mount encrypted volume/container with keyfiles but is not able to create/format new one using keyfiles, am I right?
Thank you for any hints,
Pavel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much. You are right, I have found parameter "-k" on linux. That is great info for me that at least in linux it is working. I was trying the same procedure with Veracrypt on WIndows but unfortunatelly there is no "/k" parameter. However thank you very much for linux info.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
will the / keyfile option ever work in the command line for Windows?
ps
for VeraCrypt Format
pss
I found the answer to my question on the forum (not working yet).
In the future, plan to add such a parameter for VeraCrypt Format in the command line for Windows.
Last edit: JIexa34Pyc 2018-11-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
like Pavel, we need this ability (to create volumes with a keyfile stored on a smartcard) for Windows, in our case several hundred PCs. Unfortunately we don't have own developers to help on this.
Is there any possibility to support an early development e.g. by funding it?
Best regards,
Julius
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I decided to do it myself. The zip file contains all the necessary files to create an encrypted fault through the command line with a keyfile option and to mount/unmount that fault to a drive letter. I haven't tested it extensively but it works for me.
I do not make any warranties about the completeness, reliability and accuracy of this program. Any action taken upon the information in this post is strictly at you own risk, and I will not be liable for any losses and damages to your data of any sort.
Hi,
I am not sure if this should be in "Technical Topics" or "Feature requests" forum.
I am using WIndows 7 and creating .bat file. I need to create encrypted file container. It should be encrypted by keyfile (stored on Safenet eToken 7300 4GB). I was searching ( https://veracrypt.codeplex.com/wikipage?title=Command%20Line%20Usage ) and googling but I can't find any relevant information. If I get it right than command-line version of veracrypt is able to mount encrypted volume/container with keyfiles but is not able to create/format new one using keyfiles, am I right?
Thank you for any hints,
Pavel
On linux -k <keyfile> is the option for keyfiles. It can be used on creation or mounting.
Thank you very much. You are right, I have found parameter "-k" on linux. That is great info for me that at least in linux it is working. I was trying the same procedure with Veracrypt on WIndows but unfortunatelly there is no "/k" parameter. However thank you very much for linux info.
Hi,
will the / keyfile option ever work in the command line for Windows?
ps
for VeraCrypt Format
pss
I found the answer to my question on the forum (not working yet).
In the future, plan to add such a parameter for VeraCrypt Format in the command line for Windows.
Last edit: JIexa34Pyc 2018-11-19
Hi,
like Pavel, we need this ability (to create volumes with a keyfile stored on a smartcard) for Windows, in our case several hundred PCs. Unfortunately we don't have own developers to help on this.
Is there any possibility to support an early development e.g. by funding it?
Best regards,
Julius
Hi there,
I would also like to see this option for the commandline in Windows. Is there any one who can help us with this?
So I decided to do it myself. The zip file contains all the necessary files to create an encrypted fault through the command line with a keyfile option and to mount/unmount that fault to a drive letter. I haven't tested it extensively but it works for me.
Creating a fault can be done like this :
"VeraCrypt Format.exe" /create "C:\tmp\veracryptoutput" /keyfile "C\tmp\opensslkey" /hash Whirlpool /encryption AES /filesystem NTFS /size 20M /force /silent
Mounting that fault on P-drive :
VeraCrypt.exe /q /v "C:\tmp\veracryptoutput" /l p /k "C:\tmp\opensslkey" /hash whirlpool /tryemptypass /silent
Unmounting the fault:
VeraCrypt.exe /q /d p
P.S.
Use at your own risk ,
I do not make any warranties about the completeness, reliability and accuracy of this program. Any action taken upon the information in this post is strictly at you own risk, and I will not be liable for any losses and damages to your data of any sort.
Last edit: bahadoer 2020-01-08