Pretty Good Privacy is the single most misunderstood piece of darknet market infrastructure. Most guides explain what PGP is; this handbook is about what you do with it, step by step, every time you open a market account. The distinction matters because PGP failures on darknet markets are almost never cryptographic failures, Ed25519 signatures and AES-256 encryption are not going to be broken by an attacker in your threat model. The failures are operational: keys generated on a phone and synced to a cloud account, public keys imported from a mirror site without checking a fingerprint, ciphertext pasted into a forum post that leaks your IP via a tracker pixel, passphrases written down in a note synced to an email provider. Every one of those is an OPSEC decision, not a math problem.
This article is the operations manual: how to generate keys correctly, how to encrypt and sign messages so that both confidentiality and authenticity survive contact with a hostile market server, how to verify signatures without fooling yourself, how to manage and rotate keys over months of use, and the specific mistakes that have cost real users real money. If you need the conceptual background first, our PGP encryption complete guide covers the fundamentals; if you need the condensed reference, the PGP verification checklist is the checklist version. This handbook assumes you have GnuPG installed, the standard, audited, open-source implementation, and focuses on doing it right.
Why PGP operations matter on darknet markets
Darknet markets sit in a uniquely bad position for plaintext communication. The market server sees every message you send before it reaches the vendor; if that server is seized by law enforcement, which has happened to every major market in history, the database of plaintext messages, shipping addresses, and order histories becomes evidence. PGP encryption removes the market from the confidentiality path. But encryption alone does not prove who sent a message, and signatures alone do not hide what was said. On a market, you need both, and you need them applied to the right things.
The operational reality is that PGP on a DNM is used for exactly four things: encrypting your shipping address and order details to a vendor, verifying that a vendor's PGP key is the same one they have used for months (anti-phishing), verifying signed announcements from market administrators about new mirrors and addresses (anti-clone), and reading PGP-encrypted 2FA login challenges. Mess any one of these up and the protection is decorative. The rest of this handbook is organized around those four use cases.
Step 1: Generating a keypair correctly
Use GnuPG from the command line on a machine you control, not a web-based key generator, not an "easy PGP" browser extension with unknown telemetry, not a phone app that syncs keys to a cloud service. Install GnuPG (available for Linux, macOS, and Windows via Gpg4win), open a terminal, and run:
gpg --full-generate-key
For darknet use, the correct answers are: key type ECC (sign and encrypt), curve Curve25519, expiration of 2-3 years (you want a forcing function to revisit key hygiene), a name and email that contain no real-world identifying information, use your market alias and a throwaway address like an @proton.me alias or a @onionmail-style pseudonym you control. Never put your real name, never put an email address tied to any account used outside this compartment.
When prompted for a passphrase, use a long passphrase, five or six random words from a diceware-style list is the standard recommendation, roughly 70+ bits of entropy. A short password is worse than useless: it is a single point of failure that an attacker with your exported key file can brute-force offline at billions of guesses per second. Store the passphrase in a password manager you already trust or on paper in a physically secure location. There is no recovery mechanism for a forgotten PGP passphrase; the key is simply gone.
After generation, immediately export a revocation certificate:
gpg --output revocation.crt --gen-revoke [key-id]
Store it offline, encrypted, separately from the key itself. If your private key is ever compromised, revocation is the only mechanism that tells the world "this key is dead." Do not skip this step, it takes thirty seconds and is the difference between a manageable incident and permanent identity exposure.
One keypair per compartment. If you use three darknet markets, three separate PGP identities with three separate keyrings is the correct posture, ideally on separate devices or at minimum separate GnuPG home directories (GNUPGHOME environment variable). Reusing one PGP identity across markets links all your market activity together for anyone who ever sees both keyrings. The operational cost is trivial; the isolation is total.
Step 2: Importing and encrypting messages to vendors
Before you encrypt anything to a vendor, you must have their public key and verified its fingerprint through an independent channel. The vendor's fingerprint is published on their market profile; you verify it against a second source, a signed PGP message from the vendor on a forum, a fingerprint posted in a verified vendor announcement, a fingerprint you confirmed on a previous market they used. Importing a key and trusting it because "the fingerprint matched what the market showed me" is circular: the market could be lying, and if the market is a clone, the fingerprint is the attacker's.
The canonical encryption command for a vendor message is:
gpg --encrypt --armor --sign --recipient [vendor-key-id] message.txt
Break that down. --encrypt makes it confidential, only the vendor's private key can read it. --armor outputs ASCII-armored text (-----BEGIN PGP MESSAGE-----) instead of binary, which is what you need to paste into a web form. --sign signs with your key, proving to the vendor that the message came from you and was not modified in transit, this matters because market staff can read message metadata and, on a compromised market, tamper with plaintext. Always sign; unsigned encrypted messages are slightly weaker because a malicious middle party could theoretically strip or alter content.
What goes inside the encrypted message is as important as the encryption itself. Include: your order number, the product, your shipping address in the exact format the vendor requires, and any PGP-encrypted tracking instructions. Do not include your market username in the clear inside the message if you can avoid it, the vendor already knows which account the message is attached to. Do not include payment transaction IDs that could be correlated across platforms. And never, under any circumstance, use the market's built-in "PGP encrypt" checkbox as a substitute for encrypting locally. That checkbox sends your plaintext message to the market server, which encrypts it for the vendor; the server retains the plaintext, and on a seized market that plaintext is evidence.
Step 3: Verifying signatures without fooling yourself
Signature verification is where most users develop false confidence. The mechanics are simple: a signed message is plaintext readable by anyone, plus a cryptographic proof that a specific private key produced it and that the content has not been altered. To verify, you need the signer's public key imported, and you run:
gpg --verify signed-message.txt
GnuPG reports "Good signature" and shows the key ID and fingerprint. Here is the critical part: the output of gpg --verify is only as trustworthy as your trust in the key it verified against. If you imported a vendor's key from their market profile without independently confirming the fingerprint, you have verified a signature with a key an attacker could have generated. The signature is mathematically valid and operationally meaningless.
On darknet markets, signatures serve three purposes. First, vendor identity: a vendor signs a test message with their private key; you verify it against the fingerprint you confirmed out-of-band. Second, market announcements: market administrators sign mirror lists and PGP key rotation announcements; a signed announcement is the only proof a new onion address is legitimate. Third, 2FA and operational messages: some markets encrypt login challenges to your public key; being able to decrypt them proves you control the private key.
The operational discipline is: verify the fingerprint before trusting the key, verify the key before decrypting anything critical, and never let "gpg said good signature" substitute for "I independently confirmed this fingerprint." The Tor Project's OpenPGP guide covers key management on Tails; the GNU Privacy Handbook covers verification mechanics in full.
Step 4: Key management over time
Keys are not set-and-forget. A keypair generated once and used for two years without rotation accumulates risk: the longer a private key exists, the more opportunities for compromise, device theft, malware, coerced passphrase disclosure. The standard practice for high-value identities is annual key rotation: generate a new keypair, cross-sign or publish the new fingerprint through a trusted channel, transition correspondents, then revoke the old key. On darknet markets, the practical trigger is vendor or market key rotation announcements, when a vendor posts a new fingerprint signed by their old key, that is the correct rotation protocol.
Backups matter more than most users expect. Your GnuPG keyring lives in ~/.gnupg/ (Linux/macOS) or %APPDATA%\gnupg\ (Windows). Back it up encrypted, a LUKS-encrypted USB drive, a VeraCrypt container, or an encrypted archive with a strong passphrase, and store it in a physically separate location from your daily device. Test the restore once: a backup you have never restored is a hypothesis, not a backup. If your device dies and you cannot restore your keyring, every encrypted vendor relationship and every market account tied to that PGP identity is permanently inaccessible.
Revocation is the other half of key management. If a private key is compromised, malware, coercion, accidental exposure, revoke it immediately and notify anyone who relies on it. Publish the revocation certificate to a keyserver or directly to your contacts. On a darknet market, a compromised PGP key means an attacker can decrypt your future messages to vendors and forge your signatures; the response is rotation, not denial.
Common operational mistakes that cost users money
Using the market's encryption checkbox. Covered above, but worth repeating because it is the single most common mistake. The market server sees plaintext. Never use it.
Trusting an auto-imported key. Some market interfaces offer to "import vendor PGP key" or auto-fetch keys from keyservers. Auto-imported keys are unverified by definition. Always confirm the fingerprint through an independent channel before encrypting sensitive data to that key.
Sending plaintext in signed-only messages. A signed message is readable by everyone. If you sign a message containing your shipping address without encrypting it, you have published your address to the market server and anyone who later seizes its database. Sign+encrypt is the default; sign-only is for public announcements only.
Reusing keys across markets. One PGP identity across three markets links all three accounts for anyone who obtains both keyrings. Separate keys per compartment is the correct posture.
Weak or reused passphrases. A passphrase that appears in a password breach database is a passphrase that will be brute-forced offline against your exported key. Unique, long, diceware-style passphrases only.
Ignoring metadata. PGP encrypts message content, not metadata. The market still sees who sent the message, when, to which vendor, and how large the ciphertext is. If your threat model includes traffic analysis, PGP alone is insufficient, that is what Tor and compartmentalization are for.
Not verifying the vendor's fingerprint out-of-band. "The fingerprint on the market profile matches the fingerprint gpg shows" is circular if the market is compromised. Confirm through a second source: a signed message, a forum post, a previous market.
Storing the private key in plaintext. Exporting a secret key to a file "temporarily" for backup, then leaving it on disk unencrypted, is a common failure. GnuPG stores keys encrypted with your passphrase by default; exported --export-secret-keys files are also passphrase-protected, but the file itself should still live on encrypted storage.
The PGP operations checklist
Before every sensitive market interaction, run this sequence:
1. Key generation: ECC Curve25519, 2-3 year expiry, alias-only identity, strong unique passphrase, revocation certificate stored offline.
2. Key verification: fingerprint confirmed through an independent channel before first use; re-verified after any key rotation announcement.
3. Encryption: gpg --encrypt --armor --sign to the verified recipient key; never use the market's built-in encryption.
4. Signature verification: gpg --verify on every signed message; check the fingerprint shown matches the independently confirmed value.
5. Key hygiene: separate keys per market compartment; encrypted offline backup tested once; revocation certificate ready.
6. Metadata discipline: no real names, no cross-platform identifiers, no plaintext sensitive data in signed-only messages.
Troubleshooting common failures
"No public key" when encrypting: the recipient key is not in your keyring. Import it with gpg --import key.asc, verify the fingerprint, then retry.
"BAD signature" on a vendor message: either the key is wrong (most likely, you verified against an untrusted source) or the message was tampered with. Do not proceed; re-verify the fingerprint through an independent channel.
"No secret key" when decrypting 2FA: you are using the wrong keyring or the wrong GNUPGHOME. Check gpg --list-secret-keys to confirm the private key is present.
Expired subkey: GnuPG encryption subkeys expire independently of the master key. Generate a new subkey with gpg --quick-add-key [master-key-id] cv25519 encr, export the updated public key, and distribute it to your contacts.
Cannot decrypt a message you sent yourself: you encrypted to the wrong key ID. Double-check the recipient fingerprint before encrypting; a typo in the key ID is a common and unrecoverable error.
GnuPG hangs on passphrase prompt: pinentry is not configured. On headless systems use --pinentry-mode loopback with --passphrase-fd for scripted operations; on desktop systems ensure pinentry is installed and the agent is running.
Legal and safety warnings
This handbook describes PGP operations in the context of darknet markets for research and harm-reduction purposes. Accessing and using darknet markets is illegal in most jurisdictions, and in many countries the act itself, regardless of intent or outcome, is a criminal offense. Law enforcement agencies in multiple countries actively operate honeypot markets, monitor market infrastructure, and prosecute buyers and vendors. PGP protects message confidentiality; it does not protect you from platform-level observation, behavioral analysis, payment tracing, or physical delivery risk. If you or someone you know is struggling with compulsive use of these markets, harm-reduction resources exist, darknet forums publish testing and support guidance that assumes users will engage with these systems regardless of legality.
Sources and further reading
Primary references: the GNU Privacy Handbook (gnupg.org) for key generation and management theory; the pgp.net GnuPG guide for practical key creation walkthroughs; the Tor Project OpenPGP guide for key management on Tails; the Dark Matter PGP encryption guide for market-specific operations; and the DNM Bible community guide (dnmbible.info) for operational warnings. For the verification-specific checklist, see our PGP verification checklist; for the broader security context, the market security handbook and the secure messaging guide.
Comments 0