I'm trying to install Veracrypt via a Bash script as part of our server automations, and would like to do so in a non-interactive way. I've tried the --quiet flag, but the user still seems to need to confirm the license manually. Is there a way to install the command line Veracrypt on Linux without human interaction? Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to import a keyfile to a security token on linux in non-interactive mode with the command --import-token-keyfiles. Unfortunately, it is not non-interactive, but the keyfile are always asked, even if you specify one on the command line. Further, you cannot choose the name of the Keyfile on the Token, it's always the Filename without Extension. And third, if there are more than one Slot, the Slot-Nr is always asked. Wouldn't it possible to respect
the "non-interactive" option for "import-token-keyfiles"
to use the option "--keyfiles"
to use the "volume path" as the destination, like "token://slot/0/file/myKeyfile"
NB: The Option "--token-pin" is respected.
So: My proposal for a non-interactive command line would be like that:
$ veracrypt -t --import-token-keyfiles --token-lib=/usr/lib/tokenlib.so --token-pin=myPIN --keyfiles=myKeyfile token://slot/0/file/myTokenKeyfile
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to install Veracrypt via a Bash script as part of our server automations, and would like to do so in a non-interactive way. I've tried the --quiet flag, but the user still seems to need to confirm the license manually. Is there a way to install the command line Veracrypt on Linux without human interaction? Thanks
I am trying to import a keyfile to a security token on linux in non-interactive mode with the command --import-token-keyfiles. Unfortunately, it is not non-interactive, but the keyfile are always asked, even if you specify one on the command line. Further, you cannot choose the name of the Keyfile on the Token, it's always the Filename without Extension. And third, if there are more than one Slot, the Slot-Nr is always asked. Wouldn't it possible to respect
NB: The Option "--token-pin" is respected.
So: My proposal for a non-interactive command line would be like that:
$ veracrypt -t --import-token-keyfiles --token-lib=/usr/lib/tokenlib.so --token-pin=myPIN --keyfiles=myKeyfile token://slot/0/file/myTokenKeyfile
Thanks