Menu

Non-Interactive Command Line Setup

Nops
2018-05-20
2019-08-19
  • Nops

    Nops - 2018-05-20

    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

     
  • Thomas Irlet

    Thomas Irlet - 2019-08-19

    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

     

Log in to post a comment.

MongoDB Logo MongoDB