Skip to content

feat(decrypt): add Decrypt tab and explain sharing protected content - #11

Merged
coko7 merged 2 commits into
mainfrom
feat/decrypt-page
Nov 13, 2026
Merged

coko7 merged 2 commits into
mainfrom
feat/decrypt-page

Conversation

@coko7

@coko7 coko7 commented Nov 13, 2026

Copy link
Copy Markdown
Owner
  • feat(decrypt): add Decrypt tab and explain sharing protected content
  • feat(dashboard): copy share link for encrypted items

coko7 and others added 2 commits November 13, 2026 19:36
Turn /decrypt into a proper sidebar tab: a link + password form that
works standalone (link field empty) or prefilled from ?url=. It accepts
a raw rustypaste link or a Watari share link, stays public for
recipients without an account, and keeps the signed-in sidebar for
logged-in users via a new non-redirecting Option<UserSession>
extractor.

Fetch failures now get specific messages (wrong server, expired /
deleted / already-opened one-shot) instead of the generic "wrong
password" one, and decrypted short URLs render as a clickable http(s)
link. The fetched ciphertext is cached per link, so retrying after a
mistyped password no longer refetches and burns one-shot content.

After an encrypted upload, paste or shorten, the success flash now
shows the Watari share link (APP_BASE_URL/decrypt?url=...) instead of
the raw ciphertext URL, with a short explanation of how recipients open
it and a reminder to send the password over a separate channel.

Co-Authored-By: lazytrek <352825308+lazytrek@users.noreply.github.com>
For password-protected rows, the dashboard's Copy button and link now
use the Watari share link (APP_BASE_URL/decrypt?url=...) instead of the
raw rustypaste URL, which only serves ciphertext. The link text still
shows the rustypaste URL to identify the item; unencrypted rows are
unchanged.

Co-Authored-By: lazytrek <352825308+lazytrek@users.noreply.github.com>
@coko7 coko7 changed the title feat/decrypt page feat(decrypt): add Decrypt tab and explain sharing protected content Nov 13, 2026
@coko7
coko7 merged commit 0a888a5 into main Nov 13, 2026
3 checks passed
@coko7
coko7 deleted the feat/decrypt-page branch November 13, 2026 18:42
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