virgil sign.1 - VirgilSecurity/virgil-cli GitHub Wiki
sign -- sign data
virgil sign [-i <file>] [-o <file>] -k <file> [-p <arg>] [-V] [--] [--version]
[-h]
The utility allows you to sign data with a provided user's private key
-i <file>, --in <file>
Data to be signed. If omitted, stdin is used.
-o <file>, --out <file>
Digest sign. If omitted, stdout is used.
-k <file>, --key <file>
(required) Signer's private key.
-p <arg>, --private-key-password <arg>
Private Key Password.
-V, --VERBOSE
Shows detailed information.
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
virgil sign -i plain.txt -o plain.txt.sign -k alice/private.key
virgil sign -i plain.txt -o plain.txt.sign -k alice/private.key -p STRONGPASS
virgil(1) virgil-config(1) virgil-verify(1)