🔐 PGP Encryption Guide for DrugHub Market

â„šī¸
DrugHub requires mandatory PGP authentication. Traditional username/password login does not exist.

What is PGP?

Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication. DrugHub uses PGP for:

  • Passwordless authentication via cryptographic signatures
  • Encrypted communications with vendors
  • Securing sensitive account information

Step 1: Install GPG (GnuPG)

Windows: Download Gpg4win from gnupg.org
macOS: Install via Homebrew: brew install gnupg
Linux: Pre-installed or sudo apt install gnupg

Step 2: Generate 4096-bit Key Pair

gpg --full-generate-key

Select:

  • Key type: RSA and RSA
  • Key size: 4096 bits (required by DrugHub)
  • Expiration: 2 years recommended
  • Identity: Use anonymous name (not real identity)
  • Passphrase: Strong, unique passphrase

Step 3: Export Your Public Key

gpg --armor --export your@email.com > drughub_pubkey.asc

Upload this public key to DrugHub during registration.

Step 4: Sign Messages for Authentication

gpg --clearsign --armor message.txt

DrugHub verifies your signature to authenticate your identity.

Security Tips

  • Never share your private key
  • Back up keys securely (encrypted USB)
  • Use strong unique passphrase
  • Consider hardware key storage (YubiKey)

← Back to Wiki Hub