# phpman > man > py3rsa-priv2pub(1)

[py3rsa-priv2pub(1)](https://www.chedong.com/phpMan.php/man/py3rsa-priv2pub/1/markdown)                     General Commands Manual                    [py3rsa-priv2pub(1)](https://www.chedong.com/phpMan.php/man/py3rsa-priv2pub/1/markdown)



## NAME
       **py3rsa-priv2pub** - read a private key and output the corresponding public key

## SYNOPSIS
       **py3rsa-priv2pub** [_OPTION_]...

## DESCRIPTION
       Read  a  private key and output the corresponding public key. Both private and public key use
       the format described in PKCS#1 v1.5

## OPTIONS
### -h --help
              show help message and exit

### -i --input=
              input filename. Read from stdin if not specified

### -i --output=
              output filename. write to stdout of not specified

       **--inform=**_INFORM_
              key format of input - default PEM

       **--outform=**_OUTFORM_
              key format of output - default PEM

## AUTHOR
       **py3rsa-priv2pub** was written by Sybren A. Stuvel <sybren AT stuvel.eu>.



                                                                                  [py3rsa-priv2pub(1)](https://www.chedong.com/phpMan.php/man/py3rsa-priv2pub/1/markdown)
