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

gluebuddy: 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 212f778d
No related branches found
No related tags found
1 merge request!920gluebuddy/bugbuddy: Move from sq to rsop
...@@ -40,16 +40,7 @@ do ...@@ -40,16 +40,7 @@ do
curl --silent --show-error --fail --location --remote-name "$i" curl --silent --show-error --fail --location --remote-name "$i"
done done
for uid in "${TRUSTED_UIDs[@]}"; do rsop verify "${NAME}.sig" <(pacman-key --export "${TRUSTED_KEYS[@]}") < "${NAME}"
sq network wkd fetch "${uid}"
done
for fp in "${TRUSTED_KEYS[@]}"; do
sq pki link add --all "${fp}"
done
sq verify --signer-cert "${TRUSTED_KEYS[0]}" --detached ${NAME}.sig ${NAME} || \
sq verify --signer-cert "${TRUSTED_KEYS[1]}" --detached ${NAME}.sig ${NAME}
mv ${NAME} /usr/local/bin/${NAME} mv ${NAME} /usr/local/bin/${NAME}
chmod +x /usr/local/bin/${NAME} chmod +x /usr/local/bin/${NAME}
......
- name: Install sequoia - name: Install rsop
pacman: name=sequoia-sq state=present pacman: name=rsop state=present
- name: Install systemd service/timer - name: Install systemd service/timer
copy: src={{ item }} dest="/etc/systemd/system/{{ item }}" owner=root group=root mode=0644 copy: src={{ item }} dest="/etc/systemd/system/{{ item }}" 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