5 Commits

Author SHA1 Message Date
7319aca0db Explanation of Licenses 2026-06-07 13:17:02 +02:00
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
6 changed files with 46 additions and 7 deletions

28
LICENSE-binary.txt Normal file
View File

@@ -0,0 +1,28 @@
Copyright (C) 2026, Leo Galambos
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON 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

@@ -1,4 +1,4 @@
Copyright (C) 2024, Leo Galambos
Copyright (C) 2025, Leo Galambos
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,

11
LICENSE.md Normal file
View File

@@ -0,0 +1,11 @@
Licensing
Official binary artifacts of this project, including published Java JAR
files, are licensed under the BSD 3-Clause License.
The source code of this project, including files in the public source
repository and source distributions, is licensed under the BSD 4-Clause
"Original" or "Old" License.
Unless explicitly stated otherwise, third-party components retain their
own licenses.

View File

@@ -32,7 +32,7 @@ dependencies {
// Define dependency versions as constraints
implementation 'org.apache.commons:commons-text:1.15.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.apache.commons:commons-imaging:1.0.0-alpha6'
}

View File

@@ -44,12 +44,12 @@ import java.util.Objects;
import javax.security.auth.DestroyFailedException;
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.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.context.KemContext;

View File

@@ -5,7 +5,7 @@ plugins {
dependencies {
testImplementation(project(":lib"))
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 'org.junit.jupiter:junit-jupiter'