Use of sha256 as digest algorithm #2037
-
Hi, I am trying to use sha256 algo for digest for my RPM packages. currently, it is building with default sha1 and md5 digests. Here is what I tried so far
but none of the above solutions worked for me and after rebuilding I still see my package is building with sha1 and md5 as digest algo. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Those macros control the per file digest algorithm that is used for verifying unpacked files and rpm -V. |
Beta Was this translation helpful? Give feedback.
Those macros control the per file digest algorithm that is used for verifying unpacked files and rpm -V.
The per package digests are not configurable, RPMTAG_SHA256HEADER and RPMTAG_PAYLOADDIGEST (which is SHA256) are only present in packages built with rpm >= 4.14.