Description: Nothing against Canonical or the Ubuntu One service, but I think it's poor security practice to upload data to any cloud storage without first encrypting it. I like the Ubuntu One service, which is why I wrote this script.
The concept is basic. At start up, it will ask you if you want to encrypt or decrypt data. Based on your selection, one of the following options will happen:
Encryption Option: 1. The script will ask for the password you want to use to do the encryption, which will be based on triple DES. 2. It will require you to confirm the password. 3. Then it will encrypt it and copy the encrypted data to your Ubuntu One directory. If you've selected a directory then the script will gzip it before encrypting it, but if it's a regular file it won't.
Decryption Option: 1. The script will make sure you're not decrypting data from within the Ubuntu One folder, as that would cause the decrypted data to be immediately uploaded to the Ubuntu One servers. 2. Then it will prompt for the password and decrypt the data as expected. If the decrypted data contains a gzip archive, then it will automatically untar it as well.
This is my first release. Please provide any feedback you may have. I've been using this for just a couple days now and it has been useful to me.
I first found this script at another site, and it did not mention that it was a Nautilus script there.
In the script I would suggest you add documentation something like:
# This is a gnome-nautilus specific script;
# it's location makes a difference!
# 1) Copy script to your home's .gnome2/nautilus-scripts directory
# or (less commonly)
# ~/Nautilus/scripts directory.
# 2) Make script executable there (preferences/permission-tab/ check executable box)
# 3) Highlight the files you want to work with.
# 4) Right click and look for "Scripts".
# 5) Click on this script.
# (If this script is missing,
# you may have to display
# the scripts directory
# in a nautilus window at least once first.)
_________________
The script is very useful and works perfectly so far!
Thanks for the feedback. I'm glad you enjoyed the script. I originally just wrote this for my own use and didn't really intend on publishing it, hence the lack of documentation.
Ratings & Comments
3 Comments
I first found this script at another site, and it did not mention that it was a Nautilus script there. In the script I would suggest you add documentation something like: # This is a gnome-nautilus specific script; # it's location makes a difference! # 1) Copy script to your home's .gnome2/nautilus-scripts directory # or (less commonly) # ~/Nautilus/scripts directory. # 2) Make script executable there (preferences/permission-tab/ check executable box) # 3) Highlight the files you want to work with. # 4) Right click and look for "Scripts". # 5) Click on this script. # (If this script is missing, # you may have to display # the scripts directory # in a nautilus window at least once first.) _________________ The script is very useful and works perfectly so far!
Thanks for the feedback. I'm glad you enjoyed the script. I originally just wrote this for my own use and didn't really intend on publishing it, hence the lack of documentation.
Nice Script, Reviewed it on my blog here: http://www.wmlcloud.com/linux/how-to-secure-ubuntu-one-files-by-encrypting-them-before-uploading/