Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-25867

RPM Repository ignore Default GPG Key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.19.1
    • Component/s: Artifactory, RPM
    • Labels:
      None
    • Severity:
      Critical

      Description

       Artifactory 7.18.5

       

      Step to reproduce:
      1. Run Artifactory v7.18.5

      2. Add default GPG Signing Key (upload public, private, verify and save)

      3. Create NEW Local RPM Repository

      4. Deploy RPM package from the UI:

      Result: The repo is not signed. (repomd.xml.asc and repomd.xml.key are missing)

      I suspect that there is a missing configuration for new RPM repositories. In the Config Descriptor, I can find the following conf for old RPM reops (that existed before the recent upgrade): 
      <primaryKeyPairRef>default-gpg-key</primaryKeyPairRef>
      but for repos created after the upgrade, this conf does not exist.

      Workaround:

      Either:

      1. Create the Repo via REST API instead of UI

      2. OR if you created via the UI, edit Config Descriptor of this Local Repo add
      <primaryKeyPairRef>default-gpg-key</primaryKeyPairRef>
       right after the line :
      <forceNugetAuthentication>false</forceNugetAuthentication>

      Can't reproduce this issue on 7.15.4. I follow the same steps (with same keys) and the RPM repo signed as expected:

        Attachments

          Activity

            People

            Assignee:
            omriz Omri Ziv
            Reporter:
            yardeng Yarden Gitta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-25867 -
                SYNCHRONIZED
                • Last Sync Date: