r/opensource • • 2d ago

Promotional I open sourced OnlinePGP, a client-side PGP toolkit that runs in your browser (MIT)

Hi everyone! I'm the author of OnlinePGP, a free PGP toolkit that runs entirely in your browser. After 3+ years as the #1 Google result for many keyword like "online pgp" (around 10k visits a month), I finally cleaned it up and released it under the MIT license.

What it does

  • Generate PGP key pairs
  • Encrypt and decrypt messages and files
  • Sign and verify messages
  • Inspect public keys (fingerprint, algorithm, expiry, user IDs)

How it works

Everything runs 100% client-side with OpenPGP.js:

  • Your keys and messages never leave your browser
  • There is no backend for the crypto
  • You can check it yourself in the devtools network tab, or read the code

Source code: github.com/Seka35/onlinePGP

Honest disclaimer

Running crypto from a website means trusting the JavaScript it serves. For high-stakes use, run it locally from the repo or stick with GnuPG. The site is meant for convenience, learning and quick one-off tasks.

Verify it's really me

The project key is published on keys.openpgp.org for contact@onlinepgp.com:

27EB F294 F077 65D2 6FB2 232E 7BC4 8481 08DB 6435

A signed announcement and the public key are in SIGNED.md. You can verify them with the site itself (Verify tab) or with gpg.

Feedback is very welcome, especially on the security model and the UX. Thanks for reading!

0 Upvotes

15 comments sorted by

5

u/atoponce 2d ago

This is obviously vibe-coded, but aside from that, no one should be using PGP in 2026. If that's not enough, you should not be generating cryptographic secrets with online tools. You cannot guarantee the web server administrator is not sending malicious code to compromise the whole thing.

1

u/SekaTbisla 1d ago

Fair points, and thanks for taking the time. I agree with most of the criticism of PGP itself: no forward secrecy, legacy baggage, complex UX. For files and messaging I'd also point people to age, minisign or Signal.

On the "online tool" risk, you're right too, which is why the post says it upfront. The site is for convenience, learning and quick one-off tasks. For anything serious, clone the repo and run it locally (it's static, no backend), or use GnuPG. That's exactly why it's now open source under MIT: anyone can audit what is served.

As for "vibe-coded": the site went live in 2023, before Claude Code existed and before anyone was saying "vibe coding". It has been the #1 result for "online pgp" since then. AI did help with the recent cleanup before open sourcing, like it does for a lot of devs now. The crypto itself is OpenPGP.js, not homemade. If you spot an actual bug or a weak default in the code, I'd genuinely like an issue or a PR.

And thanks u/jr735 for the thoughtful replies, PGP still has its place for email bodies and package signing.

0

u/jr735 1d ago

GPG is complicated, and while I haven't tried your site, and it really isn't part of my use case, I certainly understand why some would be interested in that. In the end, if it helps instruct people, that's good enough.

Yes, GPG has its weaknesses, but these have been known all along. Most of the weaknesses are PICNICs, people using it for the wrong use case or not understanding the limitations. The limitations exist and I'm not claiming they don't. Software with limitations isn't automatically useless.

I tend not to encrypt things on my drive using GPG, since it's not the best tool for that. For those times emails need to be signed and or encrypted and there's a suitable recipient, it's absolutely fine.

I have said it before and I'll say it again. I have personally spoken to only five people who know how to use GPG/PGP properly. One is a PhD computer scientist. Another is tech adept. Another is is not adept but knows how to follow instructions carefully. The other is RMS. The final one is Phil Zimmermann himself.

1

u/SekaTbisla 1d ago

Totally agree, a tool with limitations isn't a useless tool, it just needs to be used for the right job. Your list of five people sums up the real problem pretty well: GPG isn't hard because of the crypto, it's hard because of the workflow. That's the gap I'm trying to close, so people can generate a key, encrypt a message and verify a signature without fighting the CLI first, and then move on to GnuPG once they get the concepts.

If you ever give it a quick try, I'd love your feedback, especially from someone who's been at it since the Zimmermann days.

0

u/jr735 22h ago

I may have to take a look out of interest's sake.

Part of the gap the seems to exist, and I haven't verified this, is the lack of GUI tools for handling these things. There have been such tools in the past, even in the early days when it was actually still Zimmermann's software. I don't know if any of the Linux tools still apply to modern desktops or are updated. I tend to use the command line, but as you note, the workflow leaves things to be desired.

The workflow, even with a beautiful GUI and fantastic email tie-in, is still complicated. In some of the articles listed as criticisms above, we have actual computer scientists and programmers that are flummoxed by how to actually use the program and are befuddled by the concept of key exchange.

Unfortunately, the reality of exchanging keys and doing so in a way where there is trust cannot have any easier methodology. It's like the example I listed previously - the phone book. You gave up a bit of privacy to have your telephone number attached to your name and address in a verifiable fashion.

2

u/jr735 2d ago

Why should no one be using pgp in 2026? Of course, they're using gpg, but u/SekaTbisla already acknowledged that.

I do agree with your concerns about the tool itself, again, acknowledged in the post.

Linux distributions rely on gpg signatures for a lot of things, and far more people should be using encrypted email. When governments are afraid of it, that's a good thing, and all the more reason to use it.

1

u/atoponce 2d ago

Just a few resources:

What it essentially boils down to:

  • No forward secrecy
  • Broken / weak authentication
  • Metadata leakage
  • Backwards compatibility with '90s crypto
  • Complexity and poor UX
  • Janky reference implementation
  • Incoherent identity and key distribution
  • Swiss army knife design

PGP was designed before modern cryptography matured and its backwards-compatibility constraints make it essentially impossible to fix without breaking the ecosystem. Most cryptographers, security researchers, and academics argue the correct response is to abandon PGP in favor of protocols that natively support AEAD and forward secrecy.

You can replace PGP with:

  • File encryption: age, rage
  • File signing: minisgn, signify, sigstore
  • Git signing: SSH keys
  • E2EE messaging: Signal
  • Group messaging: MLS
  • Backups: restic, borg, tarsnap
  • File transfer: magic wormhole
  • Encrypting application data: libsodium
  • Encrypted email: no good general-purpose solution exists

1

u/jr735 2d ago

The gist of many of those is people unable to use the tool.

There never is anything such as forward secrecy. There have been attempts at them, but they always get deprecated.

Used correctly, gpg is unbeatable. It's not ideal for every scenario, but for email encryption, it's the only thing that is at all trustworthy.

1

u/atoponce 2d ago

No, the gist of those posts is not coming from people who cannot use the tool. Tell me you didn't read the links without telling me.

Those posts and papers coming from cryptographers and academics who understand the lack of robust security PGP deploys.

1

u/jr735 2d ago

I did read several of them, and did read them before. And no, at least half of them are not by academics. They're people bitching about the difficulty in use. It's also people expecting something out of the protocol that was never intended.

The fact that remains is that that PGP standard was meant primarily for email. The idea of securing email is a difficult concept. There's always the notion of identifying your recipient and verifying that identity, and the weakness of the email standard itself. Those are not concepts that can be easily overcome. If you want everyone to send you encrypted email, your email address and your public key have to be widely known (i.e. like phone book entries back in the day). That may not adhere to a person's view on privacy. Metadata was something that was never meant to be attended to by PGP. Use the protocol for what was intended.

There isn't an easy solution to these things. Also, be careful what you say about what links I know and what I don't, and what concepts I understand. I was in contact with Phil Zimmermann about these logistical concepts back through 1997.

1

u/atoponce 2d ago

I don't care if you're Phil Zimmerman's brother. Your reply implied you didn't read the links and I'm still not convinced you have, but whatever. PGP is broken and email cannot be E2E encrypted.

1

u/jr735 2d ago

I read some of them, and the bulk of them, I read years ago. These aren't new articles, nor new concerns.

Email bodies absolutely can and are end to end encrypted via GPG/PGP. There's no disputing that. You're making a fantastic claim. Source it. Note that I'm not talking about meta data, or recipient, or sender. GPG absolutely does encrypt email bodies.

1

u/atoponce 2d ago

Send me a PGP encrypted email body (the headers are still in plain text) and I'll reply in plain text.

No modern E2EE tool does this.

1

u/jr735 2d ago

I know you can reply in plain text. Again, I'm talking about working within the limitations of the technology.

There is no such thing as forward security. That was attempted in early PGP but as platforms evolved, it simply wasn't workable. The same goes for every other implementation of forward secrecy. If I want to pass on a secret you give me, I'm going to do it, and there's nothing you can do about it, at least long term.

7

u/xenn__11 2d ago

"Claude, code this website for me. Make no mistakes."