pub fn sign_plugin_ed25519(
plugin_dir: &Path,
key_id: &str,
private_key_bytes: &[u8],
) -> LoaderResult<PluginSignature>Expand description
Sign a plugin manifest with Ed25519
This function:
- Reads the plugin manifest (plugin.toml)
- Computes SHA-256 hash of the manifest
- Signs the hash with the provided private key
- Writes the signature to plugin.sig