{"by":"emurlin","descendants":32,"id":49827375,"kids":[49840071,49835937,49836372,49841613,49843647,49836177,49840896,49840482,49853940,49827492,49841537,49841304,49867628,49839534,49840404,49868086,49827535,49831172],"score":90,"text":"Air-gapped file encryption packed into a single, self-decrypting HTML page. Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;ApelegHQ&#x2F;ts-cms-ep-sfx\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;ApelegHQ&#x2F;ts-cms-ep-sfx</a><p>I was inspired by self-extracting archives. I wanted to share files with basically no dependencies. The goal was:<p><pre><code>  1. Something that didn&#x27;t require any installation (assuming a web browser)\n  2. Have a single file with no network that could self-decrypt\n  3. Be fully auditable\n</code></pre>\nThe second point is done by having (sort of(*)) reproducible builds and embedded OpenPGP signatures.<p>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).<p>The third point is accomplished by the first two, and by the source being freely available.<p>(*) Depends on the OS at the moment.","time":1790234537,"title":"Show HN: Air-gapped file encryption as self-decrypting HTML page","type":"story","url":"https://cms-sfx-demo.apeleg.com/"}