Crate zipsign_api

source ·
Expand description

zipsign-api

Sign and verify .zip and .tar.gz files with an ed25519 signing key.

GitHub Workflow Status Crates.io License: License: Apache-2.0

This library contains the brains of zipsign. You can use it in your projects to verify and sign .zip and .tar.gz files without running a separate application, e.g. to verify a self-update.

Features

  • default: sign and verify .tar.gz and .zip files
  • sign-tar: sign a .tar.gz file
  • verify-tar: verify a signed .tar.gz file
  • sign-zip: sign a .zip file
  • verify-zip: verify a signed .zip file
  • tar: combines sign-tar and verify-tar
  • zip: combines sign-zip and verify-zip

Re-exports

Modules

  • Functions to sign a file
  • Functions to remove signatures from a file
  • Functions to verify a signed file

Structs

  • The unsigned hash of an input file

Enums

  • A collection of all errors this library can return