- 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-checkon your server, and every later run checks against that saved key. - The script runs as the user
nobody, sosudomay ask for your password. Docker image names are no longer listed, sincenobodycannot 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.
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.