sigh

Crates.iosigh
lib.rssigh
version1.0.3
sourcesrc
created_at2022-12-14 14:49:25.268998
updated_at2024-11-20 16:50:33.526406
descriptionHTTP signature generation and verification for ActivityPub, using OpenSSL
homepage
repositoryhttps://github.com/astro/sigh
max_upload_size
id736639
size26,471
Astro (astro)

documentation

https://docs.rs/sigh

README

sigh!

This crate supplies everything for dealing with HTTP signatures in ActivityPub:

  • Keypair generation
  • Signing
  • Verification

See the documentation for usage examples.

The OpenSSL crate is used for cryptographic algorithms. The http crate is used as a common denominator interface for many HTTP client and server implementations.

Beware that you must also take care of Digest: headers, using eg. http-digest-headers.

Supported algorithms

Algorithm Implemented Used by...
hs2019 (Ed25519-SHA512)
rsa-sha1
rsa-sha256 Mastodon
hmac-sha256
ecdsa-sha256
Commit count: 29

cargo fmt