I’ve written a simple utility to simplify code-signing – you can get it and read about it here:
www.macosxautomation.com/applescript/apps/readmyscripts.html
If you haven’t read about it, code-signing is related to the Gatekeeper feature in Mountain Lion.
The utility is just a standard AppleScript droplet, code-signed of course. The code is visible, so you can see what it does and modify to suit your own requirements.