{
    "mode": "man",
    "parameter": "py3rsa-keygen",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/py3rsa-keygen/1/json",
    "generated": "2026-06-16T10:12:09Z",
    "synopsis": "py3rsa-keygen [OPTION]... KEYSIZE",
    "sections": {
        "NAME": {
            "content": "py3rsa-keygen - generate a new RSA keypair\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "py3rsa-keygen [OPTION]... KEYSIZE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Generate a new RSA keypair of KEYSIZE bits.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "show help message and exit\n\n--pubout=PUBOUT\noutput  filename for the public key. the public key is not saved if this option is not\npresent. you can use py3rsa-priv2pub to create the public key file later.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-o --out=",
                    "content": "output filename for the private key. the key is written to stdout if  this  option  is\nnot present.\n\n--form=FORM\nkey format of the private and public keys - default PEM\n",
                    "flag": "-o"
                }
            ]
        },
        "AUTHOR": {
            "content": "py3rsa-keygen was written by Sybren A. Stuvel <sybren AT stuvel.eu>.\n\n\n\npy3rsa-keygen(1)",
            "subsections": []
        }
    },
    "summary": "py3rsa-keygen - generate a new RSA keypair",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "show help message and exit --pubout=PUBOUT 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."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "output filename for the private key. the key is written to stdout if this option is not present. --form=FORM key format of the private and public keys - default PEM"
        }
    ],
    "examples": [],
    "see_also": []
}