Compare Key objects instead
Refactor a bit more, and add a authorized keys file db from a mapping