[CentOS] Passing password to script for rpmsign of list of .rpm files

Fri May 20 17:44:16 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

I am trying to automatize signing of unsigned .rpm files. My repo has at 
least 50 x 3 packages.

But I would have to type numerous passwords for each file. I can not see 
hot to pass pass phrase to script.

rpmsign --resign {--pass=??} <filename from list> ????

Can someone advise me how to do that?