last year snowden leaked details of numerous top secret nsa surveillance programs to media damaging u s ties with key allies such as germany and triggering a worldwide debate about whether the agency had trampled over privacy rights in the name of national security