If the government does it, it can’t be a crime:

Legislation introduced in the Senate this week would broadly criminalize leaks of classified information.  The bill (S. 355) sponsored by Sen. Benjamin Cardin (D-MD) would make it a felony for a government employee or contractor who has authorized access to classified information to disclose such information to an unauthorized person in violation of his or her nondisclosure agreement.

Nixon would’ve been happy about this. Just declare your illegal activities classified and you’re safe. Who wants to get thrown in Federal prison for doing the right thing and snitching? Even if you’re right and you literally save the world from an illegal war you’ll be legally culpable.