Check a GPG key for expiration
Go to file
2022-03-06 21:40:03 +01:00
test First commit 2022-03-06 14:52:00 +01:00
.gitignore First commit 2022-03-06 14:52:00 +01:00
check_gpg_key_expiration.sh First commit 2022-03-06 14:52:00 +01:00
README.md Added README.md 2022-03-06 21:40:03 +01:00

check_gpg_key_expiration.sh

A check script for icinga2 to check for the expiration of GPG keys (local or online).

Check gpg expiration date. Arguments:
--url URL: Where to find the GPG key. Path to a local file or an URL to download from.
--warn DAYS: Warning threshold (integer in days)
--crit DAYS: Critical threshold (integer in days)