Expand description
Minisign signature verification and SHA-256 checksums for release artifacts.
Functions§
- decode_
public_ 🔒key - Decodes a base64-encoded minisign public key.
- sha256_
hex 🔒 - Computes the SHA-256 digest of
dataand returns it as a lowercase hex string. - verify_
signature 🔒 - Verifies a minisign signature over
dataand checks that every entry inexpected_trusted_commentsappears in the signature’s trusted comment (tab-separated tokens). This prevents cross-extension substitution and version replay attacks.