There's a subtle alignment/padding problem with headers, fixed in rpm-5.4.15 (which I believe is the version of rpm you are using). hth 73 de Jeff Sent from my iPad > On Sep 22, 2015, at 4:00 AM, Divya Vyas <edivya.vyas@xxxxxxxxx> wrote: > > Hi, > > root@host:~# gpg --list-keys > gpg: /home/root/.gnupg/trustdb.gpg: trustdb created > > root@host:~# rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' > package gpg-pubkey is not installed > > I dont have the keys installed on my host. Why rpm command is saying > > root@host:~# rpm -K -v pth-2.0.7-r3.1.x86_64.rpm > pth-2.0.7-r3.1.x86_64.rpm: > Header V4 RSA/SHA1 signature: OK, key ID 8b5cccb3 > Header SHA1 digest: OK (c326a31810f026daac89aa4fd7928c3b574671ea) > MD5 digest: BAD Expected(bdaefdc3ddfd1c4ab4fabdd48c117fb800) != (bdaefdc3ddfd1c4ab4fabdd48c117fb8) > > I am signing my rpms ( rpm --addsign) on target with key id 8b5cccb3 and copying to host. How md5 appended to extended zeros. > > @target > > rpm -K -v pth-2.0.7-r3.1.x86_64.rpm > pth-2.0.7-r3.1.x86_64.rpm: > Header V4 RSA/SHA1 Signature, key ID 8b5cccb3: OK > Header SHA1 digest: OK ( > c326a31810f026daac89aa4fd7928c3b574671ea) > V4 RSA/SHA1 Signature, key ID 8b5cccb3: OK > MD5 digest: OK (bdaefdc3ddfd1c4ab4fabdd48c117fb8) > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxxxxx > http://lists.rpm.org/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list