Sample Header Ad - 728x90

SUSE Linux Signature verification failed

3 votes
2 answers
5104 views
When I code, build and sign .rpm file for SUSE Linux, it is signed successfully as follows: rpm --checksig -v xxx.rpm Header V4 RSA/SHA256 Signature, key ID 7936b039: OK Header SHA1 digest: OK Header SHA256 digest: OK Payload SHA256 digest: OK V4 RSA/SHA256 Signature, key ID 7936b039: OK MD5 digest: OK But when I copy this file to a **SUSE Linux Enterprise 12 SP3** PC and recheck, the result is as follows: rpm --checksig -v xxx.rpm Header V4 RSA/SHA256 Signature, key ID 7936b039: NOKEY Header SHA1 digest: OK (62415d048bc9e59e70037e94e41e54e1087a93af) V4 RSA/SHA256 Signature, key ID 7936b039: NOKEY MD5 digest: OK (bde2174905b9e9b05953b148385ed99a) And then while installing, I get an error: xxx.rpm: Header V4 RSA/SHA256 Signature, key ID 7936b039: NOKEY V4 RSA/SHA256 Signature, key ID 7936b039: NOKEY xxx-15.4.2.1-0.x86_64 (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available] Abort, retry, ignore? [a/r/i] (a): I researched some solutions on the Internet and I tried to re-import public key file (I created when signing RPM file) before installing: sudo rpm --import RPM-GPG-KEY-faleman But it's still failed. What is the reason of this issue? How can I sign my .RPM file to be able to install successfully on SUSE Linux without getting error messages?
Asked by CH4 (31 rep)
Oct 4, 2018, 04:07 AM
Last activity: Oct 24, 2023, 03:02 PM