pyrsa-sign --version (return code: 2)
Usage: pyrsa-sign [options] private_key hash_method
pyrsa-sign: error: no such option: --version
pyrsa-sign --help (return code: 0)
Usage: pyrsa-sign [options] private_key hash_method
Signs a file, outputs the signature. Choose the hash method from MD5, SHA-1,
SHA-256, SHA-384, SHA-512
Options:
-h, --help show this help message and exit
-i INPUT, --input=INPUT
Name of the file to sign. Reads from stdin if not
specified.
-o OUTPUT, --output=OUTPUT
Name of the file to write the signature to. Written to
stdout if this option is not present.
--keyform=KEYFORM Key format of the private key - default PEM