mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 04:52:54 -05:00
Revoking a grant while grants.json was missing, or while a file that grants nothing (no valid MAC, too large, or not a list) was in its place and had no entry for the plug-in, left the folder's generation as it was. The last signed copy, still at the kept generation, then granted the plug-in again once it was put back. Such a revoke now raises the generation whenever the key store holds a key. Every raise also goes past the generation the file in place carries, so a signed write whose generation was not kept does not start to grant when the generation catches up with it.