Expand description
Invite format for contributor onboarding.
An invite is a lightweight JSON blob that solves the bootstrap problem: the manifest is encrypted inside commits (via content_key derived from root key), so you need the root key to read the manifest, but you need the manifest to get the root key. The invite provides the ECIES-wrapped key outside the commit chain as a one-time bootstrap token.
Once cloned via invite, subsequent access uses the manifest embedded in commits.
Structs§
- Invite
- A lightweight invite blob for contributor onboarding.
Constants§
- INVITE_
TYPE_ V1 - Magic type identifier for invite blob detection.
Functions§
- is_
invite_ blob - Try to detect whether a byte slice is a void invite blob.
- parse_
invite - Parse an invite from JSON bytes, returning
Noneif not an invite.