# Air-gapped file encryption as self-decrypting HTML page

Air-gapped file encryption packed into a single, self-decrypting HTML page. Repo: https://github.com/ApelegHQ/ts-cms-ep-sfx I was inspired by self-extracting archives. I wanted to share files with basically no dependencies. The goal was: 1. Something that didn't require any installation (assuming a…

- **Page:** https://magpie.gallery/i/air-gapped-file-encryption-as-self-decrypting-html-1os9
- **Type:** Link to an idea elsewhere
- **Category:** Utilities
- **Runs on:** web
- **Tags:** encryption, offline, html, openpgp, files

## Source

Web · emurlin: Air-gapped file encryption as self-decrypting HTML page

- **Original:** https://news.ycombinator.com/item?id=49827375

> Air-gapped file encryption packed into a single, self-decrypting HTML page. Repo: https://github.com/ApelegHQ/ts-cms-ep-sfx I was inspired by self-extracting archives. I wanted to share files with basically no dependencies. The goal was: 1. Something that didn't require any installation (assuming a web browser) 2. Have a single file with no network that could self-decrypt 3. Be fully auditable The second point is done by having (sort of(*)) reproducible builds and embedded OpenPGP signatures. The first point is made by cleverly manipulating the HTML structure so that it can decrypt without breaking the PGP signature. It can even decrypt using bare openssl (which was a design goal too, though getting the exact structure right took some work and bug reports). The third point is accomplished by the first two, and by the source being freely available. (*) Depends on the OS at the moment. https://cms-sfx-demo.apeleg.com/

## GitHub projects

- https://github.com/ApelegHQ/ts-cms-ep-sfx

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
