Re: he shouldn't have sworn the oath in the first place
So you're saying that people with any ethical standards shouldn't take jobs where they might be asked to keep secrets?
You've also misunderstood the term "public interest". It's not what the public is interested in. It's what's in the best interests of the public.