[Rpm-maint] [rpm-software-management/rpm] Modify header digest of existing RPM packages (Discussion #2131)

Yash-Khatri notifications at github.com
Tue Jul 26 07:59:51 UTC 2022


Hi,

Is there any way to explicitly modify the existing header digest algo of the existing RPM packages?

Upon running the command `rpm --checksig --verbose <package>.rpm` it shows below output for my package.
please note that for header digest **SHA1** is used.
``` 
<package>.rpm:
    Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
    Header SHA1 digest: OK (ce2010e132f77921d42ecaf2e2125655fa184668)
    V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
    MD5 digest: OK (8e1dfad3d8db689fd563d583bae2d956)
```


My requirement is to change this header digest to sha256 or similar.

**p.s.** I am building my packages on rhel6 and rhel7 systems.

Any help or suggestions are welcomed.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2131
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2131 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220726/0ac2dc90/attachment.html>


More information about the Rpm-maint mailing list