[Rpm-maint] [rpm-software-management/rpm] Force gpg to use SHA256 when generating signatures. (PR #2003)

nwalfield notifications at github.com
Mon Apr 11 14:09:38 UTC 2022


Some versions of gpg appear to default to using SHA512.  This breaks
several tests' assumption that gpg generates a SHA256 hash.  Force gpg
to use SHA256 by passing `--digest-algo sha256` to rpmsign.

Fixes #2002.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2003

-- Commit Summary --

  * Force gpg to use SHA256 when generating signatures.

-- File Changes --

    M tests/rpmsigdig.at (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2003.patch
https://github.com/rpm-software-management/rpm/pull/2003.diff

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

Message ID: <rpm-software-management/rpm/pull/2003 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220411/cbdc5c87/attachment.html>


More information about the Rpm-maint mailing list