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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-20-2012, 02:12 AM
|
#1
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 240
Rep:
|
How to use pgp
Hello,
Is there a step by step guide how to use pgp? /seahorse?
The manpage has lots of stuff on it, but not sure what to look for.
cheers nigel
|
|
|
|
08-20-2012, 02:21 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,692
|
well it depends what you want to do, doesn't it? That's *EXACTLY* why there's lots in the man page. if it was just a few steps to cover the one thing it did, that's all the man page would list. That said, there certanly are many thousands of blog entries and other docs out there where someone has written down how to do the specific thing *they* wanted, but if that's not the same as what you want, it's not going to help much is it?
|
|
|
|
08-20-2012, 05:51 AM
|
#3
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 240
Original Poster
Rep:
|
encrypt and decrypt some files.
I have some old files that I cannot un-encrypt .
It is difficult to use.
I can click on old pgp file, but cannot see anything.
|
|
|
|
08-20-2012, 07:35 AM
|
#4
|
|
Senior Member
Registered: May 2010
Distribution: Arch
Posts: 1,069
Rep: 
|
To use symmetric algorythm for encrypting files you do
It will use CAST5 by default which is very strong.
If you want to use other algorythm
Code:
gpg -c --cipher-algo ... file
Available algorythms:
Code:
3DES AES AES192 AES256 BLOWFISH CAMELLIA128 CAST5 TWOFISH
Use one of them instead of "...".
To decrypt:
You will have to enter a passphrase and if you forget it - file's gone. Unless it was dictionary passphrase and you can bruteforce it, there's nothing you can do to restore passphrase. GnuPG is not a toy.
You can also use asymmetric algorythms to encrypt files and e-mails but that is a bit more complicated. Let me know if you need a HOWTO.
|
|
|
|
08-20-2012, 09:02 PM
|
#5
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,973
|
Try this http://www.gnupg.org/gph/en/manual.html
Has examples as well as background explanations.
|
|
|
|
08-20-2012, 11:28 PM
|
#6
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 240
Original Poster
Rep:
|
Thanks for the help.
I can encrpyt a file, but I cannot get to this old one.
I don't know which version of gpg it comes from. The data is not all that important. I saved a copy in plain text in case this might happen.
Code:
[ewok@endor Desktop]$ gpg Bank_xfer1.doc.pgp
gpg: encrypted with ELG-E key, ID E5E1AC81
gpg: decryption failed: secret key not available
|
|
|
|
08-20-2012, 11:39 PM
|
#7
|
|
Guru
Registered: Aug 2005
Posts: 9,525
|
this might be a "problem"
Quote:
I have some old files that I cannot un-encrypt .
...............
I can encrpyt a file, but I cannot get to this old one.
|
do you have the OLD hash for them? or the old "key"?
if not this might be a unsolvable problem
HOW were they encrypted ? and using WHAT program ?
some older encryption programs DO have some known "bugs" that might make it possible to CRACK them ?????? or not .
there are some "cracking" tools to break encryption using the GPU and CUDA but...................
|
|
|
|
08-20-2012, 11:53 PM
|
#8
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 240
Original Poster
Rep:
|
They were encrypted with gpg /Fedora 5.
Does the data exprire after time?
|
|
|
|
08-21-2012, 12:13 AM
|
#9
|
|
Guru
Registered: Aug 2005
Posts: 9,525
|
the engine used in the antique fedora5 is vastly different than the one used in fedora 17
and a few known holes have been fixed and a new algorithm is used ( i think)
BUT unless you ARE a EXPERT in "cracking" encrypted files there is no easy way to unencrypt the files WITHOUT the original fedora key FROM the old fedora 5 install
even then was it gnomes key ring ? or KDE3's key ring ?
or
a public / private pair with the public half posted to a public server
and the private on the fedora key-ring ( or 3.5 floppy)
Quote:
|
Does the data exprire after time?
|
no, unless YOU set it to
but after time the old keys get lost
And on fedora with a NEW install EVERY 6 months
not only is it likely but almost a 100% certain fact that they WILL get lost
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
PGP
|
jokar.mohsen |
Linux - Security |
1 |
05-06-2012 10:58 AM |
|
[SOLVED] PGP
|
business_kid |
Linux - Security |
3 |
09-12-2011 03:11 AM |
|
Pgp
|
JenniJenni |
Linux - Newbie |
1 |
10-11-2007 07:03 AM |
|
Pgp
|
Gins |
Linux - General |
13 |
08-08-2006 03:29 PM |
|
Pgp
|
Ruishanko |
Linux - Newbie |
13 |
10-07-2004 03:59 PM |
All times are GMT -5. The time now is 09:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|