#open-wrt #key-file #sign #verify #fingerprint #ed25519-key #signature-verification

bin+lib ksign

OpenWRT’s usign utility rewritten in Rust. The crate provides both the executable and the library.

2 unstable releases

0.2.0 Sep 29, 2024
0.1.0 Sep 22, 2024

#629 in Cryptography

Download history 125/week @ 2024-09-17 213/week @ 2024-09-24 53/week @ 2024-10-01 13/week @ 2024-10-08 8/week @ 2024-10-15

71 downloads per month

MIT license

28KB
647 lines

ksign

Crates.io Version Docs dependency status

OpenWRT's usign utility rewritten in Rust. The crate provides both the executable and the library. Use it to sign files using Ed25519 keys.

Usage: ksign [OPTIONS]

Options:
  -V                  Verify signed file
  -S                  Sign speificed file
  -F                  Print key fingerprint for public key, secret key or signature
  -G                  Generate a new key pair
  -c <COMMENT>        The comment to include in the file
  -m <FILE>           Message file
  -p <FILE>           Public key file
  -P <DIRECTORY>      Public key directory
  -q                  Do not print signature verification status to stdout
  -s <FILE>           Secret key file
  -x <FILE>           Signature file
  -h                  Print help

Dependencies

~3–4.5MB
~88K SLoC