One-time secret sharing with client-side AES-256 encryption

717stars
93forks
Last commit: 1d ago
Repo age: 9y old
OTS screenshot

OTS is a one-time secret sharing platform designed to keep the server from learning the plaintext. Secrets are encrypted client-side using symmetric AES-256, then stored server-side only in encrypted form and deleted after the first successful read.

Key Features

  • Client-side AES-256 encryption; the decryption password is never sent to the server
  • Secrets are deleted immediately after the first read
  • Optional secret expiry (TTL) configuration
  • Multiple storage backends, including in-memory and Redis
  • Simple HTTP API for creating secrets and retrieving them
  • Optional CLI tool for creating and fetching secrets (useful for scripts)

Use Cases

  • Sharing passwords, tokens, or recovery codes securely with a single recipient
  • Sending sensitive information via chat/email without long-lived exposure
  • Automation and scripting workflows to distribute short-lived secrets

Limitations and Considerations

  • In-memory storage backend loses secrets on service restart
  • Security relies on clients handling the generated URL (containing secret ID and password in the fragment) safely

OTS provides a minimal, practical workflow for one-time sharing while reducing trust in the server by keeping encryption and decryption on the client. It is well-suited for teams and homelabs that need a lightweight, self-hosted alternative for sharing sensitive strings and small payloads.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Syncthing

Syncthing

Open-source, peer-to-peer file synchronization tool.

79.1k
4.9k
Last commit: 2d ago

Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

Alternative to:
Resilio Sync
Resilio Sync
+6
LocalSend

LocalSend

Open-source cross-platform local network file sharing app

73.3k
3.9k
Last commit: 4d ago

LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.

Alternative to:
Apple AirDrop
Apple AirDrop
+6
AList

AList

Multi-storage file listing server with WebDAV and previews

48.8k
8k
Last commit: 26d ago

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

Alternative to:
Dropbox
Dropbox
+19
copyparty

copyparty

Portable file server with fast resumable uploads and many protocols

41k
1.7k
Last commit: 19h ago

Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

Alternative to:
WeTransfer
WeTransfer
+19
qBittorrent

qBittorrent

Cross-platform BitTorrent client built with Qt and libtorrent

35k
4.5k
Last commit: 21h ago

qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Alternative to:
BitTorrent
BitTorrent
+2
Nextcloud

Nextcloud

Open-source collaboration platform for file sync and groupware

33.8k
4.7k
Last commit: 16h ago

Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...

Alternative to:
Google Drive
Google Drive
+19