On Friday 20 May 2011 21:11:58 Ljubomir Ljubojevic wrote: > John Hodrien wrote: > > On Fri, 20 May 2011, Ljubomir Ljubojevic wrote: > >> 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? > > > > http://www.karan.org/blog/index.php/2011/05/06/sign-multiple-rpms-with-on > > e-command > > Thanks. I am bit behind visiting sites. I have found expect script for > this but this is much more elegant. > > Many thanks to KB also for solution. > You should also check this: http://blogs.23.nu/till/2008/12/rpm-addsign-with-gpg-agent/ -- Best regards, Marian Marinov -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20110521/2d920015/attachment-0005.sig>