I have a private website (i.e., I’m the only editor/visitor), but I don’t trust the hoster with my content.
What I want
When entering something into a
textarea
, I want to encrypt it locally with OpenPGP (preferably using my GnuPG installation) before it gets sent to the server.When viewing this published content (resp. when editing it again), I want to have it automatically decrypted locally.
So: Everything I see should be the decrypted content, everything that gets sent to and retrieved from the server should be encrypted.
What kind of tool
It would be great if this works directly on the page (*), but a solution with a local text editor would be okay as long as it works automatically: I don’t want to have to copy and paste the content from the form to my text editor and back to the form.
So I guess in any case a browser extension is required, but I don’t require this (maybe there is a different solution I can’t think of).
(*) I’m aware that then a malicious hoster could possibly retrieve my decrypted content, e.g., by injecting some JavaScript.
Formal requirements
- Everything involved must be FLOSS.
- It must work with a FLOSS web browser (I don’t care which one, e.g., Firefox or Chromium or …) on GNU/Linux (natively).