Crates.io | gldf-sign |
lib.rs | gldf-sign |
version | 0.1.0 |
source | src |
created_at | 2023-09-26 19:11:55.705439 |
updated_at | 2023-09-26 19:11:55.705439 |
description | A command-line tool to sign GLDF files and verify GLDF signatures, based on minisign. |
homepage | https://github.com/holg/gldf-sign |
repository | https://github.com/holg/gldf-sign |
max_upload_size | |
id | 983971 |
size | 184,153 |
GLDF Sign is a Rust-based tool for signing and verifying GLDF (General Lighting
Data Format) files. Leveraging the cryptographic strength of minisign
, GLDF
Sign provides an intuitive and secure method to ensure the integrity and
authenticity of GLDF files.
meta-information.xml
inside the GLDF container, eliminating the need to
manage separate public key files.minisign
for
robust signing.cargo install gldf-sign
Generate a new key pair:
gldf-sign generate
Options:
-p, --public-key-path <PUBLIC_KEY_PATH>
: Specify the path to the new public
key.-s, --secret-key-path <SECRET_KEY_PATH>
: Specify the path to the new secret
key.-f, --force
: Force generate a new key pair.-c, --comment <COMMENT>
: Add a one-line untrusted comment.-W, --passwordless
: Don't use a password for the secret key.Sign a file using a given private key:
gldf-sign sign -s <SECRET_KEY_FILE> -p <PUBLIC_KEY_FILE> <FILE>
Sign a GLDF file and embed the public key into its meta-information:
gldf-sign signgldf -s <SECRET_KEY_FILE> -p <PUBLIC_KEY_FILE> <GLDFFILE>
Verify a signed file:
gldf-sign verify <FILE>
Verify a signed GLDF file:
gldf-sign verifygldf <GLDFFILE>
Contributions are always appreciated! For more details on how to contribute, please refer to CONTRIBUTING.md.
GLDF Sign is licensed under the GPL-3.0-or-later. For more information, see the LICENSE file.