str4d / wage

A WASM package and web app for encrypting and decrypting age-encrypted files, powered by rage.
https://rage-encry.pt
Apache License 2.0
77 stars 10 forks source link

Fix file download when running on localhost #5

Closed str4d closed 4 years ago

str4d commented 4 years ago

We are using StreamSaver.js to download the processed file, which requires a service worker. It works fine if we serve the service worker's page from a secure context (when the webapp is published to a site with HTTPS), but looking at its documentation, it should also be possible to have it work via localhost without HTTPS.