4 Commits

Author SHA1 Message Date
f2260eff73 Merge branch 'main' of https://gitea.egothor.org/Egothor/ZeroEcho
All checks were successful
Release / release (push) Successful in 41s
2026-06-03 21:14:33 +02:00
4a5e7b9c11 fix(vuln): bouncycastle security issue 2026-06-03 21:13:20 +02:00
14a7a940de fix(vuln): bouncycastle security issue 2026-06-03 21:02:35 +02:00
eca392007c chore: BSD-3 license 2026-06-03 18:45:31 +02:00
4 changed files with 25 additions and 28 deletions

41
LICENSE
View File

@@ -1,31 +1,28 @@
Copyright (C) 2024, Leo Galambos Copyright (C) 2026, Leo Galambos
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without
are permitted provided that the following conditions are met: modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this 1. Redistributions of source code must retain the above copyright notice,
list of conditions and the following disclaimer. this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, 2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution. and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must 3. Neither the name of the copyright holder nor the names of its contributors
display the following acknowledgement: may be used to endorse or promote products derived from this software
This product includes software developed by the Egothor project. without specific prior written permission.
4. Neither the name of the copyright holder nor the names of its contributors THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
may be used to endorse or promote products derived from this software without AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
specific prior written permission. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON POSSIBILITY OF SUCH DAMAGE.
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -32,7 +32,7 @@ dependencies {
// Define dependency versions as constraints // Define dependency versions as constraints
implementation 'org.apache.commons:commons-text:1.15.0' implementation 'org.apache.commons:commons-text:1.15.0'
implementation 'commons-cli:commons-cli:1.11.0' implementation 'commons-cli:commons-cli:1.11.0'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.83' implementation 'org.bouncycastle:bcpkix-jdk18on:1.84'
implementation 'org.egothor:conflux:[1.0,2.0)' implementation 'org.egothor:conflux:[1.0,2.0)'
implementation 'org.apache.commons:commons-imaging:1.0.0-alpha6' implementation 'org.apache.commons:commons-imaging:1.0.0-alpha6'
} }

View File

@@ -44,12 +44,12 @@ import java.util.Objects;
import javax.security.auth.DestroyFailedException; import javax.security.auth.DestroyFailedException;
import org.bouncycastle.crypto.SecretWithEncapsulation; import org.bouncycastle.crypto.SecretWithEncapsulation;
import org.bouncycastle.pqc.crypto.bike.BIKEKEMExtractor;
import org.bouncycastle.pqc.crypto.bike.BIKEKEMGenerator;
import org.bouncycastle.pqc.crypto.bike.BIKEPrivateKeyParameters;
import org.bouncycastle.pqc.crypto.bike.BIKEPublicKeyParameters;
import org.bouncycastle.pqc.crypto.util.PrivateKeyFactory; import org.bouncycastle.pqc.crypto.util.PrivateKeyFactory;
import org.bouncycastle.pqc.crypto.util.PublicKeyFactory; import org.bouncycastle.pqc.crypto.util.PublicKeyFactory;
import org.bouncycastle.pqc.legacy.bike.BIKEKEMExtractor;
import org.bouncycastle.pqc.legacy.bike.BIKEKEMGenerator;
import org.bouncycastle.pqc.legacy.bike.BIKEPrivateKeyParameters;
import org.bouncycastle.pqc.legacy.bike.BIKEPublicKeyParameters;
import zeroecho.core.CryptoAlgorithm; import zeroecho.core.CryptoAlgorithm;
import zeroecho.core.context.KemContext; import zeroecho.core.context.KemContext;

View File

@@ -5,7 +5,7 @@ plugins {
dependencies { dependencies {
testImplementation(project(":lib")) testImplementation(project(":lib"))
testImplementation 'org.egothor:conflux:[1.0,2.0)' testImplementation 'org.egothor:conflux:[1.0,2.0)'
testImplementation("org.bouncycastle:bcpkix-jdk18on:1.81") testImplementation("org.bouncycastle:bcpkix-jdk18on:1.84")
testImplementation(platform("org.junit:junit-bom:5.10.2")) testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation 'org.junit.jupiter:junit-jupiter' testImplementation 'org.junit.jupiter:junit-jupiter'