add a function to get the fingerprint from a key_id
add missing import.