U.N. High Commissioner for Human Rights Navi Pillay warns that a new, anti-gay law will institutionalize discrimination and could encourage harassment and violence.

Receive the latest national-international updates in your inbox

Uganda's President H.E Yoweri Museveni speaks after he signed the Anti-Homosexuality Bill on Feb. 24, 2014, in Entebbe. The bill that was first tabled back in 2009 will see offenders when convicted serve a life imprisonment.

Updated at 11:44 AM EDT on Tuesday, Feb 25, 2014

A Ugandan newspaper published a list Tuesday of what it called the country's "200 top" homosexuals, outing some Ugandans who previously had not identified themselves as gay one day after the president enacted a harsh anti-gay law.

U.S. Secretary of State John Kerry said Monday's signing of the bill by President Yoweri Museveni marked "a tragic day for Uganda and for all who care about the cause of human rights" and warned that Washington could cut aid to the government of the East African nation.

"Now that this law has been enacted, we are beginning an internal review of our relationship with the Government of Uganda to ensure that all dimensions of our engagement, including assistance programs, uphold our anti-discrimination policies and principles and reflect our values," Kerry said in a statement.

The Red Pepper tabloid published the names — and some pictures — of alleged homosexuals in a front-page story under the headline: "EXPOSED!"

The list included prominent Ugandan gay activists such as Pepe Julian Onziema, who has repeatedly warned that Uganda's new anti-gay law could spark violence against homosexuals. A popular Ugandan hip-hop star as well as a Catholic priest are also on the list.

Few Ugandans identify themselves publicly as gay, and the tabloid's publication of alleged homosexuals recalled a similar list published in 2011 by a now-defunct tabloid that called for the execution of gays. A Ugandan judge later condemned the outing of homosexuals in a country where gays face severe discrimination, saying it amounted to an invasion of privacy. A prominent Ugandan gay activist, David Kato, was killed after that list came out, and activists said at the time that they believed he was targeted because of his work promoting gay rights in Uganda.

"The media witch hunt is back," tweeted Jacqueline Kasha, a well-known Ugandan lesbian activist who is among those listed in the Red Pepper story.

Uganda's new-anti-gay law punishes gay sex with up to life in jail. The bill originally proposed the death penalty for "aggravated homosexuality," defined as repeated gay sex between consenting adults and acts involving a minor, a disabled person or where one partner is infected with HIV. The law also calls for first-time offenders to be sentenced to 14 years in jail.

In signing the bill, Museveni said the measure is needed because the West is promoting homosexuality in Africa, rejecting international criticism of the law as interference in Uganda's internal affairs. Museveni accused "arrogant and careless Western groups" of trying to recruit Ugandan children into homosexuality, but he did not name these purported groups.

Ugandan police spokesman Patrick Onyango said on Tuesday that no homosexuals have been arrested since Museveni signed the bill but that at least two had been taken into custody since lawmakers passed the bill last December.

Onziema, the gay activist, said he had counted up to six arrests and said that more than a dozen Ugandan homosexuals had fled the country since December over safety concerns.

Homosexuality has long been criminalized in Uganda under a colonial-era law that outlawed sex acts "against the order of nature."

Some Ugandan lawyers and activists have said they will challenge the law in court as unconstitutional and impossible to implement.

Nicholas Opiyo, a Ugandan lawyer who runs a rights watchdog group called Chapter Four, predicted Tuesday that the new law would make life worse for Ugandan gays.

"The enactment of the anti-homosexuality bill has only emboldened the ... population in their rejection of anybody perceived to be gay or even friendly to gays," he said. "These things are going to continue. They are going to get more frequent."

The Ugandan law — which came just over a month after Nigeria passed a similar measure against gays — has been condemned around the world, although it is widely popular among Ugandans.

U.N. High Commissioner for Human Rights Navi Pillay warned that the law would institutionalize discrimination and could encourage harassment and violence against gays.