OpenPGP
OpenPGP is an open standard that describes a message (file) format originally used by the Pretty Good Privacy (PGP) program, initially developed by Phil Zimmermann in 1991. A number of standard-track Request for Comment documents augment its functionality, one example being PGP/MIME which defines the use of OpenPGP in email via MIME. OpenPGP's encryption can ensure the secure delivery of files and messages, as well as provide verification of who created or sent the message using a process called digital signing. Using OpenPGP for communication requires participation by both the sender and recipient. OpenPGP can also be used to secure sensitive files when they are stored in vulnerable places like mobile devices or in the cloud. OpenPGP is on the Internet Standards Track and is under active development. Many e-mail clients provide OpenPGP-compliant email security as described in RFC 3156. The current base specification is (July 2024), the successor to RFC 4880. RFC 9580 specifies a...
OpenPGP is an open standard that describes a message (file) format originally used by the Pretty Good Privacy (PGP) program, initially developed by Phil Zimmermann in 1991. A number of standard-track Request for Comment documents augment its functionality, one example being PGP/MIME which defines the use of OpenPGP in email via MIME. OpenPGP's encryption can ensure the secure delivery of files and messages, as well as provide verification of who created or sent the message using a process called digital signing. Using OpenPGP for communication requires participation by both the sender and recipient. OpenPGP can also be used to secure sensitive files when they are stored in vulnerable places like mobile devices or in the cloud. OpenPGP is on the Internet Standards Track and is under active development. Many e-mail clients provide OpenPGP-compliant email security as described in RFC 3156. The current base specification is (July 2024), the successor to RFC 4880. RFC 9580 specifies a suite of required algorithms consisting of X25519, Ed25519, SHA2-256 and AES-128. In addition to these algorithms, the standard recommends X448, Ed448, SHA2-384, SHA2-512 and AES-256. Beyond these, many other algorithms are supported. The additional specification (June 2026) defines Post-Quantum Cryptography in OpenPGP, based on ML-KEM composite public key encryption and ML-DSA composite public key signatures, both in combination with Elliptic Curve Cryptography (ECC), as well as SLH-DSA as a standalone public key signature scheme. ==Design== (Open)PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography, and finally public-key cryptography; each step uses one of several supported algorithms. Each public key is bound to a username or an e-mail address. The first version of this system was generally known as a web of trust to contrast with the X.509 system, which uses a hierarchical approach based on certificate authority and which was added to OpenPGP implementations later. Current versions of OpenPGP include options through an automated key management server. ===PGP fingerprint=== A public key fingerprint is a fixed-length unique identifier of a public key. By comparing fingerprints, a recipient can validate that they have obtained the expected public key. A fingerprint such as C959 BDBA FA32 A2F8 9A15 3B67 8CFD E121 9796 5A9A can be printed on a business card. ===Compatibility=== As OpenPGP evolves, versions that support newer features and algorithms can create encrypted messages that older OpenPGP systems cannot decrypt, even with a valid private key. Therefore, it is essential that partners in OpenPGP communication understand each other's capabilities or at least agree on PGP settings. See § Version history below for a list of version codes. ===Confidentiality=== PGP can be used to send messages confidentially. For this, PGP uses a hybrid cryptosystem by combining symmetric-key encryption and public-key encryption. The message is encrypted using a symmetric encryption algorithm, which requires a symmetric key generated by the sender. The symmetric key is used only once and is also called a session key. The message and its session key are sent to the receiver. The session key must be sent to the receiver so they know how to decrypt the message, but to protect it during transmission it is encrypted with the receiver's public key. Only the private key belonging to the receiver can decrypt the session key and use it to symmetrically decrypt the message. ===Digital signatures=== PGP supports message authentication through digital signatures to verify whether a message was actually sent by the person or entity claimed to be the sender. The sender uses PGP to create a digital signature for the message with one of several supported public-key algorithms. To do so, PGP computes a hash, or digest, from the plaintext and then creates the digital signature from that hash using the sender's private key. ===Web of trust=== Both when encrypting messages and when verifying signatures, it is critical that the public key used to send messages to someone or some entity actually does 'belong' to the intended recipient. Simply downloading a public key from somewhere is not a reliable assurance of that association; deliberate (or accidental) impersonation is possible. From its first version, PGP has always included provisions for distributing user's public keys in an 'identity certification', which is also constructed cryptographically so that any tampering (or accidental garble) is readily detectable. However, merely making a certificate that is impossible to modify without being detected is insufficient; this can prevent corruption only after the certificate has been created, not before. Users must also ensure by some means that the public key in a certificate actually does belong to the person or entity claiming it. A given public key (or more specifically, information binding a user name to a key) may be digitally signed by a third-party user to attest to the association between someone (actually a user name) and the key. There are several levels of confidence that can be included in such signatures. Although many programs read and write this information, few (if any) include this level of certification when calculating whether to trust a key. The web of trust protocol was first described by Phil Zimmermann in 1992, in the manual for PGP version 2.0: The web of trust mechanism has advantages over a centrally managed public key infrastructure scheme such as that used by S/MIME but has not been universally used. Users have to be willing to accept certificates and check their validity manually or have to simply accept them. No satisfactory solution has been found for the underlying problem. ===Certificates=== In the (more recent) OpenPGP specification, trust signatures can be used to support creation of certificate authorities. A trust signature indicates both that the key belongs to its claimed owner and that the owner of the key is trustworthy to sign other keys at one level below their own. A level 0 signature is comparable to a web of trust signature since only the validity of the key is certified. A level 1 signature is similar to the trust one has in a certificate authority because a key signed to level 1 is able to issue an unlimited number of level 0 signatures. A level 2 signature is highly analogous to the trust assumption users must rely on whenever they use the default certificate authority list (like those included in web browsers); it allows the owner of the key to make other keys certificate authorities. (Open)PGP versions have always included a way to cancel ('revoke') public key certificates. A lost or compromised private key will require this if communication security is to be retained by that user. This is, more or less, equivalent to the certificate revocation lists of centralised PKI schemes. Recent OpenPGP versions have also supported certificate expiration dates. The problem of correctly identifying a public key as belonging to a particular user is not unique to PGP. All public key/private key cryptosystems have the same problem, even if in slightly different guises, and no fully satisfactory solution is known. OpenPGP's web-of-trust scheme at least leaves the decision as to whether or not to use its endorsement/vetting system to the user, while most other PKI schemes do not, requiring instead that every certificate attested to by a central certificate authority be accepted as correct. ==See also== Autocrypt Email encryption Email privacy GNU Privacy Guard Gpg4win Key server (cryptographic) Privacy software Public-key cryptography S/MIME X.509 ==External links== OpenPGP::SDK MIT Public Key Directory for Registration and Search List of public keyservers IETF OpenPGP working group OpenPGP Alliance
References
- ^ Ribose Inc. "RNP" . RNP . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "rnp(v0.18.1)/CMakeList.txt" . GitHub . option(ENABLE_CRYPTO_REFRESH "Enable crypto-refresh support (v6)") Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ OpenPGPjs-Team. "OpenPGPjs" . Archived from the original on July 9, 2017 . Retrieved January 2, 2017 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Bouncy Castle for Java" . bouncycastle . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "GopenPGP" . gopenpgp . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "hOpenPGP" . debian . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "OpenPGP.js" . openpgpjs . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "PGPainless - Use OpenPGP Painlessly!" . pgpainless . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "rnp" . github . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Open Specification for Pretty Good Privacy (openpgp)" . datatracker.ietf.org . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "rPGP - OpenPGP implemented in pure Rust, permissively licensed" . github . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ a b c d e f g Green, Matthew (August 13, 2014). "What's the matter with PGP?" . A Few Thoughts on Cryptographic Engineering. Archived from the original on October 5, 2024 . Retrieved December 19, 2016 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Marlinspike, Moxie (February 24, 2015). "GPG And Me" . Archived from the original on October 5, 2024 . Retrieved June 21, 2020 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Sequoia-PGP" . sequoia-pgp . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Developer Libraries/Tools" . OpenPGP . 9 June 2026. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "OpenPGP signature support in LibreOffice" . Thorsten's Weblog . 28 July 2017. Archived from the original on November 1, 2017 . Retrieved 10 December 2017 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Thunderbird 78 Has Finally Got Built-In Calendar And OpenPGP Support" . LinuxReviews. 8 October 2020 . Retrieved 14 May 2025 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Jack Wallen (13 November 2024). "How to add PGP support on Android for added security and privacy" . ZDNET . Retrieved 14 May 2025 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Using GPG keys on GitHub: Creating and updating expired keys" . Inspirezone. 18 April 2021 . Retrieved 14 May 2025 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Madison Moore (23 August 2025). "GitLab 9.5, Xcode 9, IEEE standard for quantum computing, and Chrome Enterprise — SD Times news digest: August 23, 2017" . SD Times . Retrieved 14 May 2025 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ RFC 1991 . IETF . doi : 10.17487/RFC1991 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ RFC 2440 . IETF . doi : 10.17487/RFC2440 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Geier, Eric (2014-08-22). "How to use OpenPGP to encrypt your email messages and files in the cloud" . PC World . Archived from the original on 2018-05-18 . Retrieved 2022-03-01 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1646089200.0
- ^ RFC 4880 . IETF . doi : 10.17487/RFC4880 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Koch, Werner; carlson, brian m; Tse, Ronald Henry; Atkins, Derek; Gillmor, Daniel Kahn (31 August 2020). "OpenPGP Message Format (draft-ietf-openpgp-rfc4880bis)" . Internet Engineering Task Force. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Breitmoser, Vincent (17 April 2020). "Requesting the editor to step down" . IETF . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Wouters, Paul; Huigens, Daniel; Winter, Justus; Yutaka, Niibe (July 2024). "OpenPGP (draft-ietf-openpgp-crypto-refresh-00)" . Internet Engineering Task Force. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Koch, Werner; carlson, brian m; Tse, Ronald Henry; Atkins, Derek; Gillmor, Daniel Kahn (30 May 2023). "OpenPGP Message Format (draft-koch-openpgp-2015-rfc4880bis-00)" . Internet Engineering Task Force. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Wouters, Paul (16 May 2023). "draft minutes from ietf-116" . Internet Engineering Task Force. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Zimmermann, Philip (6 October 2022). "a new draft overlapping the WG draft" . IETF . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Ensure that hashed data streams cannot collide across versions (!220) · Merge requests · openpgp-wg / rfc4880bis · GitLab" . GitLab . 19 November 2022. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Use v6 instead of v5 for new Keys, Signatures, and OPS (40f05cda) · Commits · openpgp-wg / rfc4880bis · GitLab" . GitLab . 4 February 2023. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Furley, Paul M. "PGP public key example" . There are shorter ways of referring to PGP keys. Archived from the original on 21 December 2018. can print it on my business card instead of trying to print my whole public key Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Nemec, Matus; Sys, Marek; Svenda, Petr; Klinec, Dusan; Matyas, Vashek (2017). "The Return of Coppersmith's Attack: Practical Factorization of Widely Used RSA Moduli" (PDF) . Archived (PDF) from the original on 2017-11-12. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Critical PGP and S/MIME bugs can reveal encrypted emails—uninstall now [Updated]" . arstechnica.com . May 14, 2018. Archived from the original on October 5, 2024 . Retrieved May 14, 2018 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "EFAIL" . efail.de . Archived from the original on May 14, 2018 . Retrieved 2018-05-18 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1526598000.0
- ^ "Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels" (PDF) . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Yen, Andy (2018-05-15). "No, PGP is not broken, not even with the Efail vulnerabilities" . Proton . Retrieved 2025-01-22 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1737500400.0
- ^ "GNOME User Guide" . documentation.suse.com . 18 June 2026. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Marcia Hofmann [@marciahofmann] (20 January 2015). "my new business card (with image)" ( Tweet ) . Retrieved 30 July 2020 – via Twitter . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "GNU Privacy Guard (GPG) | Lecture | NSWI106 | D3S" . d3s.mff.cuni.cz . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels" (PDF) . Archived (PDF) from the original on June 26, 2019 . Retrieved July 17, 2019 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Brockmeier, Joe (21 January 2026). "Responses to gpg.fail" . LWN.net . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Tse, Ronald; Olshevsky, Nickolay (2024-07-22). "RNP proudly supports LibrePGP" . RNP . Retrieved 2025-01-22 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1737500400.0
- ^ Gallagher, Andrew (2024-09-11). "A Summary of Known Security Issues in LibrePGP" . Retrieved 2025-01-22 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1737500400.0
- ^ "PGP User's Guide, Volume II: Special Topics" . web.pa.msu.edu . Archived from the original on November 6, 2020 . Retrieved 2020-11-01 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1604185200.0
- ^ Atkins, D.; Stallings, W.; Zimmermann, P. (August 1996). PGP Message Exchange Formats . IETF . doi : 10.17487/RFC1991 . RFC 1991 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Compliance Options (Using the GNU Privacy Guard)" . GnuPG documentation, version current (2.5.20) . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Zimmermann, Philip R. (1999). "Why I Wrote PGP" . Essays on PGP . Phil Zimmermann & Associates LLC. Archived from the original on June 24, 2018 . Retrieved July 6, 2014 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ a b c d Latacora (2019-07-16). "The PGP Problem" . Retrieved 2024-11-22 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1732230000.0
- ^ a b "LibrePGP" . librepgp.org . Archived from the original on August 28, 2026. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "LibrePGP" . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Strenzke, Falko; Roth, Johannes (8 April 2025). "Legacy Encryption Downgrade Attacks against LibrePGP and CMS" . IACR Communications in Cryptology . 2 (1). doi : 10.62056/ayl86chdj . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Valsorda, Flippo (2016-12-10). "Op-ed: I'm throwing in the towel on PGP, and I work in security" . Ars Technica . Archived from the original on July 17, 2019 . Retrieved 2019-07-17 . After years of wrestling with GnuPG with varying levels of enthusiasm, I came to the conclusion that it's just not worth it, and I'm giving up—at least on the concept of long-term PGP keys. Wikipedia revision 1378868255, retrieved 2026-11-21 · 1563318000.0
- ^ a b "Using the GNU Privacy Guard: Compliance Options" . GnuPG documentation . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ a b "2. A high-level view" . OpenPGP for application developers . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ Edge, Jake (December 6, 2023). "A schism in the OpenPGP world [LWN.net]" . lwn.net . Archived from the original on February 22, 2024 . Retrieved February 14, 2024 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- ^ "Yubico Replacement Program" . Archived from the original on December 22, 2018 . Retrieved June 13, 2018 . Wikipedia revision 1378868255, retrieved 2026-11-21 · 1795215600.0
- Zimmermann, Philip R. Why I Wrote PGP . Essays on PGP . 1999. · 1791241200.0
- OpenPGPjs-Team. OpenPGPjs . retrieved January 2, 2017 · 1791241200.0
Cite this
"OpenPGP". 1791297444. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378868255 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy