badboy/signify-rs


Create cryptographic signatures for files and verify them.

https://crates.io/crates/signify

License: MIT

Language: Rust


Signify - Ed25519 signature tool

crates.io Build Status

Create cryptographic signatures for files and verify them. This is based on signify, the OpenBSD tool to sign and verify signatures on files. It is based on the Ed25519 public-key signature system by Bernstein et al.

signify-rs verifies signatures generated by BSD signify and signs data in a format that BSD signify can verify.
You can read more about the ideas and concepts behind signify in Securing OpenBSD From Us To You.

Installation

cargo install signify

Usage

Create a key pair:

signify -G -p pubkey -s seckey

Sign a file using the secret key:

signify -S -s seckey -m README.md

Verify the signature:

signify -V -p pubkey -m README.md

Testing

Currently, there are no unit tests. 😞
But we ensure that a full cycle of generating a keypair, then signing & verifying works. To do so:

./tests/full-cycle.sh

For correctness, we compare interoperability with the OpenBSD signify:

./tests/compare.sh

Limitations

  • No embedded signatures
  • No password-protection for secret keys

Both things will be implemented eventually. I also accept PRs.

License

MIT. See LICENSE.

Project Statistics

Sourcerank 5
Repository Size 64.5 KB
Stars 19
Forks 0
Watchers 2
Open issues 3
Dependencies 51
Contributors 3
Tags 4
Created
Last updated
Last pushed

Top Contributors See all

Jan-Erik Rediger not-a-robot Brian Smith

Packages Referencing this Repo

signify
Create cryptographic signatures for files and verify them
Latest release 0.4.0 - Updated - 19 stars

Recent Tags See all

v0.4.0 December 12, 2017
v0.3.0 September 27, 2016
v0.2.0 June 26, 2016
v0.1.0 June 14, 2016

Something wrong with this page? Make a suggestion

Last synced: 2017-12-12 13:58:01 UTC

Login to resync this repository