Portable Secret

Open source

Portable Secret packs encrypted data into a single HTML file that opens in any browser with the right password, with no extra software.

mprimi.github.io
Portable Secret homepage screenshot
GitHub stars
1.7k
Last 30 days
+1(+0%)
Last commit
2 yr ago
Repository age
4 years
Licence
MIT
Self-hosted
Yes

About Portable Secret

A Portable Secret is an HTML file that holds an encrypted payload plus JavaScript that calls the browser's Web Cryptography APIs. Open it in a modern browser, enter the password, and the secret is decrypted and shown, even offline.

The author built it to exchange documents by email with a relative who would not learn PGP or age, and uses it to keep copies of private keys, recovery codes and passport scans in places that may be insecure. A creator tool generates the file.

The site stresses that it is a neat trick, not a product, and offers its source as a demonstration. It notes a fuller product built on the idea, PrivacyProtect.dev, by another developer.

Key features

  • Encrypted messages, images and files over any channel
  • Safe storage in untrusted locations
  • Opens in any reasonably modern browser, offline
  • Self-contained file with no dependencies
  • Three simple steps in the embedded code

Good fit for

  • Emailing a sensitive document
  • Keeping recovery keys on USB drives
  • Backup copies of ID documents
Tags
encryption
privacy
secrets
html
offline
file sharing

Portable Secret: questions and answers

What is Portable Secret used for?
Portable Secret packs encrypted data into a single HTML file that opens in any browser with the right password, with no extra software. It is a good fit for emailing a sensitive document, keeping recovery keys on USB drives and backup copies of ID documents.
Is Portable Secret open source?
Yes. Portable Secret is open source under the MIT licence. Its source code is on GitHub at mprimi/portable-secret.
Is Portable Secret free?
Yes. Portable Secret is open source, so the software itself is free to use.
What are some alternatives to Portable Secret?
Similar open-source tools in the Security category include VeraCrypt, Cryptomator and Onetime Secret. SaaS products in the same category include Vaultree, ADM Guard and AgentScan.
Is Portable Secret actively maintained?
The most recent commit to Portable Secret was on 21 July 2024. The project has 1.7k stars on GitHub, with 1 added in the last 30 days.

Open-source alternatives to Portable Secret

See all

SaaS alternatives to Portable Secret

See all