Multi-provider digital signature library for Rust
Clone or download
Latest commit 8208dc9 Nov 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Upgrade to subtle-encoding v0.3.0 Nov 27, 2018
img img/signatory-rustacean: Redo feather placement in logo Jul 30, 2018
providers v0.10.0 Oct 16, 2018
src v0.10.1 Nov 27, 2018
.gitignore Empty skeleton Sep 21, 2018 v0.10.1 Nov 27, 2018
Cargo.toml v0.10.1 Nov 27, 2018
LICENSE-APACHE Add logo and short description Feb 2, 2018
LICENSE-MIT Add logo and short description Feb 2, 2018 Use non-breaking hyphens Oct 8, 2018


crate Docs Build Status MIT/Apache2 licensed

A pure Rust multi-provider digital signature library with support for elliptic curve digital signature algorithms, namely ECDSA (described in FIPS 186‑4) and Ed25519 (described in RFC 8032).

Signatory provides a thread-safe and object-safe API and implements providers for many popular Rust crates, including ed25519‑dalek, secp256k1‑rs, ring, and sodiumoxide.



Signatory exposes a thread-and-object-safe API for creating digital signatures which allows several signature providers to be compiled-in and available with specific providers selected at runtime.

Provider Support

Signatory includes the following providers, which are each packaged into their own respective crates:

ECDSA providers

Provider Crate Backend Crate Type P‑256 P‑384 secp256k1
signatory‑ring ring Soft
signatory‑secp256k1 secp256k1‑rs Soft
signatory‑yubihsm yubihsm‑rs Hard

Ed25519 providers

Provider Crate Backend Crate Type Signing Verification
signatory‑dalek ed25519‑dalek Soft 51 k/s 18 k/s
signatory‑ring ring Soft 47 k/s 16 k/s
signatory‑sodiumoxide sodiumoxide Soft 38 k/s 15 k/s
signatory‑yubihsm yubihsm‑rs Hard ~8/s N/A

Above benchmarks performed using cargo bench on an Intel Xeon E3-1225 v5 @ 3.30GHz.


Signatory is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at your option.