Thanks all for your post it's helped me invalidate folklore about surpressing
password prompting and allow me to automate via the helpful expect script that
was posted.
I'm down to the fact I cannot get rpm signature checking to work with subkeys.
I posted to rpm list
http://article.gmane.org/gmane.linux.redhat.rpm.general/11244