Fixed Server get_private_key errors