I’ve been playing with encryption tools on various platforms and I have put together a mini application called CloudUploader for OSX Lion. The task is very basic and simple but useful too. What it simply does is that it allows you to select a file of your choice, zips the file, allows you to specify a remote server, and applies encryption method of your liking before uploading to the server you have specified. See the image below:
Below are assumed:
- The Directory the file being uploaded must exist in the Remote Server.
- The file you are going to be uploading should not have any spaces, for example …/myfile.txt is acceptable but …/my file.txt is not!
- It uses keys or passwords. You must specify a password if you are not using a key.
- In the text, I mention Joyent Server, it is because where my server is hosted ( I work for them too! ), but you can change the text in the application script
- This is not a supported application by Joyent at all, it came out purely out of my curiosity and on my own and:
- Please use it on your own risk!
The file will be uploaded with a date format ending with .e file format, for example:
In the example below the file 042422352013.zip.e indicates a file format that is zipped and encrypted. In my case, I uploaded the file in my Joyent Server and in /root directory. To decrypt and unzip the file, the following must be done either in the remote server or in locally:
[root@machine-unix ~]# openssl des3 -d -in 042422352013.zip.e -out 042422352013.zip
enter des-ede3-cbc decryption password:
[root@machine-unix ~]# unzip 042422352013.zip
Now that the file is decrypted and unzipped, my .csv file is completely visible. Couple of technical details are as follows
- Currently openssl and most of it ciphers are supported, meaning that no gnupg yet but it is in the plans! If you find a bug in openssl cipher let me know!
- Only one file can be selected, no multiple files yet
- The password entered in the password field is for encrypting/decrypting the file, and it is not the password of your server ( DON’T DO THAT )
- Under the covers, scp is used to upload the file, therefore the remote server must be listening on port 22 ( same with SSH )
You can download the tool here, and I wrapped it around an installer which is made with Platypus. All you need to do is to download it from the location, and run the installer. It will copy the application into your /Applications folder. From here, you can either doubleclick the app or drag and drop to your Dock.
Let me know how useful this application to you and what I can do to improve it!
Icon for the application is downloaded from deviantart