Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page What is PGP?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-09-2008   #1 (permalink)
Linux User
 
Agent-X's Avatar
 
Join Date: May 2005
Location: Dimension X
Posts: 261
What is PGP?

Ok, I've read the wikipedia article on PGP.

Maybe I'm dense, but could someone break down what exactly this PGP security stuff is about? I've read it over a couple of times, and I still don't get it. It looks like people think it's secure, but I can imagine it's possibility for reverse engineering. The first thing to come to mind is how people cracked algorithms to figure out how credit card numbers were created. The first time I saw stuff like that was mid-90s, so I don't really think/feel this PGP thing is that secure.

Still, I don't fully understand the wiki article.
__________________
Agent-X is offline   Reply With Quote
Old 08-09-2008   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,469
Basically, PGP is just software that encrypts (Hides) information that you don't want other people to see.
For example, If I wanted to send you some files that were very important and I don't want anyone but you to be able to read those files, I would use PGP to encrypt that software so only the person (you) who has my PGP key can view it.
__________________
All new Users please read: FAQ
MikeTbob is online now   Reply With Quote
Old 08-09-2008   #3 (permalink)
Linux User
 
Agent-X's Avatar
 
Join Date: May 2005
Location: Dimension X
Posts: 261
What if it were an .exe or a bunch of files in a .tar.gz? Would they simply be apparent as those type of files after being decrypted? And what about after encryption? What kind of file format would they appear as?

Ok, I think I get this now.
__________________
Agent-X is offline   Reply With Quote
Old 08-09-2008   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,469
I haven't ever really used PGP, but I have messed with it just to see what it does. I guess to answer your questions, you'd need to download it and play around with it. I would imagine that you can use PGP to encrypt just about anything.
__________________
All new Users please read: FAQ
MikeTbob is online now   Reply With Quote
Old 08-09-2008   #5 (permalink)
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 5,243
PGP, or its open source equivalent GPG can do several things. It can create an encrypted archive, it can create an encrypted volume that can be mounted like a drive or you can use it for creating digests/checksums for integrity.

Of course no encryption is perfect, they're just a matter delaying the inevitable. The main thing is that you decide/generate the key for the encryption so someone would have to target you to get your data. Just remember....PGP stands for Pretty Good Privacy, not Perfect Privacy
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 08-10-2008   #6 (permalink)
Linux Enthusiast
 
elija's Avatar
 
Join Date: Jul 2004
Location: Linux wants your brainz
Posts: 602
PGP Is a public / private key pair encryption method. I suspect that it is not perfect after all any encryption can be brute forced if enough processing power is thrown at it. When something is encrypted with PGP, you get a file with what appears to be random gibberish in it which, when decrypted reveals the original contents.

Now with all Public / Private key encryption there are two ways of encrypting. (I assume for simplicity that brute force is not an option in these examples)

1. I encrypt something with your public key. The only way to decrypt this is with your private key. This gives privacy of information.

2. You encrypt something with your private key. This can only be decrypted with your public key. This doesn't give privacy of information but does give guarantee of the senders identity; this is called a digital signature.

What if you want privacy and identity? Simply encypt with the recipients public key and then with your private key.

Two of the features of any good PPK encryption method are that

1. The encrypted data in no way hints as to the keys
2. Having one key in no way helps you reverse engineer the other key.
__________________
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
(How much wood would a woodchuck chuck if a woodchuck could chuck wood)

Registered Linux User: #459086

PM is not a good way to get help. Please ask in the forums.
elija is offline   Reply With Quote
Old 08-11-2008   #7 (permalink)
Trusted Penguin
 
Cabhan's Avatar
 
Join Date: Jan 2005
Location: Seattle, WA, USA
Posts: 2,484
The thing to remember is that PGP doesn't care about what your file format is. It just gets a bunch of bytes (basically numbers), and does crazy mathematical transformations on them.

The cool thing about public key encryption, in addition to the excellent summary that elija gave, is that cracking public-key encryption is REALLY REALLY hard. Basically, I have published my public key. My public key is based on a number PQ. My private key is based on a number (P-1)(Q-1). If I knew P and Q, I could figure out your private key. But I don't. I only know their product.

Well, P and Q are both prime numbers on an enormous scale. On the scale of 2^1024. Each. You have no idea how big that number is. That is roughly equivalent to 10^308. There are 10^80 atoms in the known universe. That is a HUGE number.

Well, I could try to prime factorize your PQ, but prime factorization is HARD. And I mean HARD in the computational sense. As in, there is no known efficient way of doing this. And going through 2^1024 numbers would take longer than the lifespan of our universe.

So basically, the security of public-key cryptography relies on no mathematician figuring out an efficient way of doing prime number factorization. Makes you feel all warm and fuzzy, huh?
__________________
DISTRO=Gentoo
Registered Linux User #388732
Gentoo Linux, 410 GB HD, 1.2 GB RAM, Fluxbox, These are a Few of my Favorite Things
Cabhan is offline   Reply With Quote
Old 08-12-2008   #8 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,469
Quote:
Originally Posted by Cabhan View Post
Makes you feel all warm and fuzzy, huh?
Heh, more like dizzy and confused!
__________________
All new Users please read: FAQ
MikeTbob is online now   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:13 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0