DOKK / manpages / debian 12 / python3-rsa / py3rsa-keygen.1.en
py3rsa-keygen(1) General Commands Manual py3rsa-keygen(1)

py3rsa-keygen - generate a new RSA keypair

py3rsa-keygen [OPTION]... KEYSIZE

Generate a new RSA keypair of KEYSIZE bits.

show help message and exit
output filename for the public key. the public key is not saved if this option is not present. you can use py3rsa-priv2pub to create the public key file later.
output filename for the private key. the key is written to stdout if this option is not present.
key format of the private and public keys - default PEM

py3rsa-keygen was written by Sybren A. Stuvel <sybren AT stuvel.eu>.