Another interesting project allows you to do a similar thing with Hugo. I'm a bit nervous to use these myself but seems useful for some limited, non-serious use cases. https://github.com/Izumiko/hugo-encrypt
Looks cool! And I like the effort you put in making your readme clear and covering many possible configs too, it feels very easy to read to me. Would you be okay with me listing your project in the Community and Alternatives[1] section of the StatiCrypt readme? [1] https://github.com/robinmoisson/staticrypt#community-and-alt...
Password protect a static HTML page, decrypted in-browser in JavaScript
31–40 of 48 posts
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#32Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#33Earlier quoted context omitted.
Looks cool! And I like the effort you put in making your readme clear and covering many possible configs too, it feels very easy to read to me. Would you be okay with me listing your project in the Community and Alternatives[1] section of the StatiCrypt readme? [1] https://github.com/robinmoisson/staticrypt#community-and-alt...
I didn't make this :)
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#34> returns a static HTML page showing a password prompt that you can now safely upload anywhere Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
(author here) Yeah, or if it's on http someone could MITM and change the script, or if they are malicious extension on the browser the content can be stolen after decryption. That felt implicitly obvious to me, but I think you're right and it wouldn't hurt to put those assumptions in the FAQ. Thanks for the feedback! (If you, or someone else, see other attack vectors, feel free to comment with those)
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#35Similar project that supports files: https://github.com/mprimi/portable-secret
Oh cool that looks awesome thanks for sharing! Are you the maintainer? I saw that StatiCrypt is listed is the alternative section of your README, I'll do the same on StatiCrypt (and add a bunch of the one listed there that I didn't know about!) The "Alternatives" section of StatiCrypt has always felt a bit empty to me, I'm glad to discover all those great looking projects and beef it up a bit. :)
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#36> returns a static HTML page showing a password prompt that you can now safely upload anywhere Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
Clickjacking has been a solved problem for over a decade. Set X-Frame-Options: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-...
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#37> returns a static HTML page showing a password prompt that you can now safely upload anywhere Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
Clickjacking has been a solved problem for over a decade. Set X-Frame-Options: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-...
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#38Similar (but also for a narrower use case with fewer features): https://github.com/sowbug/quaid It wraps a JS implementation of only the decryption side of GPG symmetric encryption, so there's less opportunity for the tool itself to introduce security errors.
That looks cool! Do you mind if I list in the Community and Alternatives[1] section of the StatiCrypt readme? [1] https://github.com/robinmoisson/staticrypt#community-and-alt...
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#39Earlier quoted context omitted.
Clickjacking has been a solved problem for over a decade. Set X-Frame-Options: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-...
How do I set this in a shared hosting environment like GoDaddy?
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#40Similar project that supports files: https://github.com/mprimi/portable-secret
Oh cool that looks awesome thanks for sharing! Are you the maintainer? I saw that StatiCrypt is listed is the alternative section of your README, I'll do the same on StatiCrypt (and add a bunch of the one listed there that I didn't know about!) The "Alternatives" section of StatiCrypt has always felt a bit empty to me, I'm glad to discover all those great looking projects and beef it up a bit. :)
I’m the ‘maintainer’ but I’m hands off and not planning on significant improvements.
Discussion on HN was also quite interesting and you may find some ideas: https://news.ycombinator.com/item?id=34083366
I also recently presented this at HOPE(.net) and was very well received by a technical crowd so congrats on independently inventing the same thing ;-)