Gpg: Add gpg_refresh.

This commit is contained in:
Dmitry Voronin 2024-10-22 00:26:52 +03:00
parent 39dcd30b9e
commit 198d2b5217
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -87,5 +87,10 @@
gpg --locate-keys "''${email}" \
|| gpg --locate-keys --auto-key-locate hkps://keys.openpgp.org "''${email}"
}
# Update keys.
function gpg_refresh() {
gpg --refresh-keys
}
'';
}