![]() ![]() Applications/VeraCrypt.app/contents/MacOS/VeraCrypt The first item is the path to the VeraCrypt application, assuming you installed it in the default location. OK, that’s a bit hard to read, so let me break it out into each part below. Applications/VeraCrypt.app/contents/MacOS/VeraCrypt -text -create "/Users/arcanecode/Documents/temp/vctest.vc" -size "200M" -password MySuperSecurePassword1! -volume-type normal -encryption AES -hash sha-512 -filesystem exfat -pim 0 -keyfiles "" -random-source /Users/arcanecode/Documents/temp/randomdata.txt Please note that while your blog reader may wrap the command below, it should be one line in your shell script. OK, let’s get started! Creating a Containerįirst off, let’s look at the long line of code needed to create a container. I’ll update it over time as needed, and it may be easier for you to download, or cut and paste from it. While I will be providing samples here, you should also check out the project I have on GitHub that goes with this post, VeraCrypt-CommandLine-Examples. It’s compatible with macOS BigSur and Catalina, and probably older versions too, check their site if you have that need. It’s free, fast to install and takes very little in the way of system resources. In order for macOS to be able to read the variety of filesystems VeraCrypt supports, you need to install a free utility, macFUSE. You can find out more in my first post of the series, VeraCrypt – A Powerful Encryption Utility. Naturally, you’ll have to have VeraCrypt installed. In this post we’ll focus on macOS, in the next two posts we’ll cover Windows and Linux. Creating a container, mounting a container (aka volume), getting a list of mounted volumes, and finally dismounting your volumes.Īs it turns out, the command line syntax is a bit different for all the major operating systems. In this, and the next two posts, we’ll see how we can automate VeraCrypt from the command line. In my last two posts I showed how to use the encryption utility, VeraCrypt, to create encrypted containers and drives to securely store data. In addition, security is an ever increasing need in today’s world of hacks and ransomware. Automation is the key to success, especially in the DevOps world.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |