[vault] Signing: a key the Android grant makes is standing-granted, a value older cores read; v0.19.1

0.19.0 wrote a new security action, android-key-made, which every older core refuses. The phone app and the
web vault open the same vault with their own pinned core, so a vault in which the grant made a key would stop
opening there. The key's creation is now standing-granted with 'Android grant made <id> for <repo> pipeline
release'; the grant itself is a member older cores ignore.
This commit is contained in:
2026-11-21 09:06:35 +01:00
parent 6588461438
commit 0eee7632ae
7 changed files with 32 additions and 29 deletions
+4 -2
View File
@@ -288,8 +288,10 @@ and counts the use on whichever fitted.
pipeline is `release`, `via` is `local`, `card-signing` is not ticked, and the vault has no key under that id. It
makes the RSA-4096 key with the certificate `CN=<Name>` (the repository's name, first letter upper case), `O` and `C`
from the grant, named `<Name> Android`, scoped to exactly that repository and `release`, adds the id to `made`, and
writes `android-key-made` to the security audit (`<id> for <repo> pipeline release`). It is a key like any other:
not exportable, removed only as any key is.
writes `standing-granted` to the security audit (`Android grant made <id> for <repo> pipeline release`). Core 0.19.0
wrote a new action, `android-key-made`, which older cores refuse; 0.19.1 keeps to the values every core since 0.16.0
reads, because the phone app and the web vault open the same vault. It is a key like any other: not exportable,
removed only as any key is.
**Granting** (`android_grant_set(repos, o, c, now)`) stores or replaces the grant (the counts and `made` stay) and
writes `standing-granted` with `Android releases: <patterns> pipeline release, keys made on first use`. It is