Function signed::verify_package
zaun_community_protocol::signed::verify_package · Function
pub fn verify_package(parsed: ParsedPackage, allow_unsigned: bool) -> Result<VerifiedPackage, PackageError>Verifies the signature under the header’s publisher key (min_suite 1) before anything
else, then both hashes and the manifest’s app_id and version. An all-zero signature is
accepted only with allow_unsigned.
Errors
Section titled “Errors”PackageError naming the first failed check.