LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2005, 02:15 AM   #1
coolblue
Member
 
Registered: Feb 2005
Posts: 126

Rep: Reputation: 15
How to encrypt things without using keys?


Hi all

Is there any nice app in Linux by which I can encrypt files & folders WITHOUT using keys? I find this key system of KGpg quite compilcated & incomprehensible.
And I think KGpg can only use keys to encrypt right?
How do I encrypt things simply with a password? Is this possible with any of the default apps of Gnome/KDE/Terminal?

Plz help.

Love
Newbie
 
Old 06-14-2005, 02:23 AM   #2
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
gpg -c file_to_encrypt

This is a symetric encryption with gpg. You don't need to take the key or something else with you when you want to decrypt. You only need to know the passphrase
 
Old 06-14-2005, 03:02 AM   #3
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
You might also want to check out ccrypt (http://ccrypt.sourceforge.net/). It uses AES encryption and runs on a number of platforms (including Linux, BSD, AIX, Windows, etc.). Although it doesn't encrypt a directory as is, there is the -r option, which recurses through directories. There is also KDE integration (although I haven't tried this out) available: http://www.comnet.be/files/ccrypt/Readme.html

Just an important comment if you plan on using it:

"Ccrypt uses very little memory and disk space, because by default, it overwrites files in place. Since it encrypts data a few bytes at a time, it does not need to read the entire file into memory. For this reason, it uses no additional disk space, very little memory, and does not write temporary data to disk.

However, if you use the --tmpfiles option, then ccrypt will use a temporary file rather than overwriting the original file in place. In this case, you need enough free disk space to hold the largest file you are encrypting." (http://ccrypt.sourceforge.net/faq.html#max)

Last edited by LinuxGeek; 06-14-2005 at 03:04 AM.
 
Old 06-16-2005, 10:56 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
I would like to point out that there is no encryption without keys--that is, if we take `key' to mean the broader `secret part'. In this sense, the password is the key, and the only difference is that you store in your memory (/brain) instead of on the disk.

Most likely, though, the password isn't the key, but the key is generated *from* the password--and the disk-stored keys are encrypted with a symmetric cipher.

my $cents = 2;
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 09:16 AM
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
special keys, touchpad, shuttingdown gfx and a little bit more things xmav78 SUSE / openSUSE 5 06-16-2005 04:55 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM
Encrypt vivekind Linux - General 1 01-16-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration