diff options
author | 2019-05-03 20:33:53 -0700 | |
---|---|---|
committer | 2019-05-03 20:33:53 -0700 | |
commit | c4451a64cb3c474c5ecc9609c6534924fb063003 (patch) | |
tree | 837f3afbe24ffcad6c820fc02b91fc877182f779 /keyrings-recv-keys.gentoo.org.bash | |
parent | keyrings: prepare to flip to new scripts (diff) | |
download | qa-scripts-c4451a64cb3c474c5ecc9609c6534924fb063003.tar.gz qa-scripts-c4451a64cb3c474c5ecc9609c6534924fb063003.tar.bz2 qa-scripts-c4451a64cb3c474c5ecc9609c6534924fb063003.zip |
keyrings: shellcheck validation
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'keyrings-recv-keys.gentoo.org.bash')
-rwxr-xr-x | keyrings-recv-keys.gentoo.org.bash | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/keyrings-recv-keys.gentoo.org.bash b/keyrings-recv-keys.gentoo.org.bash new file mode 100755 index 0000000..ee8feeb --- /dev/null +++ b/keyrings-recv-keys.gentoo.org.bash @@ -0,0 +1,23 @@ +#!/bin/bash +# Import key updates from Keyservers: keys.gentoo.org +# +# TODO: +# - Turn off export in this script + +BASEDIR="$(dirname "$0")" +# shellcheck source=./keyrings.inc.bash +source "${BASEDIR}"/keyrings.inc.bash + +set -e +export_ldap_data_to_env + +export KEYSERVERS=( "${KS_GENTOO}" ) +export KEYSERVER_TIMEOUT=5m + +grab_keys "${SYSTEM_KEYS[@]}" +grab_keys "${COMMITTING_DEVS[@]}" +grab_keys "${NONCOMMITTING_DEVS[@]}" +# -- not all are on keyservers +# -- and are unlikely to turn up now +# -- this needs to fetch from some archive instead +grab_keys "${RETIRED_DEVS[@]}" |