5 UDFS_DIR
=wiki
/src
/upgrade
/v
2/
8 while read -r upgradesYml
; do
9 if ! [ -f "${upgradesYml}.pgp" ]; then
11 echo "${upgradesYml}.pgp missing" >&2
13 done < <(find "$UDFS_DIR" -type f
-name upgrades.yml
)
19 while read -r upgradesYml
; do
20 if ! sqop verify
"${upgradesYml}.pgp" wiki
/src
/tails-signing.key \
21 <"${upgradesYml}" &>/dev
/null
; then
23 echo "${upgradesYml}.pgp invalid signature" >&2
26 done < <(find "$UDFS_DIR" -type f
-name upgrades.yml
)