server/keymgmt.c: Check algorithms on public keys too.