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.

Re-exports

Modules

  • Common functions to sign a file
  • Common functions to verify a signed file

Enums

  • A collection of all error this library can return

Constants

Functions

  • Calculate the hash of an input file

Type Aliases

  • Integer type to tell the number of signatures in a signed file, stored in little endian