Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th February 2005, 02:13 AM
jacobsh Offline
Registered User
 
Join Date: Dec 2004
Posts: 41
Encrypt/Decrypt a folder

I've seen all sorts of utilites for encrypting files, but I've yet to figure out how to just encrypt an entire folder. I wrote a bash script to tar a folder and then encrypt it, but it takes way too long! Isn't there a nice gui tool for this? Thanks
Reply With Quote
  #2  
Old 15th February 2005, 02:38 AM
awdac Offline
Registered User
 
Join Date: Feb 2005
Location: Athens, GA
Posts: 352
If you have KDE installed, you can use Kgpg, which is a gui front end/key manager for Gnupg. If you have it running, you can just drags files and drop them onto the Kgpg icon to encrypt them. It works well from Konqueror.
__________________
Registered Linux User #240607
2001-11-02 03:17:23
Reply With Quote
  #3  
Old 15th February 2005, 03:11 AM
Void Main Offline
Registered User
 
Join Date: Jan 2005
Posts: 355
If you haven't already looked you might get some ideas here:
http://tldp.org/HOWTO/Disk-Encryption-HOWTO/index.html
__________________
voidmain.is-a-geek.net
82.94 BogoMIPS, 125Mhz MIPS, 16MB RAM, 0GB HDD, Linux 2.4.20
$ echo '[q]sa[ln0=aln128%Pln128/snlbx]sb25384035327623601753454966742snlbxq'|dc
Reply With Quote
  #4  
Old 15th February 2005, 06:45 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
The amount of time it takes to encrypt/decrypt is a function of the amount of data involved, obviously. Processing large files takes time.

The standard GUI interface to gnupg is call gpa - the Gnu Privacy Assistant.

You'll need to install gpa (it's in the Fedora Extras repository), if you don't already have it:

yum -y install gpa or
rpm -Uvh gpa-x.y.z.rpm

Once you have the prerequisite, the easiest way to encrypt a directory:

1. In Nautilus, right click on the directory and select "Create archive". This will create a "directoryname.tar.gz" file.

2. From the Applications->Accessories menu, run GPA. Your existing gnupg key(s) will show up. Click on the "Files" button, and in the Files window, click on the "Open" button to select the "directoryname.tar.gz" file. Click on the "Encrypt" button. If you are going to email the encrypted file, make sure you select the "Armor" checkbox.

To decrypt, reverse the process.

If you don't already have a key, you can create a new one from the gpa "Keys" menu.
Reply With Quote
  #5  
Old 16th February 2005, 02:09 AM
jacobsh Offline
Registered User
 
Join Date: Dec 2004
Posts: 41
Thanks, you guys have been a huge help.

However, I still can't get it to work. With KGPG, I get "no public key found" and I get the same error with GPA. If I try to use symmetric encryption with GPA, I get a "general error". I do have a key. Any ideas about what's going on? Thanks
Reply With Quote
  #6  
Old 16th February 2005, 04:45 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
Are your keys in the ~/.gnupg directory (where they are created by default)?

When I first installed gpa, the keys were initially not found (I had moved them to another directory). When I moved them back to the default location and re-ran gpa, all the keys showed up.
Reply With Quote
  #7  
Old 16th February 2005, 05:21 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
I would recomment creating a "loopback" filesystem, and using the "losetup" package to encrypt it. You can then mount the "loopback" filesystem like any other, (except now with encryption), and when you unmount the filesystem, you just have a single strongly encrypted file.

If you want more details on how to do that let me know....
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
Reply

Tags
encrypt or decrypt, folder

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About to decrypt password satimis Programming & Packaging 1 30th May 2009 07:14 AM
GEdit Encrypt/Decrypt Plugin rldawson Using Fedora 1 27th December 2008 01:06 PM
How to decrypt files? Dunhausen Using Fedora 3 25th March 2006 02:13 PM
encrypt/decrypt a buffer in a C program cweng Programming & Packaging 3 27th March 2005 10:48 PM


Current GMT-time: 02:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat