Fix fingerprint cache overwriting valid keys

This also fixes an authentication error in some cases.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Check for different fingerprints

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix keyring code

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Typo

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Some debug logs

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>