Clanbite Since 1.6.0

class Release_Signature

Add-on releases are signed (Ed25519) in the release workflow with a key that never touches the update server, so even a compromised server cannot make a site install code it did not sign. The signed message is clanbite-release-v1 \n slug \n version \n sha256, where the SHA-256 is computed locally from the file that was downloaded.

Trusted public keys come from clanbite_release_public_keys(). With no key configured nothing is verified.

class final

Full name
Kernowdev\Clanbite\Updates\Release_Signature

Methods

  • message() The exact bytes that are signed.
  • verify() Whether a signature verifies against any trusted key.

Defined in inc/updates/class-release-signature.php

Changelog

VersionDescription
1.6.0Introduced.