Re: Should Fedora rpms be signed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]