Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How to perform a zuluCrypt "Create Encrypted Container in Hard Drive" but as a Linux command line?

+0
−0

I have long been in the process of converting my manual steps to create a new backup disks into an automated script. The only part I have left is the initial "creation" of the disk, meaning whatever zuluCrypt does behind the scenes when you use this menu option:

Create => Encrypted Container in Hard Drive

I have searched for a way to display the command(s) that zuluCrypt uses under the hood, but there seems to be no such thing. I also cannot comprehend its source code to see what it's actually doing: https://github.com/mhogomchungu/zuluCrypt/blob/master/zuluCrypt-gui/createvolume.cpp seems to not have any mention of "cryptsetup" as a command being run, for example.

I assume that it must involve a cryptsetup command, perhaps with makefs as well or something like that (since it creates a ready-to-use LUKS2-encrypted ext4 file system on the disk). I want my script to be identical to this step which I've manually done so many times now, in order to ensure consistency. I'd rather not "guess" the command based on what it "probably" runs.

How would I recreate these exact options from the GUI, as a command line?

screenshot

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »