France have passed a Big Brother style surveillance law in response to the Charlie Hebdo terror attacks in Paris in January.
The new law will allow intelligence agencies to tap phones and emails of citizens without the need to seek permission from a judge.
The controversial new law has sparked protests from civil rights groups who claims the big brother powers infringe on the freedoms and privacy rights of citizens.
Protesters for civil liberties groups launched a last-ditch campaign against the bill under the banner “24 hours before 1984” in reference to George Orwell’s dystopian novel about life under an all-knowing dictatorship. Groups including Amnesty International warned of “extremely large and intrusive powers” without judicial controls.
But despite opposition from green and hard-left MPs, the bill won the overwhelming backing of the majority of MPs from the Socialist and rightwing UMP parties, which said it was necessary to tackle the terrorist risk. The bill was passed in the national assembly by 438 votes to 86, with a handful of no votes from Socialist MPs.
The new law will allow authorities to spy on the digital and mobile phone communications of anyone linked to a “terrorist” inquiry without prior authorisation from a judge. It forces internet service providers and phone companies to give up data upon request.
Intelligence services will have the right to place cameras and recording devices in private homes and install so-called keylogger devices that record every key stroke on a targeted computer in real time. The authorities will be able to keep recordings for a month and metadata for five years.
One of the most contentious elements of the bill is that it allows intelligence services to vacuum up metadata, which would then be subject to analysis for potentially suspicious behaviour. The metadata would be anonymous, but intelligence agents could follow up with a request to an independent panel for deeper surveillance that could yield the identity of users.
Another controversial element is the so-called “black boxes” – or complex algorithms – that internet providers will be forced to install to flag up a succession of suspect behavioural patterns online, such as keywords used, sites visited and contacts made
Surveillance agencies will also be able to bug suspects’ homes with microphones and cameras and add keyloggers to their computers to track every keystroke.
The French prime minister, Manuel Valls, defended the bill as “necessary and proportionate”, saying that to compare it to the mass surveillance Patriot Act introduced in the United States after the 9/11 attacks was a lie.
He said that the previous French law on wiretapping dated back to 1991, “when there were no mobile phones or internet,” and the new bill was crucial in the face of extremist threats.
Pierre-Olivier Sur, chairman of the Paris bar lawyers’ association, warned this week that the bill was “a serious threat to public liberties” and would put French people under “general surveillance”.
France is monitoring an estimated 1,200 Islamists and about 200 people who have returned from fighting with militant groups in Syria and Iraq. It has earmarked about €425m (£300m) to recruit thousands of extra police, spies and investigators to beef up surveillance and boost national security and intelligence.
The interior minister, Bernard Cazeneuve, told Libération last month: “The measures proposed are not aimed at installing generalised surveillance. On the contrary, it aims to target people who we need to monitor to protect the French people.”
The president, François Hollande, has taken the rare step of promising to refer the law to the constitutional council, the country’s highest authority on the constitution, to ensure its principles are lawful.
The law will now be examined by the senate.