Verbessert Software Watch

Software Watch: the server check is signed

The lines that run the Software Watch server check now check that Magpie signed the script before they run it, and run it as the user nobody.

  • Magpie signs the server check with a key that is not kept on Magpie's web servers. The lines in the Server check drawer download the script and its signature, check it with ssh-keygen, and run it only when the signature is valid.
  • The first run saves Magpie's key in ~/.magpie-server-check on your server, and every later run checks against that saved key.
  • The script runs as the user nobody, so sudo may ask for your password. Docker image names are no longer listed, since nobody cannot list them.
  • The key is also published in DNS: dig +short TXT _server-check-key.magpie.diy.
  • The website serves the script only while its signature is valid, and Magpie checks the copy it serves every 10 minutes.