Skip to content

Re-add Copy Share Link → securebin.org paste viewer - #87

Open
bindeman wants to merge 1 commit into
mainfrom
share-link-viewer
Open

Re-add Copy Share Link → securebin.org paste viewer#87
bindeman wants to merge 1 commit into
mainfrom
share-link-viewer

Conversation

@bindeman

Copy link
Copy Markdown
Member

Re-adds Copy Share Link on the result page (removed in 2.0.4 because it pointed at a viewer that didn't exist). It now produces:

https://securebin.org/<pasteKey>#key=<passkey>

The recipient opens it in the securebin.org paste viewer — the ciphertext is fetched from Pastebin and decrypted in their browser, no extension required. The passkey rides in the URL fragment, which browsers never send to servers. Only shown when there's a real Pastebin link (not local-only encryption).

Ship after the viewer is live. This depends on secbin/secbin.github.io#2 being deployed (worker + site). Merge + cut as 2.0.5 once securebin.org/<id> works.

test:ui seeds a history item and asserts the copied link is exactly https://securebin.org/SHARE123#key=share-verify-pass.

🤖 Generated with Claude Code

The result page again offers Copy Share Link for posted pastes, now pointing
at the securebin.org paste viewer instead of the dead /view#... URL:
  https://securebin.org/<pasteKey>#key=<passkey>
The key rides in the fragment (never sent to any server); the recipient's
browser fetches the ciphertext and decrypts locally — no extension needed.
Only shown when there's a real Pastebin link (not local-only encryption).

test:ui seeds a history item and asserts the copied link shape.

Co-Authored-By: Claude Fable 5 <[email protected]>
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