mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-30 10:52:56 +00:00
Fixes critical bug where keygen() used random keyId but sign() derived it from sha256 of public key PEM. This caused embedded release key (f40248d0) to not match actual derived id (499923ae), breaking plugin verification. Now both keygen and sign derive keyId consistently from sha256(publicKeyPem).slice(0,4).hex. Added tests: - keygen and sign derive identical keyIds from same ephemeral key - RELEASE_PUBLIC_KEYS map keys match their derived keyIds from embedded PEM values End-to-end verified: signing with private key and verifying with embedded public key now works without CODEBURN_PLUGIN_DEV. |
||
|---|---|---|
| .. | ||
| upgrade-path | ||
| bundle-litellm.mjs | ||
| sign-plugin.mjs | ||
| smoke-plugin-socket.mjs | ||