Skip to content
misaonPublic

About

Share passwords, notes and files through end-to-end encrypted links that expire after a set time or number of opens. Self-hostable Go server, web client and CLI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

660 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nylzo. Encrypted sharing. Expiring links.

Share a secret. Set its expiry.

Send a password, private note, or file through an encrypted link.
Nylzo encrypts it on your device. You choose when the link expires and how many times it opens.

Create a link · Install · Documentation · Self-host

Latest release CI on main Test coverage on main OpenSSF Scorecard OpenSSF Baseline self-assessment

Features

  • Text up to 100 KiB and files up to 5 MiB, encrypted on your device before upload.
  • Links expire after at most 7 days and after the number of opens you set. Add a passphrase, cancel a link you sent, or let the recipient delete the message.
  • One Go binary holds the nylzo CLI and the web client, and runs the server on Linux and macOS with SQLite and file storage.
  • An instance's operator can sign in to /admin with a passkey to see visit and message counts, server load and refused clients. The server counts visits itself, without cookies or stored IP addresses.
  • Signed releases with build provenance and reproducible archives. nylzo verify-client compares the web client an instance serves with the signed release.

How it works

  1. Your browser or the CLI generates a random secret and encrypts the message with AES-256-GCM.
  2. Only the ciphertext goes to the server. The secret travels in the link after #, the part of a URL that browsers do not send to servers.
  3. The server counts opens and enforces the expiry. When a link expires, the server erases the key it needs to produce the link's decryption share, so a copy of the stored data stops opening too.
  4. The recipient's browser or CLI decrypts the message locally.

The protocol defines the cryptography. The security model describes each layer of protection and the threat model behind it.

Get started

Use Nylzo Start here
In your browser Create a link at nylzo.com. No account required. Its limits and operator are on its transparency page.
From your terminal Install the CLI with Homebrew on macOS and Linux or with Scoop on Windows, on x64 or ARM64.
On your own server Deploy with Docker Compose and Caddy, or run the binary behind a TLS proxy.

Install the CLI

On macOS and Linux:

brew install misaon/nylzo/nylzo

On Windows:

scoop bucket add nylzo https://github.com/misaon/homebrew-nylzo
scoop install nylzo/nylzo

The tap offers a release only after it has verified the release's signature and build provenance. Verify a release shows how to check an install yourself. Then create a link from a file and read it back:

nylzo create --server https://nylzo.com --ttl 1h --opens 1 < message.txt > link.txt
nylzo read --link-file link.txt --out received

The CLI guide covers passphrases, attachments, and nylzo web, which runs the web client from the binary so the instance sends no code to your browser.

Security

  • Your device encrypts the message with AES-256-GCM. The 256-bit key stays in the link after #, so the server stores only ciphertext.
  • A passphrase goes through scrypt with 256 MiB of memory per guess, and the server locks a message after 100 wrong guesses.
  • Every change runs a stolen-server test. It searches a copy of the database, files and logs for keys, content, file names, message IDs and IP addresses, and must find none.
  • nylzo.com carries messages only over TLS 1.3 with the post-quantum key exchange X25519MLKEM768.
  • Every 30 minutes a workflow compares the web client nylzo.com serves with the signed release. On a mismatch it puts the instance into maintenance and closes it at the Hetzner Cloud Firewall.
  • The host runs Flatcar Container Linux in Finland. SSH accepts only hardware keys from one administrator network, with post-quantum key exchange.
  • Renovate looks for dependency updates every six hours. It merges a security fix once every check passes, and nylzo.com installs the signed patch release within ten minutes.
  • Releases are signed and reproducible, with build provenance.

Independent tests of nylzo.com: securityheaders.com and Mozilla Observatory rate it A+, and PageSpeed Insights gives it 100 for accessibility, best practices and SEO.

The security model describes each layer and the threat model behind it. Report vulnerabilities privately, as SECURITY.md describes.

Built with

Layer Technology
Encryption AES-256-GCM, scrypt, HKDF-SHA-256, Ed25519, HPKE with MLKEM768-X25519, TLS 1.3 with X25519MLKEM768
Server Go and its standard library with seven direct dependencies, SQLite, Caddy
Web Svelte 5, TypeScript, Bun, Web Crypto, Subresource Integrity, Trusted Types, a strict CSP
Hosting Hetzner Cloud in Finland, Flatcar Container Linux, OpenTofu, Let's Encrypt
Supply chain Signed commits, CodeQL, govulncheck, OSV-Scanner, Grype, golangci-lint, Renovate, Sigstore, SLSA provenance, release-please changelogs

Contributing

Read the contributing guide, pick an issue, or start a discussion. SUPPORT.md says where to ask for help.

MIT license · Name and logo · Changelog

About

Share passwords, notes and files through end-to-end encrypted links that expire after a set time or number of opens. Self-hostable Go server, web client and CLI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages