Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Email messages are sent in plain text which means that the messages I send to Derpina are visible to anyone who somehow gets access to them while they are in transit.

To overcome this, various encryption mechanisms were developed: PEM and PGP are two of them.

PEM canonically converts, adds digital signature, encrypts, and sends; PGP does exactly the same.

So how do they differ? Is it that PGP (being a program) is used to generate a PEM message?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

PEM was a proposed IETF standard for secure email. It depended on a single root certificate for its public key infrastructure (PKI), which was impractical and had its own problematic implications for security.

PGP started as a "proof of concept" for a less centralized "web of trust" PKI, and proved to be much more practical, finding widespread adoption and eventually founding the OpenPGP standard, while PEM faded into obscurity.

So basically PEM and PGP were competing protocols for encrypting emails, and PGP "won" while PEM "lost".

share|improve this answer
    
That pretty much sums it up! I just wanted to know if they were same or different or collaborated with each other –  Dummy Derp Sep 6 '12 at 18:58
    
Did they both use symmetric encryption? –  Dummy Derp Sep 8 '12 at 7:42
    
@Dummy Derp: both use symmetric encryption to encrypt messages and asymmetric encryption to sign messages and exchange encryption keys. –  Michael Borgwardt Sep 8 '12 at 16:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.