{
    "mode": "man",
    "parameter": "py3rsa-sign",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/py3rsa-sign/1/json",
    "generated": "2026-05-30T06:08:35Z",
    "synopsis": "py3rsa-sign [OPTION]... PRIVATEKEY HASHMETHOD",
    "sections": {
        "NAME": {
            "content": "py3rsa-sign - sign a file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "py3rsa-sign [OPTION]... PRIVATEKEY HASHMETHOD\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Sign  a file, output the signature. Choose the hash method from MD5, SHA-1, SHA-224, SHA-256,\nSHA-384, SHA-512\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "show help message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-i --input=",
                    "content": "name of the file to sign. read from stdin if not specified.\n",
                    "flag": "-i"
                },
                {
                    "name": "-i --output=",
                    "content": "name of the file to write the signature to. write to stdout  if  this  option  is  not\npresent.\n\n--keyform=KEYFORM\nkey format of the private key - default PEM\n",
                    "flag": "-i"
                }
            ]
        },
        "AUTHOR": {
            "content": "py3rsa-sign was written by Sybren A. Stuvel <sybren AT stuvel.eu>.\n\n\n\npy3rsa-sign(1)",
            "subsections": []
        }
    },
    "summary": "py3rsa-sign - sign a file",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "show help message and exit"
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "name of the file to sign. read from stdin if not specified."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "name of the file to write the signature to. write to stdout if this option is not present. --keyform=KEYFORM key format of the private key - default PEM"
        }
    ],
    "examples": [],
    "see_also": []
}