Linux, Unix and Command-line Usage

This lecture demonstrates the *ix user interface (UI) of CrococryptFile and the command-line interface for server and scripting purposes.

Let’s take a look on Chrome decrypt file on the Linux or any other system that’s running Java, including Mac OS, you can download this Linux version of cocoa script file, again, from SourceForge. I’ve already done that have used the tar archive here, I have detected within my home folder, and I will give now a short introduction to the graphic user interface on the Linux, which works the same as under Windows and the command line options. So I’ve already opened a console, a terminal, and we will just take a look into the folder. As you can see, there’s a executable called croco. If we just call croco. You can see the hint that you can also use a command line interface. But let’s stick to the Revit user interface for a second. What you can do here is select one Multiple directories to encrypt, I will just select the pictures folder. And, again an image to encrypt. And you can see here now, did you have the same crypto providers as under Windows except for the Windows key store, of course. So I can do like PGP encryption here again, as you can see, I have several dummy keys here installed. And I can of course also use the classic password based encryption. So this works the same as on the windows. This is why I won’t show that again. I quit here. And so let’s look at the command line option which could also be used in scripts or for batch processes in server mode or whatever. As you can see here. croco crypt file is Java based it needs Java one dot seven or higher to run. The croco executable sums up all the necessary records into one executable. I think if you’re familiar with the Linux console or terminal, you will be able to use the command line options very easily. I will now give an example for password based encryption. So if you want to encrypt a directory like I will do with the pictures folder now I can show the pictures folder. Here, there’s a little PNG image from open clipart and I want to encrypt this now, the whole folder, I will use the following options minus c forces the console to be used. So there will no graphical user interface being used. I want to encrypt a file, I want it to be called and I use the proper file directory directly. I will call it fixtures croco. And now the important part which crypto provided to be used. As you can see here, every crypto provider can be specified. I will use the simple password based encryption with a yes. And now I can specify arbitrary files and directories. So a list of files and directories I will just use the pictures folder in this case I have to provide the encryption password as you know it from the graphical user interface. And so, we’re done that’s it. As you can see now, there is this pictures dot croco file. And now we go for the decryption. Let’s take a look again on the command line options for this So we need minus c minus d for decryption, we need to specify a target directory, I will again choose the directory that we are in. And I have to specify the crocco file, the encrypted archive. And you’ll see it’s very simple. I put in the decryption password. And now we have the pictures folder, which hopefully contains all our data. Let’s take a look at this folder. As you can see here, I’m in the Crocker prep file folder. And there we go. We have the plain file through DD corruption. We’ve just done a quick look at all options that you might want to use. We’ve used the C option we’ve used the D option, the E option. I think it’s safe. explainable why What’s important is if you have to script something and you want to automatically encrypt something password based or decrypt something with your PGP files, you are able to do so to specify the password with the credit option. However, this is of course, not requirement, because that would mean that you store the password in a script, or that it might be readable through the console. So this in general is a bad idea. You might have a certain application for this in special circumstances, but use it with care.