veracrypt --text --mount --protect-hidden=no /Users/admin/test /Volumes/test
Enter password for /Users/admin/test:
Enter PIM for /Users/admin/test:
Enter keyfile [none]:
パスワードを入力するだけでいいのですが。
veracrypt --text --help --verbose
注: macOSでは、バイナリは/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt
にあります。以下を実行して、veracrypt
シンボリックリンクを作成します。
ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt /usr/local/bin/veracrypt
# Make sure `/usr/local/bin` is added to the `PATH` environment variable by adding `export PATH=${PATH}:/usr/local/sbin` to `.bashrc` or `.zshrc` and reloading the terminal.
--pim=PIM
Use specified PIM to mount/open a volume. Note that passing a PIM on the
command line is potentially insecure as the PIM may be visible in the process
list (see ps(1)) and/or stored in a command history file or system logs.
--pim=0
のためにマイケルに叫びなさい。 0
オプションはドキュメントに記載されていません。
-k, --keyfiles=KEYFILE1[,KEYFILE2,KEYFILE3,...]
Use specified keyfiles when mounting a volume or when changing password
and/or keyfiles. When a directory is specified, all files inside it will be
used (non-recursively). Multiple keyfiles must be separated by comma.
Use double comma (,,) to specify a comma contained in keyfile's name.
Keyfile stored on a security token must be specified as
token://slot/SLOT_NUMBER/file/FILENAME. An empty keyfile (-k "") disables
interactive requests for keyfiles. See also options --import-token-keyfiles,
--list-token-keyfiles, --new-keyfiles, --protection-keyfiles.
veracrypt --text --keyfiles="" --mount --pim=0 --protect-hidden=no /Users/admin/test /Volumes/test
veracrypt --text --dismount /Users/admin/test
PIMプロンプト: -pim = を無効にするには
キーオプションがどこにも見つかりません。