Flux rss

PGP - Pretty Good Privacy

Introduction to PGP

PGP (Pretty Good Privacy) is a cryptosystem (encryption system) that was invented by Philip Zimmermann, a computer analyst. From 1984 to 1991, Philip Zimmermann worked on a program that made it possible to run RSA on personal computers (PGP).

However, given that he was using RSA without the authorization of its authors, this cost him 3 years of criminal trials; as a result, since 1993, the program has sold for approximately $150.

It is extremely fast and reliable, which makes it almost impossible to cryptanalyze.

The principle of PGP

PGP is a hybrid cryptography system that uses a combination of functions taken from public-key cryptography and symmetric cryptography.

When a user encrypts a text with PGP, the data are first compressed. This data compression makes it possible to reduce transmission time via any communication channel, save disk space and, most importantly, increase cryptographic security.

Most cryptanalysts exploit models found in plaintext to break the encryption. Compression reduces these models in plaintext, therefore considerably improving resistance to cryptanalysis.

Encryption then primarily takes place in two phases:

  • PGP randomly creates a secret IDEA key and encrypts the data with this key
  • PGP encrypts the secret IDEA key and sends it using the recipient's RSA public key.
Decryption also takes place in two phases:
  • PGP decrypts the secret IDEA key using the RSA private key.
  • PGP decrypts the data with the previously obtained secret IDEA key.

This encryption method combines the easy use of public-key encryption with the speed of conventional encryption. Conventional encryption is approximately 1,000 times faster than public-key encryption algorithms. Public-key encryption resolves the problem of key distribution. Used together, these two methods improve the performance and management of keys without compromising security.

PGP's functions

PGP offers the following functions:

  • Digital signatures and verification of messages' integrity: function based on the simultaneous use of a hash function (MD5) and the RSA system. MD5 hashes the message and produces a 128-bit result that is then encrypted, thanks to RSA, by the sender's private key.
  • Local file encryption: function using IDEA.
  • Generation of public or private keys: each user encrypts his messages using IDEA private keys. The transfer of IDEA electronic keys uses the RSA system; PGP therefore offers key-generation devices adapted to this system. The size of RSA keys is proposed according to several security levels: 512, 768, 1024 or 1280 bits.
  • Key management: function responsible for distributing the user's public key to the correspondents wanting to send him encrypted messages.
  • Key certification: this function makes it possible to add a digital seal guaranteeing the authenticity of public keys. It is an original feature of PGP, which bases its trust on a notion of social proximity rather than on the central certification authority.
  • Revoking, disabling, registering of keys: function that makes it possible to produce revocation certificates.

The format of PGP certificates

A PGP certificate includes the following information, among others:

  • The PGP version number: identifies the PGP version used to create the key associated with the certificate.
  • The certificate owner's public key: public part of your pair of keys combined with the key's algorithm, whether RSA, DH (Diffie-Hellman) or DSA (Digital Signature Algorithm).
  • The certificate owner's information: this includes information related to the user's "identity", such as his name, user ID, photograph, etc.
  • The certificate owner's digital signature: also called an auto-signature, this is the signature made with the private key corresponding to the public key associated with the certificate.
  • The certificate's validity period: the certificate's starting and expiration dates/times. Indicates the certificate's expiration date.
  • The preferred symmetric encryption algorithm for the key: indicates the encryption algorithm the certificate's owner prefers to apply to information encryption. The possible algorithms are CAST, IDEA and triple DES

The fact that one certificate can contain several signatures is one of the unique aspects of the format of PGP certificates. Several people can sign the key/identification pair to confidently certify that the public key belongs to the specified owner. Some PGP certificates are made of a public key with several names, each offering a different way to identify the key's owner (for example, the name and company messaging account of the owner, the alias and personal messaging account of the owner, his photograph - all in one certificate).
In a certificate, a person must affirm that a public key and the name of the key's owner are associated. Anyone can validate PGP certificates. X.509 certificates always have to be validated by a certification authority or a person appointed by the CA. PGP certificates also use a hierarchical structure with the help of a CA to validate certificates.

There are several differences between an X.509 certificate and a PGP certificate. The most important of these are laid out below:
To create your own PGP certificate, you need to ask for an X.509 certificate to be issued by a certification authority and obtain it;

  • X.509 certificates use just one name for the key's owner;
  • X.509 certificates use just one digital signature to certify the key's validity;

PGP reliability models

In general, the CA (Certification authority) has complete trust to establish certificates' validity and carry out the manual validation process. But it is difficult to establish a trust relationship with people not explicitly considered as reliable by your CA.
In a PGP environment, any user can act as a certification authority. He can therefore validate another PGP user's public key certificate. However, such a certificate may not be considered valid by another user unless a third party recognizes the person who validated the certificate as a reliable correspondent. That is, if they respect for example my opinion that says that other people's keys are correct only if I am considered to be a reliable correspondent. Otherwise, my opinion concerning the validity of other keys is subject to controversy.

Let's suppose, for example, that your set of keys contains Alice's key. You have validated it and, to show this, you sign it. Furthermore, you know Alice is very fussy when it comes to the validation of other users' keys. As a result, you assign her key full reliability. Alice therefore becomes a certification authority. If she signs another user's key, this key appears as valid on your set of keys.

PGP certificate revocation

Only the certificate's owner (the owner of its corresponding private key) or another user, appointed revocation authority by the certificate's owner, has the possibility of revoking a PGP certificate. Naming a revocation authority is useful, since certificates are often revoked by PGP users because the corresponding private key' s complex password has been lost. Yet this procedure can be performed only if the private key can be accessed. An X.509 certificate can be revoked only by its issuer.

When a certificate is revoked, its potential users need to be notified. To announce the revocation of PGP certificates, the usual method involves placing this information on a certificate server. This way, users wanting to communicate with you are warned not to use this public key.

Article written by Sylvain Lorin
Source: http://www.pgpi.org/doc/pgpintro/, an excellent reference

This document entitled « PGP - Pretty Good Privacy » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Résultats pour PGP Pretty Good Privacy

Was PGP considered as a weapon? Was PGP considered as a weapon? Myth Reality Myth Was PGP (Pretty Good Privacy) program was considered as a weapon or munitions and was it illegal for export. Reality In fact PGP (Pretty Good Privacy) program was considered as a... en.kioskea.net/faq/sujet-434-was-pgp-considered-as-a-weapon
Danger with my Privacy I'm having a problem with a message that being displayed on my desktop and it states" Your Privacy is in Danger!!!" Download Privacy Protection now, the thing is I already have privacy protection. not sure what to do en.kioskea.net/forum/affich-885-danger-with-my-privacy
French court fines user-generated website for privacy breach A person surfs the web at an Internet cafe in Marseille. A Paris court ruled on Thursday that a user-generated website had violated a film star's privacy by hosting a link to a report about him, in a potentially landmark ruling for the French... en.kioskea.net/actualites/french-court-fines-user-generated-website-for-privacy-breach-10234-actualite.php3

Résultats pour PGP Pretty Good Privacy

How to remove Virtumonde, HELPHello, I've been able to find solutions in this forum before... now I'm here to make a question myself. I have some pretty nasty stuff called Virtumonde... at first, it wouldn't let me enter websites like Gmail, Facebook, or make any... en.kioskea.net/forum/affich-21923-how-to-remove-virtumonde-help
New TV tuner card! (Solved)Hello to everyone!!!!!!!!!!!!!!!!!! I'm pretty excited. Just bought my first TV tuner card, but I have no idea on how to work it. I have the drivers installed, and I downloaded a free program called Blaze Media Pro and it is picking up the... en.kioskea.net/forum/affich-1134-new-tv-tuner-card

Résultats pour PGP Pretty Good Privacy

Download CCleanerCCleaner is a freeware cleaning tool to ensure privacy by deleting unused and temporary files from your system /!\ Do not install yahoo toolbar. It cleans Windows components such as: Temporary files Cookies, cache, URL history of Internet... en.kioskea.net/telecharger/telecharger-33-ccleaner
Download Easy File LockerTo keep your privacy and secure up your data on your machine, the best way is to hide them altogether. Easy File Locker is primarily a tool to block access, modification, reading, deleting, moving or copying your files or folders. But to make... en.kioskea.net/telecharger/telecharger-1082-easy-file-locker
Download SnoopFree Privacy ShieldDo you think that a person spies on you on your computer? The software of spying is numerous more and more, in more they are always undetectable.These spies record all that you make on your computer, at what you look, what you type cats your keyboard... en.kioskea.net/telecharger/telecharger-493-snoopfree-privacy-shield

Résultats pour PGP Pretty Good Privacy

'Cloud computing' trend heightens privacy risksA US military computer science professor has warned that a trend to push software into the "clouds" exacerbates privacy risks as people trust information to the Internet A US military computer science professor has warned that a trend to push... en.kioskea.net/actualites/cloud-computing-trend-heightens-privacy-risks-10600-actualite.php3
Egypt demanding data from cyber cafés users: NGOEgyptian youths stand outside an Internet cafe in Cairo earlier this year. An Egyptian NGO has accused the Egyptian authorities of forcing cyber cafes to gather personal information on Internet users, saying the measure was a violation of privacy. An... en.kioskea.net/actualites/egypt-demanding-data-from-cyber-cafes-users-ngo-10601-actualite.php3
Internet privacy concerns cause very public row in BrusselsHeadquarters of the internet search engine company Google in Mountain View, California. Cyber big brothers or friendly providers of targeted information? European parliamentarians have found themselves at odds with Internet giants such as Google on... en.kioskea.net/actualites/internet-privacy-concerns-cause-very-public-row-in-brussels-10021-actualite.php3

Résultats pour PGP Pretty Good Privacy

WiFi - WEP To solve transfer security issues on wireless networks, the 802.11 standard includes a simple data encryption mechanism called WEP (Wired equivalent privacy). WEP has many flaws, making it vulnerable. Nevertheless, it exists as a security solution in... en.kioskea.net/wifi/wifi-wep.php3
WiFi - Security The first thing to do when a wireless network is installed is to place the access points in reasonable locations depending on the desired area of coverage. However, it is not uncommon to find that the covered area ends up being larger than desired,... en.kioskea.net/wifi/wifisecu.php3