Merge latest changes from the syndicate-protocols repository

This commit is contained in:
Tony Garnock-Jones 2023-02-06 17:09:35 +01:00
commit 53b84db98e
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,12 @@ embeddedType EntityRef.Cap .
; The sequence of Caveats is run RIGHT-TO-LEFT.
; That is, the newest Caveats are at the right.
;
; Let f = HMAC-BLAKE2s, e = canonical machine-oriented serialization of some preserves value,
; and k = the original secret key for the ref.
;
; The `sig` is then f(f(f(f(k, e(oid)), ...), Caveat), ...).
;
SturdyRef = <ref @oid any @caveatChain [Caveat ...] @sig bytes>.
; embodies 1st-party caveats over assertion structure, but nothing else