Making things like that public helps terrorists to hide their communication in ways that cannot be decrypted or broken into. That is clearly a threat to all civilians. Giving journalists access to documents and not publishing details is a good balance IMO. The government is still held accountable, it's just not held directly accountable by you. That's the way a democracy works.
By that logic TLS, PGP, etc. should only be available to governments because it can help terrorists to hide their communication in ways that cannot be decrypted or broken into. And let's outlaw pressure cookers, because terrorists have used them as crude bombs so clearly they're a threat to all civilians. Heck, we should all stop wearing clothes and bags because terrorists can use them to conceal weapons.
Governments are to serve the people and we cannot blindly trust them with power regardless of how they're formed. As long as people continue to subscribe to scaremongering for terrorism, the terrorists have already won anyway. The surveillance states of late have powers blown way out of proportion. They ought to save lives in face of threats, not save lives for retrieval by automated data systems. I have no problems with the former, but I do very much have problems with the latter.