Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note for developers: Renew GPG keys for successful build #123

Open
gnought opened this issue May 6, 2020 · 0 comments
Open

Note for developers: Renew GPG keys for successful build #123

gnought opened this issue May 6, 2020 · 0 comments

Comments

@gnought
Copy link

gnought commented May 6, 2020

The GPG key in https://github.com/rpm-software-management/yum/blob/master/test/gpg/key.pub expires, and the build will fail in make check stage.

# gpg key.pub
pub  2048R/D5865417 2017-07-26 Joe Doe <[email protected]>
sub  2048R/2DB632D4 2017-07-26 [expires: 2019-07-26]

As we known, the YUM is deprecated. Here is the fix:

  1. Go to test/gpg directory
  2. Generate a new set of GPG key to replace the key.pub, make sure it is in ascii
  3. Detach sign repomd.xml and generate a new signature repomd.xml.asc, make sure it is in ascii
  4. Replace the generated fingerprint and keyid in

    yum/test/pubringtests.py

    Lines 15 to 16 in f8616a2

    KEYID = '38BB1B5ED5865417'
    FPR = '417A0E6E55566A755BE7D68C38BB1B5ED5865417'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant