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

Integration with Bintray is broken - KeyIdAlgCipherNotFound: no matched algorithm and key

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.0
    • Component/s: Bintray Integration
    • Labels:
      None

      Description

      Happens consistently in 6.4.0-rc branch

      Example:
      https://ci.jfrog.info/job/Bintray/job/artifactory-bintray-integration-tests/1543/artifact/buildSrc/build/classes/main/artifactory.log

      ###########################################################
      ### Artifactory successfully started (26.867 seconds)   ###
      ###########################################################
      
      2018-09-17 14:55:25,750 [http-nio-8081-exec-7] [INFO ] (o.a.c.CentralConfigServiceImpl:605) - Reloading configuration... old revision 4, new revision 5
      2018-09-17 14:55:25,760 [http-nio-8081-exec-7] [ERROR] (o.j.s.c.EncryptionWrapperBase:185) - no matched algorithm and key for AES128 32a2i
      2018-09-17 14:55:25,768 [http-nio-8081-exec-7] [ERROR] (o.a.c.CentralConfigServiceImpl:640) - Failed to reload configuration: org.jfrog.security.crypto.KeyIdAlgCipherNotFound: no matched algorithm and key forAES128 32a2i
      org.jfrog.security.crypto.exception.CryptoRuntimeException: org.jfrog.security.crypto.KeyIdAlgCipherNotFound: no matched algorithm and key forAES128 32a2i
      	at org.jfrog.security.crypto.EncryptionWrapperBase.decryptFallback(EncryptionWrapperBase.java:195)
      	at org.jfrog.security.crypto.EncryptionWrapperBase.decrypt(EncryptionWrapperBase.java:129)
      	at org.jfrog.security.crypto.EncryptionWrapperBase.decrypt(EncryptionWrapperBase.java:115)
      	at org.jfrog.security.crypto.EncryptionWrapperBase.decrypt(EncryptionWrapperBase.java:101)
      	at org.jfrog.security.crypto.EncryptionWrapperBase.decryptIfNeeded(EncryptionWrapperBase.java:92)
      	at org.jfrog.security.crypto.EncryptionWrapperBase.encryptIfNeeded(EncryptionWrapperBase.java:253)
      	at org.artifactory.common.crypto.CryptoHelper.encryptIfNeeded(CryptoHelper.java:73)
      

      In order to reproduce, just re-run the test job (specify 6.4.0-m001 as Artifactory branch parameter). All the tests will fail.

        Attachments

          Activity

            People

            • Assignee:
              galba Gal Ben Ami
              Reporter:
              alexd Alex Dvorkin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: