diff options
author | Thomas Wolf <twolf@apache.org> | 2025-03-16 13:34:36 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2025-03-20 10:12:31 +0100 |
commit | 011f66df27c582cca245b7afa23984093b13d56f (patch) | |
tree | 5c19406d27020f50c8a0c5b00ef10f3e707e983b | |
parent | 776ec5f719ccf4f3e5856b998e55463b6bf94961 (diff) | |
download | jgit-011f66df27c582cca245b7afa23984093b13d56f.tar.gz jgit-011f66df27c582cca245b7afa23984093b13d56f.zip |
Bump minimum dependency for Bouncy Castle to 1.80.0
Add an extra dependency in o.e.j.ssh.apache to ensure BC 1.80.0 gets
pulled in if the bundle is installed.
Bug: jgit-148
Change-Id: I13c3365440bedb73251760bcf77907081e8ba1cf
-rw-r--r-- | lib/BUILD | 5 | ||||
-rw-r--r-- | org.eclipse.jgit.gpg.bc.test/META-INF/MANIFEST.MF | 12 | ||||
-rw-r--r-- | org.eclipse.jgit.gpg.bc/META-INF/MANIFEST.MF | 34 | ||||
-rw-r--r-- | org.eclipse.jgit.ssh.apache/BUILD | 4 | ||||
-rw-r--r-- | org.eclipse.jgit.ssh.apache/META-INF/MANIFEST.MF | 3 |
5 files changed, 34 insertions, 24 deletions
@@ -198,6 +198,8 @@ java_library( visibility = [ "//org.eclipse.jgit.gpg.bc:__pkg__", "//org.eclipse.jgit.gpg.bc.test:__pkg__", + "//org.eclipse.jgit.ssh.apache:__pkg__", + "//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.test:__pkg__", ], exports = ["@bcpg//jar"], @@ -208,6 +210,7 @@ java_library( visibility = [ "//org.eclipse.jgit.gpg.bc:__pkg__", "//org.eclipse.jgit.gpg.bc.test:__pkg__", + "//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.ssh.jsch.test:__pkg__", "//org.eclipse.jgit.test:__pkg__", @@ -220,6 +223,7 @@ java_library( visibility = [ "//org.eclipse.jgit.gpg.bc:__pkg__", "//org.eclipse.jgit.gpg.bc.test:__pkg__", + "//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.ssh.jsch.test:__pkg__", "//org.eclipse.jgit.test:__pkg__", @@ -231,6 +235,7 @@ java_library( name = "bcpkix", visibility = [ "//org.eclipse.jgit.gpg.bc:__pkg__", + "//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.ssh.jsch.test:__pkg__", "//org.eclipse.jgit.test:__pkg__", diff --git a/org.eclipse.jgit.gpg.bc.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.gpg.bc.test/META-INF/MANIFEST.MF index 287d75f92a..f7bfc69db5 100644 --- a/org.eclipse.jgit.gpg.bc.test/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.gpg.bc.test/META-INF/MANIFEST.MF @@ -8,12 +8,12 @@ Bundle-Vendor: %Bundle-Vendor Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: org.hamcrest.core;bundle-version="[1.3.0,2.0.0)" -Import-Package: org.bouncycastle.asn1.cryptlib;version="[1.79.0,2.0.0)", - org.bouncycastle.jce.provider;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp.operator;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp.operator.jcajce;version="[1.79.0,2.0.0)", - org.bouncycastle.util.encoders;version="[1.79.0,2.0.0)", +Import-Package: org.bouncycastle.asn1.cryptlib;version="[1.80.0,2.0.0)", + org.bouncycastle.jce.provider;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp.operator;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp.operator.jcajce;version="[1.80.0,2.0.0)", + org.bouncycastle.util.encoders;version="[1.80.0,2.0.0)", org.eclipse.jgit.gpg.bc.internal;version="[7.3.0,7.4.0)", org.eclipse.jgit.gpg.bc.internal.keys;version="[7.3.0,7.4.0)", org.eclipse.jgit.util.sha1;version="[7.3.0,7.4.0)", diff --git a/org.eclipse.jgit.gpg.bc/META-INF/MANIFEST.MF b/org.eclipse.jgit.gpg.bc/META-INF/MANIFEST.MF index f35e5e5a3f..7e946bd1e5 100644 --- a/org.eclipse.jgit.gpg.bc/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.gpg.bc/META-INF/MANIFEST.MF @@ -8,23 +8,23 @@ Bundle-Vendor: %Bundle-Vendor Bundle-Localization: OSGI-INF/l10n/gpg_bc Bundle-Version: 7.3.0.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-17 -Import-Package: org.bouncycastle.asn1;version="[1.79.0,2.0.0)", - org.bouncycastle.asn1.x9;version="[1.79.0,2.0.0)", - org.bouncycastle.bcpg;version="[1.79.0,2.0.0)", - org.bouncycastle.bcpg.sig;version="[1.79.0,2.0.0)", - org.bouncycastle.crypto.ec;version="[1.79.0,2.0.0)", - org.bouncycastle.gpg;version="[1.79.0,2.0.0)", - org.bouncycastle.gpg.keybox;version="[1.79.0,2.0.0)", - org.bouncycastle.gpg.keybox.jcajce;version="[1.79.0,2.0.0)", - org.bouncycastle.jcajce.interfaces;version="[1.79.0,2.0.0)", - org.bouncycastle.jcajce.util;version="[1.79.0,2.0.0)", - org.bouncycastle.math.ec;version="[1.79.0,2.0.0)", - org.bouncycastle.math.field;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp.jcajce;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp.operator;version="[1.79.0,2.0.0)", - org.bouncycastle.openpgp.operator.jcajce;version="[1.79.0,2.0.0)", - org.bouncycastle.util.encoders;version="[1.79.0,2.0.0)", +Import-Package: org.bouncycastle.asn1;version="[1.80.0,2.0.0)", + org.bouncycastle.asn1.x9;version="[1.80.0,2.0.0)", + org.bouncycastle.bcpg;version="[1.80.0,2.0.0)", + org.bouncycastle.bcpg.sig;version="[1.80.0,2.0.0)", + org.bouncycastle.crypto.ec;version="[1.80.0,2.0.0)", + org.bouncycastle.gpg;version="[1.80.0,2.0.0)", + org.bouncycastle.gpg.keybox;version="[1.80.0,2.0.0)", + org.bouncycastle.gpg.keybox.jcajce;version="[1.80.0,2.0.0)", + org.bouncycastle.jcajce.interfaces;version="[1.80.0,2.0.0)", + org.bouncycastle.jcajce.util;version="[1.80.0,2.0.0)", + org.bouncycastle.math.ec;version="[1.80.0,2.0.0)", + org.bouncycastle.math.field;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp.jcajce;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp.operator;version="[1.80.0,2.0.0)", + org.bouncycastle.openpgp.operator.jcajce;version="[1.80.0,2.0.0)", + org.bouncycastle.util.encoders;version="[1.80.0,2.0.0)", org.slf4j;version="[1.7.0,3.0.0)" Export-Package: org.eclipse.jgit.gpg.bc.internal;version="7.3.0";x-friends:="org.eclipse.jgit.gpg.bc.test", org.eclipse.jgit.gpg.bc.internal.keys;version="7.3.0";x-friends:="org.eclipse.jgit.gpg.bc.test" diff --git a/org.eclipse.jgit.ssh.apache/BUILD b/org.eclipse.jgit.ssh.apache/BUILD index 83709c35cb..c32635f7c5 100644 --- a/org.eclipse.jgit.ssh.apache/BUILD +++ b/org.eclipse.jgit.ssh.apache/BUILD @@ -12,6 +12,10 @@ java_library( resource_strip_prefix = "org.eclipse.jgit.ssh.apache/resources", resources = RESOURCES, deps = [ + "//lib:bcpg", + "//lib:bcpkix", + "//lib:bcprov", + "//lib:bcutil", "//lib:slf4j-api", "//lib:sshd-osgi", "//lib:sshd-sftp", diff --git a/org.eclipse.jgit.ssh.apache/META-INF/MANIFEST.MF b/org.eclipse.jgit.ssh.apache/META-INF/MANIFEST.MF index f38ea723b2..5025b52cab 100644 --- a/org.eclipse.jgit.ssh.apache/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.ssh.apache/META-INF/MANIFEST.MF @@ -37,7 +37,8 @@ Export-Package: org.eclipse.jgit.internal.signing.ssh;version="7.3.0";x-friends: org.apache.sshd.client.session, org.apache.sshd.client.keyverifier", org.eclipse.jgit.transport.sshd.agent;version="7.3.0" -Import-Package: org.apache.sshd.agent;version="[2.15.0,2.16.0)", +Import-Package: org.bouncycastle.jce.provider;version="[1.80.0,2.0.0)", + org.apache.sshd.agent;version="[2.15.0,2.16.0)", org.apache.sshd.client;version="[2.15.0,2.16.0)", org.apache.sshd.client.auth;version="[2.15.0,2.16.0)", org.apache.sshd.client.auth.keyboard;version="[2.15.0,2.16.0)", |