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

783 stars 99 forks last commit first released Apache-2.0

Actively maintained

Last commit 26 Aug 2026.

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 to OTS

Hemmelig logo

Hemmelig

Encrypted secret sharing with client-side encryption and self-destructing links

1.2k
106
Last commit

Share sensitive text or files securely using client-side encryption, expiring links, view limits, and optional password protection.

Actively maintained
Alternative to:
Onetime Secret logo
Onetime Secret
+3
sup3rS3cretMes5age logo

sup3rS3cretMes5age

Self-destructing one-time message service backed by HashiCorp Vault

568
82
Last commit

Self-hosted one-time, self-destructing message service that stores secrets in HashiCorp Vault, with a lightweight web UI and optional TLS automation.

MITActively maintained
Alternative to:
Onetime Secret logo
Onetime Secret
+1
Onetime Secret logo

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.9k
451
Last commit

Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.

MITActively maintained
Alternative to:
Onetime Secret logo
Onetime Secret
+6
Hoodik logo

Hoodik

Self-hosted end-to-end encrypted cloud storage drive

1.5k
66
Last commit

Lightweight self-hosted cloud storage with end-to-end encryption, chunked file transfer, private search, and secure share links via a web UI.

Actively maintained
Alternative to:
Dropbox logo
Dropbox
+15
Send logo

Send

Encrypted file sharing with expiring links

Self-hostable encrypted file sharing service with expiring links, download limits, and optional password protection for secure, temporary transfers.

Activity unknown
Alternative to:
WeTransfer logo
WeTransfer
+8
Gokapi logo

Gokapi

Self-hosted expiring file sharing with optional S3 storage

2.8k
138
Last commit

Lightweight self-hosted Firefox Send alternative for secure, expiring file shares with user roles, optional S3-compatible storage, and REST API.

AGPL-3.0Actively maintained
Alternative to:
WeTransfer logo
WeTransfer
+9