feat: serve TUF metadata for Joomla update server endpoints #632
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Joomla 6 uses TUF (The Update Framework) to validate extension update metadata. MokoGitea's built-in update server serves
updates.xmlbut no TUF metadata files. This causes Joomla 6 to reject updates with:Confirmed:
/updates.xmlserves correctly, buttimestamp.jsonreturns 404 at all attempted paths.Required TUF Files
timestamp.json- short-lived, must be auto-refreshed (e.g. hourly)snapshot.json- references current targets versiontargets.json- lists update packages with hashes/sizesroot.json- trust anchor with signing keysThe critical piece is
timestamp.jsonauto-refresh — if it expires, Joomla refuses updates entirely.Affected
All repos using MokoGitea built-in
/updates.xmlendpoint (MokoSuiteBackup, MokoJoomHero, MokoOnyx, etc.)Discovered testing MokoSuiteBackup on waas.dev.mokoconsulting.tech.