go-dmverity is a containerd sub-project that provides a complete dm-verity implementation in pure Go. It enables developers to integrate dm-verity functionality directly into their Go applications without requiring external dependencies or system tools.
Features
Hash tree creation and verification - Build and verify Merkle trees for data integrity
Multiple hash algorithms - Support for SHA1, SHA256, SHA512
Flexible formats - Superblock and legacy (Chrome OS) formats
Device activation - Pure Go device-mapper interface for Linux
Signature verification - Root hash signature support
Tools compatible - Interoperable with standard veritysetup tools
Quick Start
See the Guide for complete installation and usage instructions.
Project Details
Go-dmverity is a containerd sub-project, licensed under the Apache 2.0 license.