pagecrypt icon indicating copy to clipboard operation
pagecrypt copied to clipboard

Password Protected Single Page Applications and HTML files

Results 14 pagecrypt issues
Sort by recently updated
recently updated
newest added

Add option to use a custom HTML template, and use the JS decryption code together with any html template that provides the right elements like a password form. Or export...

enhancement
help wanted

Also update the attribution link to link to the public webpage instead of the GitHub repo.

enhancement

First of all thanks for pagecrypt. The tool is great and I love it! I'm writing a pretty minimal landing page for my html ebook: body { width: 100%; padding:...

question

A few small tweaks to extend support to non-Single Page Applications, i.e. the ability to encrypt an entire *folder* of html pages, with the same password, and then to publish...

We don't really care too much about including the password as fragment. We *do* however care *a lot* about using the fragments as they are normally used: linking to specific...

enhancement
help wanted

While the current implementation using PBKDF2 is good for the current threat model, argon2 is more resistant towards GPU brute forcing attacks. Argon2 could thus increase security of encrypted pages....

enhancement
help wanted

The current message only refers to using a "modern browser". https://github.com/Greenheart/pagecrypt/blob/38b21afa1fd2859deac414aca1cc01a0b0e34143/web/decrypt.ts#L62 However, since this error also appears in insecure browser contexts (`http`, `file`), it would be more useful to have...

enhancement

Now that Node.js has a stable utility for parsing arguments, it might be worth removing the dependency `sade` and use the built-in alternative instead. https://nodejs.org/api/util.html#utilparseargsconfig

enhancement

Maybe this could remove the need for vite-plugin-singlefile for the web build. As of writing, this seems to be far off in the future.

- [ ] Use TypeScript for tests - [ ] Improve tests of the CLI and verify the expected output - [ ] Use Vitest Browser Mode and potentially Playwright...