[Rpm-maint] next question: can rpm fail (instead of warn) on a bad signature?

Shandy Brown sbrown at vmware.com
Fri Dec 15 09:01:53 UTC 2006


So I've created an rpm with a "bad" signature (the target box doesn't
have the public key).  But when I install it, it succeeds.  I was
expecting a failure.

rpm -Uvh /yum-2.0.7-3vmw.noarch.rpm
warning: /yum-2.0.7-3vmw.noarch.rpm: V3 DSA signature: NOKEY, key ID
e979a084
Preparing...                ###########################################
[100%]

Is there a way to tell rpm to fail if the signature doesn't check out?

sjbrown



More information about the Rpm-maint mailing list