deploy: use actual pubkey for comparison

This commit is contained in:
Aaron Bieber 2023-11-28 14:26:08 -07:00
parent 4c195adeb0
commit 56318140c1
No known key found for this signature in database

View File

@ -127,7 +127,7 @@ fi
if [ "$1" = "update" ]; then
single="$2"
can_sign=0
for i in $(ssh-add -L | awk '{print $NF}'); do
for i in $(ssh-add -L | awk '{print $2}'); do
grep -q $i .allowed_signers && can_sign=1
done