• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ec2-plugin
    • None
    • ec2-plugin 1.27
      Jenkins 1.609(custom package built from the Fedora 22 1.606 package)
      Fedora 21 x86_64

      The issue is it errors on use of the "Test Connection" button in "Configure System". It tries to load "org/bouncycastle/asn1/DERObject" for the "EC2 Key Pair's Private Key".

      Fedora includes BouncyCastle 1.50, which drops the org.bouncycastle.openssl classes required by ec2-plugin 1.27. ec2-plugins includes the older version of BouncyCastle, 1.40, but the system version overrides it.

      So I set maven to include plugin libraries and classes in the Classpath version during compile. Along with explicitly masking org.bouncycastle. I created a pull request on the ec2-plugin github repo, PR #145. An alternative fix would be to rewrite the ec2-plugin to use the newer version of BouncyCastle, or rewrite that part to use a library other than BouncyCastle.

            francisu Francis Upton
            ngrennan Nathan Grennan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: