CALLERS-2: the vault's secret-ask and retire callers lists go; its enrolment check stays
Every account may call every verb from H1, so secret-ask answers every caller the runtime proved and retire every caller whose warrant holds; the manifest's two lists, the config retire-callers and its file go. The enrolment verbs keep their one list, now a small type of the vault's own since mesh-sdk's Callers goes. Builds: design 47 H §752 (ADR 0682 §10's exception for the enrolment caller, H-A-11); H-A-41, H-A-66 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
@@ -149,25 +149,16 @@
|
||||
"mode": "0700",
|
||||
"owner": "mesh-vault",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "retire-callers",
|
||||
"trusted": true,
|
||||
"type": "file",
|
||||
"path": "${dir:state}/retire-callers.json",
|
||||
"mode": "0600",
|
||||
"owner": "mesh-vault",
|
||||
"merge": "json",
|
||||
"template": "files/retire-callers.json",
|
||||
"takes-config": [
|
||||
"retire-callers"
|
||||
]
|
||||
}
|
||||
],
|
||||
"streams": [
|
||||
{
|
||||
"name": "mesh-vault-findings",
|
||||
"events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"],
|
||||
"events": [
|
||||
"finding-written.*",
|
||||
"finding-cleared.*",
|
||||
"findings-stated.*"
|
||||
],
|
||||
"max-age-days": 7,
|
||||
"max-mib": 16
|
||||
}
|
||||
@@ -190,15 +181,8 @@
|
||||
"MESH_VAULT_ROOT": "${dir:root}",
|
||||
"MESH_VAULT_STORE": "${dir:store}",
|
||||
"MESH_VAULT_STATE": "${dir:state}",
|
||||
"MESH_VAULT_SECRET_ASK_CALLERS": "node-tools",
|
||||
"MESH_VAULT_ENROLMENT_CALLERS": "mesh-enrolment",
|
||||
"MESH_VAULT_RETIRE_CALLERS": "${dir:state}/retire-callers.json"
|
||||
"MESH_VAULT_ENROLMENT_CALLERS": "mesh-enrolment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -253,16 +237,6 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"retire-callers": {
|
||||
"type": "list",
|
||||
"description": "Who may call the seat's verb retire, which removes one module's own secret on a node because no manifest reads it any more: a module's name (on every machine), <machine>.<module>, or person.<name>. The holder of the seat mesh-config alone by default (design 32); the verb also needs a hand act the caller recorded for exactly that node, module and secret.",
|
||||
"trusted": true,
|
||||
"default": [
|
||||
"mesh-config"
|
||||
]
|
||||
}
|
||||
},
|
||||
"consumes": [
|
||||
"mesh-delivery-assigner.views.assignments",
|
||||
"mesh-conditions.findings-asked",
|
||||
|
||||
Reference in New Issue
Block a user