-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Import good keys:
locate chaotic-trusted
for i in $(locate chaotic-trusted) ; do
sha256sum "$i"
done
for i in $(cut -d: -f1 $(locate chaotic-trusted | head -1)) ; do
gpg --keyserver keyserver.ubuntu.com --recv-key "$i"
doneRemove bad keys:
locate chaotic-revoked
for i in $(locate chaotic-revoked) ; do
sha256sum "$i"
done
for i in $(cut -d: -f1 $(locate chaotic-revoked | head -1)) ; do
gpg --delete-keys --fingerprint "$i"
doneFind packages with missing signatures:
cd /srv/http/repos/chaotic-aur/x86_64
for i in *.pkg.tar.{zst,gz,xz} ; do
[ -e "$i" ] && if [ -e "$i.sig" ] ; then
:
else
echo "Missing: $i" | sed -E 's&-([^-]+-[0-9\.]+)-(x86_64|any)\.pkg\.tar\..*$& \1&'
fi
doneVerify signed packages:
cd /srv/http/repos/chaotic-aur/x86_64
for i in *.sig ; do
if gpg --verify "$i" 2> /dev/null ; then
:
else
echo "Failed: $i" | sed -E 's&-([^-]+-[0-9\.]+)-(x86_64|any)\.pkg\.tar\..*$& \1&'
fi
doneReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels