Tough question, actually, with two sides.
The one I think this poll is focused on is whether or not he had some civic duty to share the technology with the government. To that I would say no. There's nothing in our law that requires inventors to share their technology with the government. And the belief that such technology wouldn't be in others' hands for a while took care of any felt obligation on Tony's part to share it for the common good.
Notice that once the technology is found with someone else, Tony pretty much lets Rhodey take the War Machine suit to the government without objection or reprisal. I think it becomes evident that Tony then feels its his patriotic duty to share the technology.
The other side is one of regulation.
Should the government allow Tony to be Iron Man, a private civilian with firepower so advanced that a tiny projectile can blow up a tank? To that side I'd say it's a matter of responsibility. Like pretty much all regulations, they're reactive when someone abuses freedoms to the detriment of other people. So long as Stark acts responsibly with the technology, the government should leave him be. And clearly they seem to give him quite a bit of leeway, as well, since they clearly didn't hold him accountable for damage done in New York, or flying into no-fly zones, etc.