mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
The key store's generation for a plug-in folder now only goes up. When writing or removing a signed grants.json fails after the raise, the generation stays raised: the file left in place grants nothing and its plug-ins ask for approval again. Before, the earlier generation was put back, so a later raise could reach a generation a copy of the file was already signed at, and that copy granted again. - Keeping a lower generation than the kept one is an error. - A signed file larger than 1 MiB is found before the raise, so the file in place keeps its grants when nothing can be written. - A kept generation within two of the largest 64-bit value is not raised, so a signed write never fails after the raise for lack of a next generation.