2024-11-19 08:22:24 +00:00
|
|
|
# turn gpg agent off
|
2024-11-19 13:42:11 +00:00
|
|
|
gak() { a__gpg_agent_kill "${@}"; }
|
|
|
|
a__gpg_agent_kill() {
|
2024-11-19 08:22:24 +00:00
|
|
|
gpgconf \
|
|
|
|
--kill "gpg-agent"
|
|
|
|
}
|
|
|
|
|
|
|
|
# bind gpg agent to current tty
|
2024-11-19 13:42:11 +00:00
|
|
|
gau() { a__gpg_agent_update "${@}"; }
|
|
|
|
a__gpg_agent_update() {
|
2024-11-19 08:22:24 +00:00
|
|
|
gpg-connect-agent \
|
|
|
|
updatestartuptty \
|
|
|
|
/bye
|
|
|
|
}
|