The man whose state surveillance revelations rocked the world speaks about his new life and concerns for the future .

The world’s most famous whistleblower, Edward Snowden, says he has detected a softening in public hostility towards him in the US over his disclosure of top-secret documents that revealed the extent of the global surveillance programmes run by American and British spy agencies.

In an exclusive two-hour interview in Moscow to mark the publication of his memoirs, Permanent Record, Snowden said dire warnings that his disclosures would cause harm had not come to pass, and even former critics now conceded “we live in a better, freer and safer world” because of his revelations.

In the book, Snowden describes in detail for the first time his background, and what led him to leak details of the secret programmes being run by the US National Security Agency (NSA) and the UK’s secret communication headquarters, GCHQ.

He describes the 18 years since the September 11 attacks as “a litany of American destruction by way of American self-destruction, with the promulgation of secret policies, secret laws, secret courts and secret wars”.

Snowden also said: “The greatest danger still lies ahead, with the refinement of artificial intelligence capabilities, such as facial and pattern recognition.

“An AI-equipped surveillance camera would be not a mere recording device, but could be made into something closer to an automated police officer.”

He is concerned the US and other governments, aided by the big internet companies, are moving towards creating a permanent record of everyone on earth, recording the whole of their daily lives.

While Snowden feels justified in what he did six years ago, he told the Guardian he was reconciled to being in Russia for years to come and was planning for his future on that basis.

He reveals he secretly married his partner, Lindsay Mills, two years ago in a Russian courthouse.

While he would rather be in the US or somewhere like Germany, he is relaxed in Russia, now able to lead a more or less normal daily life. He is less fearful than when he first arrived in 2013, when he felt lonely, isolated and paranoid that he could be targeted in the streets by US agents seeking retribution.

“I was very much a person the most powerful government in the world wanted to go away. They did not care whether I went away to prison. They did not care whether I went away into the ground. They just wanted me gone,” he said.

He has dispensed with the scarves, hats and coats he once used as disguises and now moves freely around the city, riding the metro, visiting art galleries or the ballet, joining friends in cafes and restaurants.

Eritrea Today