-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add an option to create a volume in a non interactive way #18
Comments
I really don't like this, to be honest. Unless you can give me a good reason not to, I'd prefer people using the library for non-interactive work. |
I am using the library now so the lack of option doesnt affect me. when i build it initiall,i just typed "make" and it build without the library so i didnt know there is a library when i wrote the bug post. I had to look at the makefile to know it was possible to build the library and how to build it. I think it will be best if you had a "BUILD_INSTRUSTIONS" text file or something equivalent to talk about different build options.Building the library by default would be better in my opinion. |
Agreed on the build instructions. I'll throw some of that into the README. I'm not convinced about building the library by default, but I'll have a think about it. |
I am also interested in building encrypted volumes non-interactively. I spent a couple of evenings using the tool Expect to automate the process of simulating keyboard input against the command-line version of tc-play (for example, entering and reentering the Password used to create a volume). Then by chance I was looking over the source and discovered that there exists a tc-play API. It wasn't clear to me from having read the README that this even existed. The man page for the API is very well documented and this library looks great. However, the README only makes this single reference to the API: "In addition, this process will also generate a .pc file (pkg-config) for the tcplay library." It might be worth highlighting this library's existence more in the README: "For a rich set of API functions which can be used to integrate tc-play functionality into your codebase, please see 'man tcplay 3'. Here is an example of a simple C program to build an encrypted volume using this library. ..." |
I'm not a big fan of commenting on closed issues, so I've opened #51 to track this. FWIW: the API is currently undergoing a major redesign, and the man page is not up-to-date with the new API. I'm updating the man page this week. |
an example of how to use tcplay API to create a volume can be seen from below linked source file.The source file has implementation for the current API and the new one. https://raw2.github.com/mhogomchungu/zuluCrypt/master/zuluCrypt-cli/lib/create_tcrypt.c |
It will be nice if the tool will get the ability to create a volume without being asked to confirm or repeat the passphrase .It will make it easier to wrap the tool around scripts and GUI
The text was updated successfully, but these errors were encountered: