Skip to content

html: keep an encrypted paste's title back - #232

Open
cgzones wants to merge 1 commit into
matze:masterfrom
cgzones:encrypted-title
Open

cgzones wants to merge 1 commit into
matze:masterfrom
cgzones:encrypted-title

Conversation

@cgzones

@cgzones cgzones commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Only the content is encrypted; the title is a plain column. Both the QR page and the burn interstitial render metadata before any password is asked for, so either one handed the title to whoever held the id — while /{id} itself withholds it. That inconsistency is the whole bug: people put in the title what they believe the password covers.

Metadata now carries whether the row has a nonce, and both views leave the title out when it does.

Only the content is encrypted; the title is a plain column. Both the QR page
and the burn interstitial render metadata before any password is asked for,
so either one handed the title to whoever held the id — while `/{id}` itself
withholds it. That inconsistency is the whole bug: people put in the title
what they believe the password covers.

Metadata now carries whether the row has a nonce, and both views leave the
title out when it does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant