Should Fedora rpms be signed?

Matias Féliciano feliciano.matias at free.fr
Tue Oct 26 19:48:34 UTC 2004


Le mardi 26 octobre 2004 à 14:28 -0400, Elliot Lee a écrit :
> On Tue, 26 Oct 2004, nodata wrote:
> 
> > Packages for Fedora Core test (rawhide) aren't always signed.
> > 
> > Why?
> 
> If you can come up with a script to sign .rpm's without typing in a
> password, I'll be happy to look at it.
> 

From rom fedora-devel (Richard June) :
#!/usr/bin/expect -f
# wrapper to make rpm --sign be non-interactive passwd is 1st arg, file to sign is 2nd
#send_user «$argv0 [lrange $argv 0 2]\n" 
#set files [lrange $argv 1 $argc ]

set password [lindex $argv 0]
set files [lrange $argv 1 1 ]
spawn rpm --addsign $filespect "Enter pass phrase:"
send -- "$password\r"
expect eof


Hope this help.

> -- Elliot "It ain't possible with the current rpm" Lee
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20041026/70937798/attachment.sig>


More information about the fedora-test-list mailing list