1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/tools/update-server/qtox-updater-sign
2017-01-02 18:22:25 +00:00
..
src chore(tools): replace unsafe signing C++ code with Rust 2017-01-02 18:22:25 +00:00
Cargo.lock chore(tools): replace unsafe signing C++ code with Rust 2017-01-02 18:22:25 +00:00
Cargo.toml chore(tools): replace unsafe signing C++ code with Rust 2017-01-02 18:22:25 +00:00
README.md chore(tools): replace unsafe signing C++ code with Rust 2017-01-02 18:22:25 +00:00

qtox-updater-sign

Simple program for signing releases.

Requires a file named qtox-updater-skey in the working directory that contains the secret key.

To sign a release, either supply the name of the file to be signed as an argument, or pipe data via stdin.

./qtox-updater-sign sign-this-binary > signature_file
# or
./qtox-updater-sign < sign-this-binary > signature_file

Compiling

Requires libsodium and Rust.

To build a debug version: cargo build

To build a release version: cargo build --release

This will produce qtox-updater-sign binary in target/debug or target/release directory respectively.