get_key_data initial implementation