.PGP

Файл PGP

PGP Encrypted File
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A PGP file is an encrypted file or message created with PGP (Pretty Good Privacy) or a compatible OpenPGP program such as GnuPG. To read it you must decrypt it - using a passphrase (if it was password-encrypted) or your private key (if it was encrypted to your public key). On Windows use Gpg4win/Kleopatra, on macOS GPG Suite, on Linux the built-in gpg command. Renaming the file does nothing; the contents are ciphertext until decrypted.

Разработчик: PGP (Phil Zimmermann, 1991); now Symantec/Broadcom PGP and the OpenPGP standard (IETF); GnuPG reads it too Категория: Зашифрованные файлы Открыть стандартное MIME: application/pgp-encrypted
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .ASC · .SIG · .DEC · .GPG

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Aug 24, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла PGP?

Pretty Good Privacy (PGP) encrypted file - a .pgp file is a binary OpenPGP data file most commonly holding encrypted content, though the same extension also appears on signature files and exported key files. PGP cryptographic tools use .pgp files to decipher information and sign files or messages. The PGP system was originally developed in 1991 as a proprietary format by Phil Zimmermann, but was later implemented as an open standard in the form of OpenPGP (RFC 4880, updated to RFC 9580 in 2024) and the GnuPG implementation. The main goal of PGP is to ensure security and integrity of information exchange.

Files with a .pgp extension can be used to decrypt information encrypted using the public key associated with a recipient's private key. .pgp files should not be manually opened or edited, as doing so may irrevocably damage the encrypted data. Unlike early PGP versions that relied primarily on RSA, modern implementations support multiple public-key algorithms - including RSA, ECDH, ECDSA, and EdDSA - combined with a symmetric session key (AES-256, CAST5 or 3DES) to encrypt the payload. Typical content encrypted and stored as .pgp files includes:

  • e-mail messages,
  • text files,
  • folders,
  • file archives such as ZIP archives.

The .pgp and .gpg extensions are interchangeable - both carry the same OpenPGP packet stream; .pgp tends to come from the original commercial PGP lineage (now Broadcom Encryption Desktop), while .gpg tends to come from GnuPG. The ASCII-armored text equivalent uses the .asc extension and begins with -----BEGIN PGP MESSAGE-----. There are many different implementations of the PGP standard used on various operating systems - programs available from the command line or with a dedicated GUI all use the same underlying cryptographic encryption and decryption standard.

Безопасность и защита

РИСК: LOW

The .pgp format is a security tool, not a threat - the file is encrypted (and possibly signed) OpenPGP data and contains no executable code itself. The real cautions concern keys and secrets: if a .pgp is actually an exported PRIVATE key, never share it and protect it with a strong passphrase. Always decrypt locally with GnuPG/PGP - never paste a passphrase or private key into a website; "online PGP decryptors" that ask for your key are scams (and cannot decrypt anything they don't have the key for). A successful decrypt only means it decrypted; the recovered file (e.g. a document or an executable) still carries whatever risk that file type normally would.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕPGP Encrypted Fileтакже известен как Pretty Good Privacy encrypted file, OpenPGP message file
РАЗРАБОТЧИКPGP (Phil Zimmermann, 1991); now Symantec/Broadcom PGP and the OpenPGP standard (IETF); GnuPG reads it tooс PGP 1.0 in 1991 (Phil Zimmermann); OpenPGP standardized as RFC 2440 (1998) / RFC 4880 (2007) / RFC 9580 (2024)
MIME-ТИПapplication/pgp-encrypted
ТИПBinary OpenPGP data - most often an encrypted file/message; the same .pgp extension also appears on signatures and key files
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.asc.sig.dec.gpg
Это расширение также используется в…
  • PGP public/private key file - An exported OpenPGP key is sometimes saved as .pgp (binary) rather than .asc - imported, not decrypted.
  • PGP/OpenPGP signature file - A detached binary signature can carry the .pgp extension (the text-armored equivalent is .asc or .sig).

Программы, открывающие файлы PGP

Windows2 apps
Gpg4win (Kleopatra) Открытый код Right-click the .pgp > Decrypt and verify (or run 'gpg -d file.pgp' in a terminal). Enter the passphrase or unlock the private key. Free and reads PGP-made files.
Symantec/Broadcom Encryption Desktop (PGP) Платно The commercial successor to PGP Desktop; decrypts .pgp files. Only needed in enterprises already licensed for it - otherwise use free Gpg4win.
macOS2 apps
GPG Suite Бесплатно GUI for GnuPG (GPG Keychain + Finder Services); decrypt/verify .pgp files from Finder.
GnuPG (gpg) Открытый код Install via Homebrew ('brew install gnupg'), then 'gpg -d file.pgp > output' to decrypt.
Linux2 apps
GnuPG (gpg) Открытый код Install via Homebrew ('brew install gnupg'), then 'gpg -d file.pgp > output' to decrypt.
Seahorse (GNOME Passwords and Keys) Открытый код GUI key manager; with file-manager integration you can decrypt/verify .pgp files from Nautilus.

Технические подробности

глубокая спецификация
Container formatOpenPGP packet stream - tag-length-value (TLV) packets concatenated into a single binary file
EncodingBinary (raw OpenPGP packets); ASCII-armored text variants of the same data use the .asc extension
Byte orderBig-endian for multi-octet length fields and MPI (multi-precision integer) fields
Public-key algorithmsRSA, DSA, ECDH (X25519/X448), ECDSA, EdDSA (Ed25519/Ed448) - algorithm declared per packet
Symmetric cipherAES-128, AES-192, AES-256, CAST5, 3DES - a randomly generated session key is encrypted to recipient public key(s) or derived from a passphrase
CompressionOptional - plaintext may be compressed with ZIP, ZLIB, or BZIP2 before encryption (Compressed Data packet)
Integrity protectionModified Detection Code (MDC) / SEIP or AEAD authentication tag (RFC 9580); decryption fails or warns if ciphertext was tampered with
Packet format versionsv3 (legacy), v4 (RFC 4880, widely used), v6 (RFC 9580, 2024) - cipher suite and AEAD mode declared per-packet
MIME typeapplication/pgp-encrypted (primary); also application/pgp and application/octet-stream
Typical file sizeTracks the encrypted payload - a few KB for short messages to many GB for large archives, plus a small per-packet header overhead
Magic / file signatureNo single universal magic; first byte is an OpenPGP packet tag (high bit always set) - common values: 0x85, 0x84 (encrypted data), 0x99 (public key), 0x89 (signature)
Interchangeable extension.gpg carries identical OpenPGP data; .pgp is the commercial PGP / Broadcom convention, .gpg is the GnuPG convention
Platform supportCross-platform - Windows, macOS, Linux and any OS running GnuPG or a compatible OpenPGP implementation
Decryption requirementRecipient must possess the private key matching the public key used during encryption, or know the passphrase for symmetric-only (passphrase-based) encryption
ВыпущенPGP 1.0 in 1991 (Phil Zimmermann); OpenPGP standardized as RFC 2440 (1998) / RFC 4880 (2007) / RFC 9580 (2024)
Последняя версияOpenPGP RFC 9580 (2024); .pgp is also produced by legacy/commercial PGP and Symantec/Broadcom Encryption Desktop
Открыть стандартноеДа · без роялти
Спецификацияwww.rfc-editor.org

Конвертации PGP

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами PGP. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах PGP.

Часто задаваемые вопросы

How do I open / decrypt a .pgp file?
Install a PGP/OpenPGP tool - Gpg4win on Windows, GPG Suite on macOS, the built-in gpg on Linux - then run 'gpg file.pgp' (or 'gpg -d file.pgp'). You need the passphrase, or the private key the file was encrypted to. There is no way to read it without decrypting.
What is the difference between .pgp and .gpg?
None in practice - both are binary OpenPGP data. .pgp usually comes from the original/commercial PGP, .gpg from GnuPG, but each tool reads the other's files. The ASCII text form is .asc.
I renamed the .pgp and it's just gibberish - why?
Because it's encrypted, not merely re-extensioned. The contents are ciphertext until you decrypt them with PGP/GnuPG and the right passphrase or private key. Renaming changes nothing.
Can I decrypt a .pgp without the password or key?
No. Without the passphrase (symmetric) or the correct private key (public-key encryption), it cannot be decrypted - that is the whole point. If you lost the key/passphrase, the data is unrecoverable.
Do I have to buy PGP to open a .pgp file?
No. The free, open-source GnuPG (with Gpg4win/Kleopatra on Windows or GPG Suite on macOS) reads PGP-created .pgp files perfectly, because they all use the OpenPGP standard.
How do I encrypt a file as .pgp?
To a recipient: 'gpg --encrypt --recipient [email protected] file' produces an encrypted file only they can open. With a passphrase only: 'gpg --symmetric file'. Add '--armor' for the .asc text form.

Ссылки

1RFC 9580 - OpenPGP (current standard)www.rfc-editor.org
2GnuPG - official site & documentationgnupg.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.CRDOWNLOADChrome Partial Download File
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.SWFSmall Web Format (Shockwave Flash)

Похожие расширения

.ASCOpenPGP ASCII-Armored File
.SIGOpenPGP Detached Signature
.DECEncrypted / Encoded data file (generic)
.GPGGnuPG Encrypted File
.ENCEncrypted / Encoded file (generic)
.KDBXKeePass 2 Password Database

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z