The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
The "PS" command was displaying*terminals named as "SYSCON" kiranjose85 UNIX for Advanced & Expert Users 1 11-28-2008 07:53 AM
Equivalent of ftp's "quot" command in SFTP jrobins UNIX for Dummies Questions & Answers 1 10-04-2008 01:04 PM
"find command" to find the files in the current directories but not in the "subdir" swamymns Shell Programming and Scripting 9 07-22-2008 12:23 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
Unix "at" / "Cron" Command New Problem...Need help Mohanraj UNIX for Dummies Questions & Answers 3 01-26-2006 08:08 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-13-2008
nsharath's Avatar
nsharath nsharath is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 79
Smile "SCRYPT" command in RED HAT 9

Hello,
I wanted to simple command to encrypt a file. Using google I got a command "crypt". I could test it very well on Sun solaris. My red hat system says "command not found".Can you please tell me if I can find that package on the cd!!!
  #2 (permalink)  
Old 12-13-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,122
crypt is a very weak encryption program that should no longer be used. This was actually true 25 years ago. At this point, crypt is sadly obsolete. You need a strong encryption algorithm and one of the best currently available is AES-256. No one has broken it yet. The US government currently allows the use of AES-256 to protect Top Secret information.

I suggest that you use gpg to encrypt your file, but you must specify the encryption algorithm like this:

gpg -c --cipher-algo aes256 secret.txt

and to decrypt the file:

gpg secret.txt.gpg


GNU Privacy Guard, gpg, seems to simply come with our Linux systems. It is available on sunfreeware.com for Solaris. I also found a package for XP at the The GNU Privacy Guard - GnuPG.org site (navigate to the download page).
  #3 (permalink)  
Old 01-06-2009
nsharath's Avatar
nsharath nsharath is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 79
Smile gpg doubts

Hello,
I have used gpg as per your reply..It is working perfectly fine.I am able to encrypt and decrypt files.For directories,I had to convert them into ".tar" format and then use this gpg.Is this the only solution or is there any other command which can encrypt both files and directories ?

I did go through the man page of "gpg".Can you please tell me what other options of gpg can be used generally.....
Closed Thread

Bookmarks

Tags
gpg, linux download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0