# A Hacker Hid a Message Inside a Trusted TLS Certificate

Original title: Horible public key tricks

> Hacker News story 50434264 · language: en · submitted 2026-11-10
> Web version: https://zeli.app/story/50434264
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 255 · by [Curiositry](<https://news.ycombinator.com/user?id=Curiositry>) · 💬 89
[original](<https://maurycyz.com/projects/badcert/>) · [HN discussion](<https://news.ycombinator.com/item?id=50434264>)

## Summary

Maurycy Z. got tired of the ACME dance and decided to protest by crafting a vanity RSA key whose modulus spells out a readable message in base64, then had Let's Encrypt sign it. The trick: tweak the upper half of n, round q up to the next prime, and the embedded text survives. The result is a fully functional, trusted certificate with a joke baked into its public key.

## Key quote

> No one checks these things. A certificate authority got away with the number 4 for a year.

## HN discussion (89 comments)

### [knotimpressed](<https://news.ycombinator.com/item?id=50435546>)

> The linked pdf at https://tom7.org/httpv/httpv.pdf is extremely long but a great read if you enjoyed the article.

### [tptacek](<https://news.ycombinator.com/item?id=50434692>)

> All serious attackers are man-in-the-middle attackers (usually by tricking victims into diverting their own traffic, not literally by inserting themselves into the network path). Passive-only attackers went extinct along with the backbone-connected Sun servers that were used to launch those attacks.
>
> I don't so much care about the rest of this analysis, but you can't call an unauthenticated TLS session "secure".

### [sam1r](<https://news.ycombinator.com/item?id=50435567>)

> Tip: select the the ‘tty’ mode prior to digging in.
>
> I’ve never felt a more relaxed feeling (easy on the eyes) while reading any blog in comparison.

### [arcfour](<https://news.ycombinator.com/item?id=50434971>)

> \>Nobody checks your private keys
>
> You're implying that they should???

### [geekgod382](<https://news.ycombinator.com/item?id=50435908>)

> I don't understand the math. What does plaintext^e mod n actually do?

---

## Cite

- Page: https://zeli.app/story/50434264
- Date: 2026-11-10
- Source: maurycyz.com (https://maurycyz.com/projects/badcert/)
- Hacker News: https://news.ycombinator.com/item?id=50434264

## Other languages

- zh: https://zeli.app/zh/story/50434264 · markdown: https://zeli.app/zh/story/50434264.md
- ja: https://zeli.app/ja/story/50434264 · markdown: https://zeli.app/ja/story/50434264.md
- ko: https://zeli.app/ko/story/50434264 · markdown: https://zeli.app/ko/story/50434264.md
- de: https://zeli.app/de/story/50434264 · markdown: https://zeli.app/de/story/50434264.md
- es: https://zeli.app/es/story/50434264 · markdown: https://zeli.app/es/story/50434264.md
- ru: https://zeli.app/ru/story/50434264 · markdown: https://zeli.app/ru/story/50434264.md
