9.14pm GMT

The debate on mass surveillance has finished. Here is a summary of tonight's key events:

• Tory MP David Davis accused the intelligence agencies of lying to parliament when they indicated there was an enormous gap in their capabilities and pushed for that to be filled by the communications data bill. In fact, secretly, that gap had been "filled by Tempora, filled by Prism", he said. "There's no other way around it: they lied to parliament."

• He also suggested that GCHQ's Tempora undersea-cables-tapping programme had been introduced in part to give the UK something to offer the US following the loss of its Hong Kong listening base and the downgrading of the usefulness of its Cyprus base.

• Davis said the UK government's pressure on the Guardian was an attack on probably the best example of campaigning journalism in the modern world. The government forcing the paper to destroy computer hard disks was "the modern burning of books".

• His fellow Tory MP Rory Stewart said the intelligence and security committee needed to be chaired by an opposition MP in order for it to be effective. He said UK oversight should meet US standards at a minimum.

• Alan Rusbridger, the editor of the Guardian, predicted that when the heads of MI5, MI6 and GCHQ address parliament on Thursday they will claim that terrorism suspects have "gone dark" since the Guardian's revelations of UK and US surveillance. But people have to push back. National security cannot always be the trump card, Rusbridger said.

• The Guardian editor suggested that if the UK government succeeded in shutting down the paper's reporting, the next whistleblower might feel he or she has to go the WikiLeaks route of publishing documents unredacted.

• Asked if there was anything in the Snowden saga he should have handled differently, Rusbridger said that the paper had not taken one of its stories to the D-Notice committee. This was because of a realistic fear of an injunction against publishing, he said, but it had allowed figures such as Julian Smith MP to criticise the Guardian as irresponsible.

• He said that papers such as the Independent, the Times and the Daily Mail, which had criticised the Guardian for publishing, were actually saying: "Please don't send us any secrets, because we can't be trusted to have them."

• Wikipedia's Jimmy Wales called for a "first amendment in the UK" akin to the US protection of the freedom of the press.

• Peter Barron of Google said his company never acted in concert with the NSA and never had a "back door" allowing the NSA access to its data.