LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-09-2011, 12:34 PM   #1
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
encryption help


hello y'all been a while. anyway, i kinda of have a problem with encrypting, just learnt it,and have been able to generate a key, so i have my public key and phrase already, also i can encrypt. but the problem now is, i created a text file, and edited it using vi editor, then turned it into a tar file then compressed with bzip2. when i try de-decrypting the file again with this command "gpg -d /home/mike/filename.tar.bz2.gpg" , and after i type in my phrase as requested, the output is always gibberish, and i know it meant to display the original data. that really is my problem, and i need help displaying the real data. please don't tell me to go read the MAN pages. distro - is redhat linux. waiting in anticipation. thanks

Last edited by Ribo01; 03-09-2011 at 12:36 PM.
 
Old 03-09-2011, 02:04 PM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
That is what i do:
gpg -c "$TAR_FILE"
gpg --output "$TAR_FILE" --decrypt "$GPG_FILE"
I know that it completely skips the "mail"-part. For my purpose its sufficient.
 
Old 03-09-2011, 07:40 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
If you haven't read this, you'll find it useful http://www.gnupg.org/gph/en/manual.html
 
  


Reply

Tags
gpg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Encryption fakie_flip Linux - Security 2 02-12-2010 08:30 AM
Encryption Gortex Linux - Security 5 08-19-2007 08:02 PM
Linux password encryption and data encryption Tux-Slack Programming 4 06-20-2007 07:46 AM
Encryption shaf.rahman Red Hat 1 04-19-2005 03:59 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 09:47 PM


All times are GMT -5. The time now is 07:34 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration