virgil key2pub.1 - VirgilSecurity/virgil-cli GitHub Wiki
key2pub -- get a public key from the Private Key Service
virgil key2pub [-i <file>] [-o <file>] [-p <arg>] [-V] [--] [--version] [-h]
The utility allows you to extract a public key from the private key.
-i <file>, --in <file>
Private key. If omitted, stdin is used.
-o <file>, --out <file>
Public key. If omitted, stdout is used.
-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 key2pub -i private.key -o public.key
virgil key2pub -i private.key -o public.key -p STRONGPASS
virgil(1) virgil-config(1) virgil-keygen(1)