If we as a nation want those activities, then we should make them legal and clearly defined. If not, then stopping those activities from taking place hardly sounds like "treason".
We did, in 1998, in the Public Interest Disclosure Act https://en.wikipedia.org/wiki/Public_Interest_Disclosure_Act...
And we made things a bit better for NHS Whistleblowers with the Freedom to Speak Up Review and and NHS Improvement (was Monitor) Freedom to Speak Up policy which is compulsory for NHS Trusts
https://improvement.nhs.uk/resources/freedom-to-speak-up-whi...
https://www.gov.uk/government/publications/sir-robert-franci...
I don't think we should make these things legal, personally, but I think they should either be legal so whistleblowing doesn't make sense or illegal and whistleblowing is encouraged.
Before RIPA we had a bunch of different public bodies using surveillance with little control over what they were doing. After RIPA they can still use surveillance if they follow the correct procedures, and some of the abuses were reigned in.
The police especially have strong powers to use surveillance.
http://www.lawcom.gov.uk/project/protection-of-official-data...
If you leak data that damages the capability of the armed forces to carry out their tasks the maximum sentence is 2 years.
Compare that to:
http://www.lawcom.gov.uk/wp-content/uploads/2017/02/cp230_pr...
> By way of contrast, sections 57 – 59 of the Investigatory Powers Act 2016, when commenced, will make it an offence punishable by up to five years’ imprisonment for a Crown servant to disclose without authorisation anything to do with the existence or implementation of particular warrants granted pursuant to the Investigatory Powers Act, including the content of intercepted material and related communications data.
So, while it might be right that official secrets is made more restrictive, but with an increased max sentence, that is a bit worrying because other law tends to anchor to OSA sentences, and we don't want longer sentences all over other data privacy laws.
Anyone who works in a classified/borderline field signs multiple documents that skirt around this, limit rights, and especially allow some form of nonjudicial prosecution.
As for that being right or wrong on either side, that is a long and frustrating argument.
Must acts that are committed now be judged by the laws that exist now? Yes.
Anyway, there already are whistleblower protection laws in many places.
Why do we have to consider what essentially is treason to a nation to be ok?
You have to go to the electorate and tell them "you see, this guy just leaked these documents which put our nation's security at risk. Shall we just set him free?". I'm sure that'll go well... you have Snowden/Assange to see how it went.