codeburn/src/plugins
iamtoruk 5fe757b25a fix(plugins): codepoint-ordered signature canonicalization; sign fails loudly on unreadable files
localeCompare is locale/ICU dependent and fed the signed digest, so a plugin signed on one machine could false-reject on another (live even in ASCII: README.md vs codeburn-plugin.json order flips between locale-aware and codepoint comparison). All four sort sites now use plain codepoint order, commented as a canonicalization requirement. The sign script now throws on unreadable files instead of signing an incomplete list; the loader keeps skipping (its omission causes a digest mismatch and rejection, the fail-closed direction). New test drives the real sign script over a tree with mixed-case and non-ASCII names, so test and production canonicalization cannot diverge again.
2026-08-28 05:52:36 -07:00
..
cli.ts fix(plugins): polite one-line errors for plugin commands instead of stack traces 2026-08-28 05:43:18 -07:00
exporter.ts feat(plugins): derived turn context in exporter input and per-plugin state dir (10C host) 2026-08-28 02:36:21 -07:00
keys.ts fix(plugins): derive keygen keyId identically to sign; pin release-key ids in tests 2026-08-28 00:35:36 -07:00
loader.ts fix(plugins): codepoint-ordered signature canonicalization; sign fails loudly on unreadable files 2026-08-28 05:52:36 -07:00
manifest.ts fix(plugins): polite one-line errors for plugin commands instead of stack traces 2026-08-28 05:43:18 -07:00