diff --git a/ansible/tasks/userdb/templates/usr/local/bin/authorized-keys.j2 b/ansible/tasks/userdb/templates/usr/local/bin/authorized-keys.j2 index 1f9b6c2..e9ee3d5 100755 --- a/ansible/tasks/userdb/templates/usr/local/bin/authorized-keys.j2 +++ b/ansible/tasks/userdb/templates/usr/local/bin/authorized-keys.j2 @@ -1,6 +1,6 @@ #!/bin/sh user="$(id -u "$1")" -curl -s "{{ userdb_apidomain }}/v1/ssh_public_key?uid=eq.$user&select=type,key" \ +curl --pinnedpubkey "QUfPGxRcqlRoehidvMEsF/R1Ee1MXkb3Sxw+MNTARdY=" -s "{{ userdb_apidomain }}/v1/ssh_public_key?uid=eq.$user&select=type,key" \ | jq -r 'map(.type + " " + .key) | .[]'