Linux command
gpg-tui 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Launch gpg-tui
gpg-tui
Specify keyring to use
gpg-tui --homedir [~/.gnupg]
Use specific style
gpg-tui --style [colored]
Export output format
gpg-tui --output-format [minimal]
说明
gpg-tui is a terminal user interface for managing GnuPG keys. Written in Rust, it provides an interactive interface for listing, viewing, importing, exporting, signing, editing, and deleting keys without memorizing complex gpg command-line options. The tool reads from the standard GnuPG keyring and supports multiple visual styles for display customization.
参数
- --homedir _DIR_
- Use _DIR_ as the GnuPG home directory (overrides GNUPGHOME).
- -c, --color _COLOR_
- Set the accent color (e.g. _gray_, _red_, _green_, _blue_, or a hex value).
- -s, --style _STYLE_
- Set the table border style: _plain_, _bold_, _double_, or _light_.
- -d, --detail-level _LEVEL_
- Initial detail level for keys: _minimum_, _standard_, or _full_.
- -r, --no-tty
- Run without TTY interaction (useful when piping).
- -x, --select _SELECTION_
- Pre-select rows on startup (key IDs or fingerprints).
- --splash
- Show the splash screen at startup.
- -h, --help
- Show help information.
- -V, --version
- Show version.
FAQ
What is the gpg-tui command used for?
gpg-tui is a terminal user interface for managing GnuPG keys. Written in Rust, it provides an interactive interface for listing, viewing, importing, exporting, signing, editing, and deleting keys without memorizing complex gpg command-line options. The tool reads from the standard GnuPG keyring and supports multiple visual styles for display customization.
How do I run a basic gpg-tui example?
Run `gpg-tui` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --homedir _DIR_ do in gpg-tui?
Use _DIR_ as the GnuPG home directory (overrides GNUPGHOME).