zcap-spec icon indicating copy to clipboard operation
zcap-spec copied to clipboard

Chain shortening

Open cwebber opened this issue 6 years ago • 2 comments

/cc @erights who has brought this issue to my attention

In the case of a ledger, maybe shortening does not matter; the whole chain is already on the ledger and does not need to be re-attached. In the case of an off-ledger ocap certificate chain, it could be very expensive to keep around the entire chain of delegations, even though this technically needs to be done without shortening. With shortening, we can keep things much smaller; if Alice has an ocap with Carol as the target, and Alice delegates this ocap to Bob, Bob could ping Carol and ask for a "shortened" chain, which preserves all caveats and also Alice's ability to revoke it.

cwebber avatar Aug 25 '19 16:08 cwebber

Did you rotate the roles of Alice Bob and Carol? If so, could you rotate them back? Thanks.

erights avatar May 27 '20 01:05 erights

Fixed, I hope! (Edit: fixed up one more time.)

BTW, expanded (slightly) more in this message on a cap-talk thread.

cwebber avatar May 27 '20 03:05 cwebber