The GPG (GnuPG) tool is widely used. It is described in detail in the previous article: getting started! For example, in recent work, to create a Debian software warehouse, you need to use GPG to sign the Deb package. To add thousands of packages, you need to enter thousands of passwords, which is obviously not feasible, GPG-agent is required now!
The number of GPG-Agent configurations on the Internet is very small. Here is a more reliable introduction for reference:
Https://wiki.archlinux.org/index.php/GnuPG#gpg-agent
Main Configuration:
1. Start the script (. profile or ~ /. Bash_profile) Configuration:
Eval $ (GPG-agent -- Daemon )&
2 .~ /. GnuPG/gpg-agent.conf Configuration:
Default-Cache-TTL 3600 # password validity period pinentry-Program/usr/bin/pinentry-gtk-2 # Password Input window Program
In ubuntu, gnome-keyring-common is used by default to take over the password (including SSH and GPG by default. You can view related files in the/etc/xdg/autostart directory ), if you use the GPG-agent to take over the GPG passwordGnome-keyring-commonThe GPG taken over in this article is blocked:
Https://wiki.archlinux.org/index.php/GnuPG#gpg-agent
In fact, it is very simple, just move the/etc/xdg/autostart/gnome-keyring-gpg.desktop file or link to/dev/null.