Overview of go-tuf/v2
mastergo-tuf/v2 is a lightweight Go library providing a framework for securing software update systems based on The Update Framework (TUF) specification. It is designed to protect against supply chain attacks and repository compromises.
Key capabilities include:
- Metadata Management: Creation, reading, writing, signing, and verifying of TUF metadata (supporting ED25519, RSA, and ECDSA).
- Delegation Support: Top-level role delegation, target delegation (standard and hash bin), and succinct hash bin delegations.
- Client APIs: A standard TUF client API via the
updaterpackage and a multi-repository client API via themultirepopackage (implementing TAP 4). - Resilience: Support for unrecognized fields in metadata to ensure forward compatibility and data preservation.