Crate zipsign_api
source ·Expand description
§zipsign-api
Sign and verify .zip
and .tar.gz
files with an ed25519 signing key.
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
filessign-tar
: sign a.tar.gz
fileverify-tar
: verify a signed.tar.gz
filesign-zip
: sign a.zip
fileverify-zip
: verify a signed.zip
filetar
: combinessign-tar
andverify-tar
zip
: combinessign-zip
andverify-zip
Re-exports§
pub use ed25519_dalek::Signature;
pub use ed25519_dalek::SignatureError;
pub use ed25519_dalek::SigningKey;
pub use ed25519_dalek::VerifyingKey;
pub use ed25519_dalek::KEYPAIR_LENGTH;
pub use ed25519_dalek::PUBLIC_KEY_LENGTH;
pub use ed25519_dalek::SIGNATURE_LENGTH;
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