xclipluginsecuritysignmy-plugin--key"your-secret-signing-key"# Computing HMAC-SHA256 of plugin content...# plugin.sig written to ./plugins/my-plugin/plugin.sig# Signature: a3f8c9...
This creates a plugin.sig file in the plugin directory. The signature covers:
plugin.yaml manifest
All .py files in src/
requirements.txt (if present)
Key Management
The plugins.secret_key in integration.yaml must match the key used during signing. Rotate both together if the key is compromised.
# 1. Verify the plugin passes health checksxclipluginhealth
# 2. Sign the pluginxclipluginsecuritysignbilling_engine\--key"${XCORE_PLUGINS_KEY}"# 3. Verify the signature is validxclipluginsecurityverifybilling_engine
# 4. Deploy and confirm it loads correctlyxclipluginruntimereloadbilling_engine
xclipluginruntimestatus