Files
vectorcraft/crates/engine
dotCooCoo 685e7cc3ea Plug-ins: a removal the key store can't make last fails
plugin.remove now fails and leaves the plug-in installed while the key
store can't be reached, also when grants.json is missing or doesn't name
the plug-in, since an earlier signed copy put back could otherwise grant
it again. A grants file that is too large or doesn't hold a list no
longer stops a removal once the generation is raised. Removing an id
that isn't installed deletes the module stored for it that didn't load
and reports it removed.

The system key store is reached through keyring-core and the platform
store crates keyring 4.2 uses; a failed connection is tried again on
the next call. The key is read from the key store each time grants.json
is checked or signed, so a key removed or replaced there is not used.
The key and the generations are kept as hexadecimal text. On Windows
the lock for making the first key is in %LOCALAPPDATA%.

The wrong-key and copied-file cases of the edited-file test are at the
generation kept for their folder, so only the MAC rejects them.
2026-11-21 18:58:45 -08:00
..