{
    "mode": "man",
    "parameter": "PINENTRY-CURSES",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/PINENTRY-CURSES/1/json",
    "generated": "2026-06-16T06:23:13Z",
    "synopsis": "pinentry-curses [OPTION...]",
    "sections": {
        "NAME": {
            "content": "pinentry-curses - PIN or pass-phrase entry dialog for GnuPG\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pinentry-curses [OPTION...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "pinentry-curses  is  a  program  that  allows for secure entry of PINs or pass phrases.  That\nmeans it tries to take care that the entered information is not swapped to disk or  temporar-\nily  stored  anywhere.   This  functionality is particularly useful for entering pass phrases\nwhen using encryption software such as GnuPG or e-mail clients using the same.   It  uses  an\nopen protocol and is therefore not tied to particular software.\n\npinentry-curses  implements  a PIN entry dialog using the curses tool kit, meaning that it is\nuseful for users working in text mode without the X Window System.  There are  other  flavors\nthat  implement  PIN  entry dialogs that use an X tool kit.  If you have installed any of the\nlatter programs then this program is not necessary because the X flavors  automatically  fall\nback to text mode if X is not active.\n\npinentry-curses  is typically used internally by gpg-agent.  Users don't normally have a rea-\nson to call it directly.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--version",
                    "content": "Print the program version and licensing information.\n\n--help Print a usage message summarizing the most useful command-line options.\n",
                    "long": "--version"
                },
                {
                    "name": "--debug, -d",
                    "content": "Turn on some debugging.  Mostly useful for the maintainers.  Note that this may reveal\nsensitive information like the entered pass phrase.\n",
                    "flag": "-d",
                    "long": "--debug"
                },
                {
                    "name": "--enhanced, -e",
                    "content": "Ask for timeouts and insurance, too.  Note that this is currently not fully supported.\n",
                    "flag": "-e",
                    "long": "--enhanced"
                },
                {
                    "name": "--no-global-grab, -g",
                    "content": "Grab  the keyboard only when the window is focused.  Use this option if you are debug-\nging software using pinentry-curses; otherwise you may not be able to to access your X\nsession  anymore (unless you have other means to connect to the machine to kill pinen-\ntry-curses).\n\n--parent-wid N\nUse window ID N as the parent window for positioning the window.  Note, that  this  is\nnot fully supported by all flavors of pinentry.\n\n--display STRING, --ttyname STRING, --ttytype STRING, --lc-type STRING, --lc-messages STRING\nThese  options are used to pass localization information to pinentry-curses.  They are\nrequired because pinentry-curses is usually called by some  background  process  which\ndoes  not have any information on the locale and terminal to use.  Assuan protocol op-\ntions are an alternative way to pass these information.\n",
                    "flag": "-g",
                    "long": "--no-global-grab"
                }
            ]
        },
        "SEE ALSO": {
            "content": "pinentry-gtk-2(1),  pinentry-qt(1),  pinentry-fltk(1),  pinentry-gnome3(1),  pinentry-tty(1),\ngpg(1), gpg-agent(1)\n\nThe  full documentation for pinentry-curses is maintained as a Texinfo manual.  If the pinen-\ntry-doc package is installed, the command\n\ninfo pinentry\n\nshould give you access to the complete manual.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This manual page was written by Peter Eisentraut for the Debian project.\n\n27 Jan 2005                         PINENTRY-CURSES(1)",
            "subsections": []
        }
    },
    "summary": "pinentry-curses - PIN or pass-phrase entry dialog for GnuPG",
    "flags": [
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Print the program version and licensing information. --help Print a usage message summarizing the most useful command-line options."
        },
        {
            "flag": "-d",
            "long": "--debug",
            "arg": null,
            "description": "Turn on some debugging. Mostly useful for the maintainers. Note that this may reveal sensitive information like the entered pass phrase."
        },
        {
            "flag": "-e",
            "long": "--enhanced",
            "arg": null,
            "description": "Ask for timeouts and insurance, too. Note that this is currently not fully supported."
        },
        {
            "flag": "-g",
            "long": "--no-global-grab",
            "arg": null,
            "description": "Grab the keyboard only when the window is focused. Use this option if you are debug- ging software using pinentry-curses; otherwise you may not be able to to access your X session anymore (unless you have other means to connect to the machine to kill pinen- try-curses). --parent-wid N Use window ID N as the parent window for positioning the window. Note, that this is not fully supported by all flavors of pinentry. --display STRING, --ttyname STRING, --ttytype STRING, --lc-type STRING, --lc-messages STRING These options are used to pass localization information to pinentry-curses. They are required because pinentry-curses is usually called by some background process which does not have any information on the locale and terminal to use. Assuan protocol op- tions are an alternative way to pass these information."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pinentry-gtk-2",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pinentry-gtk-2/1/json"
        },
        {
            "name": "pinentry-qt",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pinentry-qt/1/json"
        },
        {
            "name": "pinentry-fltk",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pinentry-fltk/1/json"
        },
        {
            "name": "pinentry-gnome3",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pinentry-gnome3/1/json"
        },
        {
            "name": "pinentry-tty",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pinentry-tty/1/json"
        },
        {
            "name": "gpg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gpg/1/json"
        },
        {
            "name": "gpg-agent",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gpg-agent/1/json"
        }
    ]
}