From the lease write a directory used as found names the node seat's hand-over as its way out, following the lease the engine hears (issue 774, ADR 0563 §5; rev-l3 round 1)

This commit is contained in:
2026-10-28 20:35:33 +01:00
parent 95dd64c774
commit a5d1f7dde4
4 changed files with 36 additions and 0 deletions
+10
View File
@@ -65,6 +65,16 @@ func (t *meshTrust) Controller() ed25519.PublicKey {
return t.controller
}
// HandedAway says the controller's lease was handed away, as heard on the lease key.
func (t *meshTrust) HandedAway() bool {
if t == nil {
return false
}
t.mu.Lock()
defer t.mu.Unlock()
return t.handedAway
}
// Signers are the keys a mesh signature is verified against now: the controller's while it holds the lease, and the
// vault's once read.
func (t *meshTrust) Signers() []delivery.Signer {