chenzehaoo/moon_guard/lib/trust does not have a README file
fn TrustStore::add_key(self : TrustStore, key_id : String, public_key : String, owner : String, trust_level : TrustLevel) -> Boolpub(all) struct TrustedKey {
key_id : String
public_key : String
owner : String
trust_level : TrustLevel
added_at : String
}fn normalize_public_key(public_key : String) -> String?fn public_key_from_pem(pem : String) -> String?fn public_key_to_pem(public_key : String) -> StringMoonGuard is a pure-MoonBit supply chain security toolchain providing Ed25519 package signing and verification, SHA-256 manifest integrity checks, JSON+PEM trusted key management, Levenshtein and homoglyph typosquat detection, CVSS-style cumulative risk scores, JSON security reports, and a `moon_guard` CLI with subcommands for keygen, sign, verify, trust, typosquat, manifest, hash, audit, and version. Includes a runnable end-to-end audit example at `examples/basic_audit`. MoonGuard 是用纯 MoonBit 实现的 MoonBit 包供应链安全工具链,提供 Ed25519 签名、SHA-256 清单、JSON+PEM 可信密钥管理、Levenshtein 与同形(homoglyph)双模式 typosquat 检测、CVSS 风格风险评分、JSON 安全报告与 9 子命令 CLI。