gpg/gak,gau
All checks were successful
/ job (push) Successful in 3m56s

This commit is contained in:
Marc Beninca 2025-07-06 15:32:43 +02:00
parent 1d6a7bab9b
commit 513d09f797
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 10 additions and 12 deletions

View file

@ -1,12 +0,0 @@
# turn gpg agent off
gak() { a__gpg_agent_kill "${@}"; }
a__gpg_agent_kill() {
gpgconf \
--kill "gpg-agent"
}
# bind gpg agent to current tty
gau() { a__gpg_agent_update "${@}"; }
a__gpg_agent_update() {
rwx_gpg_agent_update
}

View file

@ -1,4 +1,14 @@
# functions to handle gpg
# turn gpg agent off
#= gak
rwx_gpg_agent_kill() {
gpgconf \
--kill "gpg-agent"
}
# bind gpg agent to current tty
#= gau
rwx_gpg_agent_update() {
gpg-connect-agent \
updatestartuptty \