cross-authenticode

Crates.iocross-authenticode
lib.rscross-authenticode
version1.0.0
created_at2025-02-28 11:04:46.38715+00
updated_at2025-04-04 09:33:31.847381+00
descriptionCross-platform implementation of Authenticode signature verification
homepage
repositoryhttps://github.com/secana/cross-authenticode
max_upload_size
id1572659
size2,406,828
Stefan Hausotte (secana)

documentation

https://docs.rs/cross-authenticode

README

cross-authenticode

Cross platform library to check authenticode signatures and certificate hashes of PE files. It's focus is on a seamless cross platform experience, so that you can use the same code on Windows, Linux and macOS.

Features

  • Extract all certificates from a PE file

  • Compute the SHA-1 and SHA-256 (or other) hash (thumbprint/fingerprint) of a certificate

  • Verify the signature of a PE file by computing the hash of the file and comparing it to the hash in the signature

Documentation

The documentation can be found docs.rs/cross-authenticode

Related Projects

There are a few other projects on crates.io that deal with authenticode signatures. Here is a list of them and why I decided to write my own:

Commit count: 0

cargo fmt