An user from the UbuntuForums (blackgr) has made a script that checks your current distribution version (so it works from Hardy to Jaunty and probably Karmic) and them it checks your system for all launchpad sources and will download and install the GPG keys for you.
You can download it from here.
Full story »