Update help message

This commit is contained in:
southerntofu 2022-02-20 20:16:24 +01:00
parent 3016cc3ebc
commit e02cea8762
1 changed files with 2 additions and 1 deletions

View File

@ -81,10 +81,11 @@ impl Kind {
}
fn help() {
println!("whck KIND IDENTIFIER CLAIM BODY");
println!("whck KIND IDENTIFIER CLAIM (+ BODY as STDIN)");
println!(" KIND: sig/token");
println!(" IDENTIFIER: the unique identifier for the stored secret in $XDG_CONFIG_DIR/whck/ folder");
println!(" CLAIM: the claimed sig/token to verify");
println!(" BODY: the webhook payload, passed via STDIN");
println!("");
println!("If you're checking a signature, don't forget to pass the body as STDIN");
println!("NOTE: If you're protecting secrets from other users (chmod -R 700 $XDG_CONFIG_HOME/whck),");