Comey, a long-standing foe of the US president, has been indicted by a grand jury for allegedly lying to US congress during testimony in 2020.