Skip to content
Snippets Groups Projects
Verified Commit 94bc834f authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

bugbuddy: Move from sq to rsop


The sequoia cli once again changed their interface, therefore port this
to the (somewhat guaranteed to be) stable sops interface.

Suggested-by: default avatarDavid Runge <dvzrv@archlinux.org>
Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent 7be3afb1
No related branches found
No related tags found
1 merge request!920gluebuddy/bugbuddy: Move from sq to rsop
Pipeline #119401 passed
......@@ -61,25 +61,7 @@ for link in "${LINKS[@]}"; do
curl --progress-bar --show-error --fail --location --remote-name "${link}"
done
for uid in "${TRUSTED_UIDs[@]}"; do
sq network wkd fetch "${uid}"
done
for fp in "${TRUSTED_KEYS[@]}"; do
sq --force pki link add --all "${fp}"
done
verified=0
for key in "${TRUSTED_KEYS[@]}"; do
if sq verify --signer-cert "${key}" --detached ${NAME}.sig ${NAME}; then
verified=1
break
fi
done
if (( ! verified )); then
echo "failed to verify downloaded artifacts" >&2
exit 1
fi
rsop verify "${NAME}.sig" <(pacman-key --export "${TRUSTED_KEYS[@]}") < "${NAME}"
chmod +x ${NAME}
mv --verbose ${NAME} "${TARGET_DIR}/${NAME}"
......
- name: Install sequoia
pacman: name=sequoia-sq state=present
- name: Install rsop
pacman: name=rsop state=present
- name: Install systemd service
copy: src=bugbuddy.service dest="/etc/systemd/system/bugbuddy.service" owner=root group=root mode=0644
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment