From 92065ca0d393aea0a911df41b03a8b385fad37a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Wed, 13 Nov 2024 14:50:59 +0100 Subject: [PATCH] invocation: fix proof documentation --- token/invocation/invocation.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/token/invocation/invocation.go b/token/invocation/invocation.go index 8135229..816030c 100644 --- a/token/invocation/invocation.go +++ b/token/invocation/invocation.go @@ -76,8 +76,9 @@ type Token struct { // The Command's arguments arguments *args.Args // CIDs of the delegation.Token that prove the chain of authority - // They need to form a strictly linear chain, and being ordered starting from the root Delegation (issued by the Subject), - // in a strict sequence where the aud of the previous Delegation matches the iss of the next Delegation. + // They need to form a strictly linear chain, and being ordered starting from the + // leaf Delegation (with aud matching the invocation's iss), in a strict sequence + // where the iss of the previous Delegation matches the aud of the next Delegation. proof []cid.Cid // Arbitrary Metadata meta *meta.Meta