He may, however, now back a tougher reformist alternative in the person of Mir Hosein Mousavi, prime minister during Iran's war with Iraq in the 1980s.
Privacy campaigner Guy Hosein, from Privacy International, said police and other public authorities already had access to the information, and there was no need for new legislation.