Skip to content
/ pgp Public

Open-source client-side PGP tools built with OpenPGP.js for encrypting and decrypting files and messages, generating and inspecting PGP keys, and signing or verifying data directly in the browser.

Notifications You must be signed in to change notification settings

only2dhir/pgp

Repository files navigation

🔐 PGP Encryption Tools (Client-Side)

This repository provides a fully client-side implementation of PGP utilities built using openPGP.js.
All cryptographic operations run entirely in your browser, ensuring that keys, messages, and files are never uploaded to any server.

These tools are designed for developers, security researchers, and privacy-conscious users who want quick, reliable PGP workflows without installing desktop software.


✨ Features

  • 🔑 PGP key pair generation (RSA & ECC)
  • 📨 Message encryption and decryption
  • 📁 File encryption and decryption
  • 🔐 Passphrase-protected private keys
  • 📦 ASCII-armored and binary PGP support
  • 🌐 Works offline after initial load
  • 🛡️ No server-side processing

🔗 Live Online Tools

If you prefer using these tools directly without cloning this repository, you can access the hosted versions here:

Each tool runs completely in your browser and is suitable for quick testing, learning, or real-world usage.


🧠 How It Works

These tools are built on top of openPGP.js, a well-audited JavaScript OpenPGP implementation.
The application uses modern browser APIs for cryptography, file handling, and secure key management.

  • Keys are generated locally
  • Encryption/decryption happens in memory
  • No analytics or tracking of cryptographic data

🚀 Getting Started (Offline)

  1. Clone or download this repository
  2. Open index.html (or the respective tool page) in a modern browser
  3. No build step or backend required

💡 Tip: You can host these files on any static server or use them fully offline.


🔐 Security Notes

  • Always use strong passphrases for private keys
  • Never share private keys publicly
  • For sensitive use cases, verify the integrity of downloaded files
  • These tools are ideal for educational, testing, and lightweight production scenarios

📜 License

This project is provided for educational and practical use.
Please review individual dependencies (such as openPGP.js) for their respective licenses.


🤝 Contributing

Contributions, bug reports, and feature suggestions are welcome.
Feel free to open an issue or submit a pull request.


⭐ Support

If you find these tools useful, consider starring the repository or sharing the hosted tools to help others discover secure, client-side cryptography.

About

Open-source client-side PGP tools built with OpenPGP.js for encrypting and decrypting files and messages, generating and inspecting PGP keys, and signing or verifying data directly in the browser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published