GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jni util 0.0.12 by normanmaurer · Pull Request #1039 · netty/netty-tcnative

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Oct 30, 2026

Copy link
Copy Markdown
Member
  • Use main as the new default branch
  • Let's split up some work in different workflows (Let's split up some work in different workflows #598)
  • Add jobs for debian and cross compiling (Add jobs for debian and cross compiling #599)
  • Fix compose config for deploys
  • Upgrade to OpenSSL 1.1.1i (Upgrade to OpenSSL 1.1.1i #600)
  • Split pr and normal build (#10884) (Split pr and normal build (#10884) #601)
  • Only deploy snapshots for one arch
  • Use maven cachen when running analyze job (Use maven cachen when running analyze job #602)
  • Use matrix for job configurations (Use matrix for job configurations #603)
  • Correctly deploy artifacts that are build on different archs (#10893) (Correctly deploy artifacts that are build on different archs #604)
  • Hardcode BoringSSL commit sha to use (Hardcode BoringSSL commit sha to use #605)
  • Add badge
  • Update action-docker-layer-caching (Update action-docker-layer-caching #606)
  • Fix manifest entry for windows 32-bit (Fix manifest entry for windows 32-bit  #608)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.36.Final
  • [maven-release-plugin] prepare for next development iteration
  • Override configuration of dependency plugin in the uber generation (Override configuration of dependency plugin in the uber generation #609)
  • Replace c code that translate to wireformat to java (Replace c code that translate to wireformat to java #610)
  • Use script to detect test failures (Use script to detect test failures #612)
  • Add build for windows (Add build for windows #615)
  • Fix windows staging path
  • Speed up container creation by using pre-compile gcc version (Speed up container creation by using pre-compile gcc version #617)
  • Use consistent naming for jobs (Use consistent naming for jobs #618)
  • Bump ant from 1.9.15 to 1.10.9 (Bump ant from 1.9.15 to 1.10.9 #620)
  • Don't link decrepit (Don't link decrepit #613)
  • Add workflow to cut releases (Add workflow to cut releases #622)
  • Add script to finish release (Add script to finish release #623)
  • Fail the the finish_release.sh script if the tag already exists locally
  • Close and release the staging repository at the end
  • Add script which list staged releases
  • Update timeout to 10 minutes
  • Upgrade to OpenSSL 1.1.1j
  • Try to stabilize docker build by using https (Try to stabilize docker build by using https #625)
  • Update netty-build version (Update netty-build version #628)
  • Use netty-jni-util 0.0.3.Final (Use netty-jni-util 0.0.3.Final #631)
  • Let's use gcc10 when cross-compiling for LSE support (Let's use gcc10 when cross-compiling for LSE support #629)
  • Only use vault.centos.org (Only use vault.centos.org #632)
  • Bump OpenSSL version to 1.1.1k (Bump OpenSSL version to 1.1.1k #633)
  • Update BoringSSL commit SHA to latest chromium-stable commit (Update BoringSSL commit SHA to latest chromium-stable commit #635)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.37.Final
  • [maven-release-plugin] prepare for next development iteration
  • Ensure parent will be deployed as well (Ensure parent will be deployed as well #636)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.38.Final
  • [maven-release-plugin] prepare for next development iteration
  • Unload certificateVerifierTask_class (Unload certificateVerifierTask_class #637)
  • Add missing return statement (Add missing return statement #639)
  • Only try to increment reference count if function is present (Only try to increment reference count if function is present #640)
  • Only use ifdef if we don't use BoringSSL (Only use ifdef if we don't use BoringSSL #641)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.39.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update java version (Update java version #643)
  • Preload classes so we can't see a classloader deadlock (Preload classes so we can't see a classloader deadlock #642)
  • Allow to override the repository url of boringssl (Allow to override the repository url of boringssl #644)
  • Use m2 repositry cache (Use m2 repositry cache #645)
  • Add ci profile which should be used when running workflows (Add ci profile which should be used when running workflows #646)
  • Use MAVEN_OPTS to setup timeouts for dependency downloads (2.0.3.Final #280) (Use MAVEN_OPTS to setup timeouts for dependency downloads (#280) #647)
  • Introduce the ability to run key-signing in an fully async fashion. (Introduce the ability to run key-signing in an fully async fashion. #650)
  • Fix permissions of mvnw wrapper
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.40.Final
  • [maven-release-plugin] prepare for next development iteration
  • Ensure we include hs_err files when build failed (Ensure we include hs_err* files when build failed #652)*
  • Bump ant from 1.10.9 to 1.10.11 (Bump ant from 1.10.9 to 1.10.11 #653)
  • Allow to set renegiotion mode when BoringSSL is used (Allow to set renegiotion mode when BoringSSL is used #654)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.41.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update openssl to 1.1.1l (Update openssl to 1.1.1l #655)
  • Use libressl 3.3.4 (Use libressl 3.3.4 #656)
  • Allow to set the curves used (Allow to set the curves used #661)
  • Add support for mac m1 (Add support for mac m1 #662)
  • Fix classifier for attached artifact when cross-compiling
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.42.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.43.Final
  • [maven-release-plugin] prepare for next development iteration
  • Use -DOPENSSL_C11_ATOMIC when cross-compile for linux aarch64 (Use -DOPENSSL_C11_ATOMIC when cross-compile for linux aarch64 #665)
  • Fix OSGI support (Fix OSGI support #664)
  • Use sdkman for JDK installation (Use sdkman for JDK installation #666)
  • Use https to download apr (Use https to download apr #668)
  • change mvnw distributionUrl to use Google mirror of central and update to 3.8.1 (change mvnw distributionUrl to use Google mirror of central and updat… #669)
  • Use curl to download cmake (Use curl to download cmake #670)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.44.Final
  • [maven-release-plugin] prepare for next development iteration
  • Only include Bundle-NativeCode in MANIFEST if native code is included (Only include Bundle-NativeCode in MANIFEST if native code is included #671)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.45.Final
  • [maven-release-plugin] prepare for next development iteration
  • Remove caching in docker image (Remove caching in docker image #675)
  • Move classes to extra modules (Move classes to extra modules #674)
  • Update to latest netty-build (Update to latest netty-build #676)
  • Fix docker-compose file for cross compiling (Fix docker-compose file for cross compiling #679)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.46.Final
  • [maven-release-plugin] prepare for next development iteration
  • Include license distribution in pom (Include license distribution in pom #682)
  • Specify -Wno-deprecated-declarations when compiling (Specify -Wno-deprecated-declarations when compiling #684)
  • Skip japicmp check for non released modules (Skip japicmp check for non released modules #687)
  • Explicit define the target when cross compile (Explicit define the target when cross compile #690)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.47.Final
  • [maven-release-plugin] prepare for next development iteration
  • Support RFC 8879 Certificate Compression for TLSv1.3 (Consider adding support for certificate compression (TLSv1.3) #614) (Support RFC 8879 Certificate Compression for TLSv1.3 (#614) #689)
  • Add profiles to allow to compile on newer JDKs (Add profiles to allow to compile on newer JDKs #693)
  • Added Fragment-Host declaration to bundles shipping native libs (Added Fragment-Host declaration to bundles shipping native libs #694)
  • Update java versions (Update java versions #695)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.48.Final
  • [maven-release-plugin] prepare for next development iteration
  • Don't repackage jar for uber profile (Don't repackage jar for uber profile #696)
  • Upgrade to latest maven release (Upgrade to latest maven release #698)
  • ** BoringSSL update (BoringSSL update #699) ( BoringSSL update (netty#699) #700)**
  • OpenSSL 1.1.1m was released (OpenSSL 1.1.1m was released #702)
  • Update to latest patch release of libressl (Update to latest patch release of libressl #701)
  • Try stabilising build with CERN CentOS mirror (Try stabilising build with CERN CentOS mirror #704)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.49.Final
  • [maven-release-plugin] prepare for next development iteration
  • Correctly flatten netty-tcnative-boringssl pom.xml (Correctly flatten netty-tcnative-boringssl pom.xml #705)
  • Ignore .flatten-pom.xml
  • Add missing sections to pom.xml (Add missing sections to pom.xml #706)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.50.Final
  • [maven-release-plugin] prepare for next development iteration
  • Use different module names for openssl-classes and the other jars (Use different module names for openssl-classes and the other jars #709)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.51.Final
  • [maven-release-plugin] prepare for next development iteration
  • Use windows-2019 in workflows and update to v142 (Use windows-2019 in workflows #714)
  • Update to latest openssl release (Update to latest openssl release #713)
  • Upgrade to libressl 3.4.3 (Upgrade to libressl 3.4.3 #715)
  • Ensure we link against openssl 1.1 on macOS (Ensure we link against openssl 1.1 on macOS #720)
  • Don't call strdup on packagePrefix. (Don't call strdup on packagePrefix. #718)
  • Update to Maven 3.8.5 (Update to Maven 3.8.5 #721)
  • Fix Automatic-Module-Name for jars that contain native libs (Fix Automatic-Module-Name for jars that contain native libs #725)
  • Update netty-jni-util from 0.0.5.Final to 0.0.6.Final (Update netty-jni-util from 0.0.5.Final to 0.0.6.Final #726)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.52.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update to 8.0.332-zulu (Update to 8.0.332-zulu #730)
  • Add SSL.bioSetFd method to JNI code to support Pixie integration (Add SSL.bioSetFd method to JNI code to support Pixie integration #731)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.53.Final
  • [maven-release-plugin] prepare for next development iteration
  • Expose SSL insecure legacy renegotiation consts (Expose SSL insecure legacy renegotiation consts #717)
  • Fix aarch64 processor name for OSGi (Fix aarch64 processor name for OSGi #733)
  • Update to new codeql-action (Update to new codeql-action #734)
  • Update to openssl 1.1.1q (Update to openssl 1.1.1q #735)
  • Fix compilation on macOS (Fix compilation on macOS #737)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.54.Final
  • [maven-release-plugin] prepare for next development iteration
  • Use ubuntu-latest in workflows (Use ubuntu-latest in workflows #741)
  • Use Junit5 (Use Junit5 #748)
  • Add profile to cross compile for intel on macOs (Add profile to cross compile for intel on macOs #747)
  • Use latest maven version (Use latest maven version #749)
  • Update to latest java8 release (Update to latest java8 release #751)
  • replace incorrect arm64 flags in m1 to intel cross compilation for bssl-static (Fix BoringSSL osx cross-compilation incorrect binary output #754)
  • Expose SSL3_RT_MAX_ENCRYPTED_LENGTH via constant (Expose SSL3_RT_MAX_ENCRYPTED_LENGTH via constant #757)
  • Remove weak symbol when building with BoringSSL (Remove weak symbol when building with BoringSSL #753)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.55.Final
  • [maven-release-plugin] prepare for next development iteration
  • Patch APR to remove crypt dependency (Patch APR to remove crypt dependency #758)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.56.Final
  • [maven-release-plugin] prepare for next development iteration
  • Remove dependency on apr by using c++11 / c++14 features
  • rename functions for consistency
  • Link libstdc++ statically on linux
  • Fix format usage
  • Upgrade hawtjni plugin to latest version (Upgrade hawtjni plugin to latest version #760)
  • Remove compile scope junit dependencies from openssl-dynamic submodule (Remove compile scope junit dependencies from openssl-dynamic submodule #762)
  • Update to latest maven version (Update to latest maven version #764)
  • Update file with changed libeay and ssleay names (Change libeay32 and ssleay32 to libcrypto and libssl #763)
  • Update to latest boringssl sha in chromium-stable branch (Update to latest boringssl sha in chromium-stable branch #766)
  • Bump up os-maven-plugin to 1.7.1 (Bump up os-maven-plugin to 1.7.1 #767)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.57.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update multiple actions to v3 (Update multiple actions to v3 #769)
  • Upgrade setup-java action (Upgrade setup-java action #770)
  • Fix segfault which was caused by not creating the ticket_keys_new atomic (Fix segfault which was caused by not creating the ticket_keys_new atomic #772)
  • Always use braces in if / else statements (Always use braces in if / else statements #773)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.58.Final
  • [maven-release-plugin] prepare for next development iteration
  • Fix possible corruption / segfault when using atomics (Fix possible corruption / segfault when using atomics #774)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.59.Final
  • [maven-release-plugin] prepare for next development iteration
  • Fix Automatic-Module-Name for dynamic linked tcnative (Fix Automatic-Module-Name for dynamic linked tcnative #776)
  • Upgrade to latest maven version and use sdkman to install it (Upgrade to latest maven version and use sdkman to install it #777)
  • Set read-only permissions on GitHub workflows (Set read-only permissions on GitHub workflows #779)
  • Remove unused variable (Remove unused variable #782)
  • Expose SSL_CTX_set_max_cert_list (Expose SSL_CTX_set_max_cert_list #784)
  • Fix downloads from github on old debian distro (Replace wget usage with curl #783)
  • Adjust argument type to be int
  • ** Add security policy (Add security policy #781)**
  • Upgrade to latest openssl 1.1.1 release (Upgrade to latest openssl 1.1.1 release #785)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.60.Final
  • [maven-release-plugin] prepare for next development iteration
  • Add minimal permissions to codeql-analysis.yml (Add minimal permissions to codeql-analysis.yml #787)
  • Fix memory leak when creating and destroying a lot of context (Fix memory leak when creating and destroying a lot of context #790)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.61.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update SECURITY.md
  • Fix incorrect URLs in SECURITY.md
  • Delete SECURITY.md in favor of the one in .github metarepository
  • Ensure ReleaseByteArrayElements are also called when OPENSSL_malloc f… (Ensure ReleaseByteArrayElements are also called when OPENSSL_malloc f… #792)
  • Upgrade to latest sha in chromium-stable branch (Upgrade to latest sha in chromium-stable branch #797)
  • Upgrade to latest jni-util release (Upgrade to latest jni-util release #801)
  • Fix compilation on some configurations (Fix compilation on some configurations #803)
  • upgrade openssl to 3.0.8 (upgrade openssl to 3.0.8 #802)
  • Upgrade java versions (Upgrade java versions #805)
  • Fix linux build for openssl-static (Fix linux build for openssl-static #807)
  • Update to latest boringssl chromium-stable commit (Update to latest boringssl chromium-stable commit #813)
  • upgrade openssl to 3.1.2 (upgrade openssl to 3.1.2 #811)
  • Update workflows to make things more robust when it comes to caching (Update workflows to make things more robust when it comes to caching #815)
  • Run action that frees up diskspace during workflows (Run action that frees up diskspace during workflows #816)
  • Prevent classloader leak via JNI (Prevent classloader leak via JNI #817)
  • Remove obsolete flag when building BoringSSL (Remove obsolete flag when building BoringSSL #820)
  • Cleanup docker images / workflow (Cleanup docker images / workflow #822)
  • Upgrade to maven 3.9.4 (Upgrade to maven 3.9.4 #823)
  • Upgrade maven-settings-action to latest version (Upgrade maven-settings-action to latest version #825)
  • Revert static linking with stdc++ (Revert static linking with stdc++ #824)
  • Use '-Xcheck:jni' during testsuite run to detect JNI bugs (Use '-Xcheck:jni' during testsuite run to detect JNI bugs #826)
  • Remove build step that patches APR on macOS (Remove build step that patches APR on macOS #827)
  • Update github actions (Update github actions #828)
  • Update action that uses deprecated node (Update action that uses deprecated node #830)
  • Update checkout action to latest version (Update checkout action to latest version #831)
  • FIPS: Add pom profile to build fips compliant boringSSL netty-tcnative (FIPS: Add pom profile to build fips compliant boringSSL netty-tcnative #821)
  • Fix usage of ghaction-import-gpg (Fix usage of ghaction-import-gpg #832)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.62.Final
  • [maven-release-plugin] prepare for next development iteration
  • fix(boringssl): fix incorrect build profile for osx intel cross compile (fix(boringssl): fix incorrect build profile for osx intel cross compile #836)
  • Upgrade to maven 3.9.5 (Upgrade to maven 3.9.5 #837)
  • Upgrade java versions to latest patch release (Upgrade java versions to latest patch release #838)
  • Upgrade to maven-wrapper 3.2.0 (Upgrade to maven-wrapper 3.2.0 #839)
  • Also add Specification- entries to MANIFEST.MF (Also add Specification-* entries to MANIFEST.MF #840)*
  • Fix docker image creation for debian (Fix docker image creation for debian #844)
  • Update github actions to latest versions (Update github actions to latest versions #843)
  • Return correct value from cert callback when no tasks are used (Return correct value from cert callback when no tasks are used #846)
  • Update to openssl 3.1.5 (Update to openssl 3.1.5 #845)
  • Update to latest boringssl chromium-stable commit (Update to latest boringssl chromium-stable commit #847)
  • Update to java 8.0.402-zulu (Update to java 8.0.402-zulu #848)
  • Explicit pass the JNIEnv to free_ssl_state (Explicit pass the JNIEnv* to free_ssl_state #849)*
  • Don't share tcn_ssl_verify_config_t between tcn_ssl_state_t and tcn_s… (Don't share tcn_ssl_verify_config_t between tcn_ssl_state_t and tcn_s… #850)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.63.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update maven to 3.9.6 (Update maven to 3.9.6 #851)
  • Disable usage of sys_siglist function to workaround issues on alpine (Disable usage of sys_siglist function to workaround issues on alpine #854)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.64.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.65.Final
  • [maven-release-plugin] prepare for next development iteration
  • Upload jar for inspection (Upload jar for inspection #858)
  • Add key log callback option to SSLContext (Add key log callback option to SSLContext #861)
  • Don't verify during download via curl (Don't verify during download via curl #862)
  • Deprecate bioSetFd and make it a no op (Deprecate bioSetFd and make it a no op #865)
  • Stop cancelling build matrix when one build fails (Stop cancelling build matrix when one build fails #868)
  • Add OpenSSL 3.x support to openssl-dynamic (Add OpenSSL 3.x support to openssl-dynamic #867)
  • Add missing NULL checks (Add missing NULL checks #871)
  • Use --release 8 during compilation (Use --release 8 during compilation #872)
  • Set JAVA_VERSION before using it during installation of JDK via SDKMAN (Set JAVA_VERSION before using it during installation of JDK via SDKMAN #873)
  • Update java versions to latest release (Update java versions to latest release #874)
  • Update to openssl 3.1.5 (Update to openssl 3.1.5 #875)
  • Replace docker-compose with docker compose (Replace docker-compose with docker compose #877)
  • Replace usage of mirrorlist with baseurl (Replace usage of mirrorlist with baseurl #878)
  • Declarative JPMS descriptors (Declarative JPMS descriptors #879)
  • Ensure we generate javadocs for all artifacts (Ensure we generate javadocs for all artifacts #881)
  • Ensure we generate sources for all artifacts (Ensure we generate javadocs for all artifacts #881) (Ensure we generate sources for all artifacts (#881) #882)
  • Fix sources classifier
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.66.Final
  • [maven-release-plugin] prepare for next development iteration
  • Upgrade to apr 1.7.5 (Upgrade to apr 1.7.5 #884)
  • Upload hidden files for staging (Upload hidden files for staging #886)
  • Remove weird non-breaking space unicode character
  • Patch APR in docker image thats is used to cross-compile to remove li… (Patch APR in docker image thats is used to cross-compile to remove li… #891)
  • Cleanup windows build files (Cleanup windows build files #892)
  • Cleanup build for boringssl (Cleanup build for boringssl #893)
  • Replace /MT flag with MSVC_RUNTIME_LIBRARY=MultiThreaded when building for windows (Replace /MT flag with MSVC_RUNTIME_LIBRARY=MultiThreaded when building for windows #894)
  • Use -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded (Use -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded #895)
  • Move to master branch of boringssl (Move to master branch of boringssl #889)
  • Fix jar name when cross compiling for macOs x86 (Fix jar name when cross compiling for macOs x86 #896)
  • Use MACOSX_DEPLOYMENT_TARGET=10.13 when compiling BoringSSL (Use MACOSX_DEPLOYMENT_TARGET=10.13 when compiling BoringSSL #899)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.67.Final
  • [maven-release-plugin] prepare for next development iteration
  • Fix BoringSSL artifact (Fix BoringSSL artifact #900)
  • Only add extra ldflags on linux (Only add extra ldflags on linux #901)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.68.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.68.Final
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.68.Final
  • [maven-release-plugin] prepare for next development iteration
  • Explicit set minimum version to TLS1 when using BoringSSL (Explicit set minimum version to TLS1 when using BoringSSL #902)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.69.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.69.Final
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.69.Final
  • [maven-release-plugin] prepare for next development iteration
  • Don't run testsuite when installing perl via perlbrew (Don't run testsuite when installing perl via perlbrew #904)
  • Explicit specify the platform for Docker files (Explicit specify the platform for Docker files #905)
  • Move logic for static cross-compile for linux-aarch64 to pom file (Move logic for static cross-compile for linux-aarch64 to pom file #906)
  • Force installation of perlbrew (Force installation of perlbrew #909)
  • Validate arguments early (Validate arguments early #911)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.70.Final
  • [maven-release-plugin] prepare for next development iteration
  • Use boringssl master in boringssl-static subproject (Use boringssl master in boringssl-static subproject #912)
  • Add method to allow to set curves / groups per SSL instance (Add method to allow to set curves / groups per SSL instance #913)
  • Use main branch for BoringSSL (Use main branch for BoringSSL #916)
  • Build on macOS (Build on macOS #920)
  • Update to latest boringssl sha (Update to latest boringssl sha #921)
  • Adjust workflow to deploy snapshots for all platforms
  • Only deploy openssl-dynamic and boringssl-static for macos
  • Fix path for staged artifacts
  • Fix path for debian staged artifacts
  • Use correct profile to generate the uber jar
  • Fix commandline arguments for when we generate the uber jar
  • Fix script usage during deployment of staged snapshots
  • Adjust workflow to allow a fully automated release
  • Use same apr version on windows as on all other platforms (Use same apr version on windows as on all other platforms #922)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.71.Final
  • Add missing working-directory
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.71.Final
  • Invoke install_local_staging.sh script with correct arguments
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.71.Final
  • Add missing working-directory
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.71.Final
  • Add missing nexusUrl and serverId
  • Also generate sources jar for openssl-classes
  • Add missing sign goal when generating uber jar
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • [maven-release-plugin] rollback the release of netty-tcnative-parent-2.0.71.Final
  • Import GPG key during release workflow
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.71.Final
  • [maven-release-plugin] prepare for next development iteration
  • Don't include git config when upload directory to prepare release
  • Fix SSL.getSigAlgs() on BoringSSL for TLS 1.3 (Fix SSL.getSigAlgs() on BoringSSL for TLS 1.3 #924)
  • Migrate using maven central (Migrate using maven central #926)
  • Cancel running / queue jobs when a new change was pushed to branch (Cancel running / queue jobs when a new change was pushed to branch #927)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.72.Final
  • [maven-release-plugin] prepare for next development iteration
  • Upgrade Windows GHA images to Windows Server 2022 (Upgrade Windows GHA images to Windows Server 2022 #930)
  • Fix codeql analyze job (Fix codeql analyze job #931)
  • Fix build of libressl-static on newer CMAKE versions (Fix build of libressl-static on newer CMAKE versions #933)
  • Obtain correct cipher in authentication_method(...) (Obtain correct cipher in authentication_method(...) #932)
  • Support for building with AWS Libcrypto (AWS-LC) (Support for building with AWS Libcrypto (AWS-LC) #929)
  • Add missing <openssl/sha.h> include (Add missing <openssl/sha.h> include #936)
  • Correctly map GENERIC to UNKNOWN when using BoringSSL (Correctly map GENERIC to UNKNOWN when using BoringSSL #937)
  • Support boringssl SSLCredential API (Support boringssl SSLCredential API #935)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.73.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update to latest BoringSSL commit sha (Update to latest BoringSSL commit sha #939)
  • Include correct license informations for BoringSSL (Include correct license informations for BoringSSL #940)
  • Remove invalid / old license informations (Remove invalid / old license informations #941)
  • Update jni-util version to clarify licensing (Update jni-util version to clarify licensing #942)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.74.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update to latest JDK releases (Update to latest JDK releases #944)
  • Change the artifactId when building FIPS-compliant netty-tcnative-boringssl-static (Change the artifactId when building FIPS-compliant netty-tcnative-boringssl-static #945)
  • Upgrade all macOS Intel workflow runners to macOS 15 (#15840) (Upgrade all macOS Intel workflow runners to macOS 15 (#15840) #946)
  • Fix git 2.x download URL for the maven scm plugin (Fix git 2.x download URL for the maven scm plugin #947)
  • Exclude SSL Credential api for older FIPS builds (Exclude SSL Credential api for older FIPS builds #948)
  • Upgrade to BoringSSL 6d503ae1 (Upgrade to BoringSSL 6d503ae1 #950)
  • Add jni load, unpack certChainStack in C for consistency (Add jni load, unpack certChainStack in C for consistency #949)
  • Fix golang download URL (Fix golang download URL #951)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.75.Final
  • [maven-release-plugin] prepare for next development iteration
  • Add new method SSL.getVersionInt to avoid string allocation on initial ssl handshake (Add new method SSL.getVersionInt to avoid string allocation on initial ssl handshake #954)
  • Build against openssl 3.6 for dynamic linking (Build against openssl 3.6 for dynamic linking #952)
  • Fix creation of docker image for cross compilation (Fix creation of docker image for cross compilation #956)
  • Wrong format specifier cause UB (Wrong format specifier cause UB #955)
  • Fix memory leak in setSessionTicketKeys0 when GetByteArrayElements fails (Fix memory leak in setSessionTicketKeys0 when GetByteArrayElements fails #957)
  • Guard against malloc failures when configure ALPN and NPN (Guard against malloc failures when configure ALPN and NPN #958)
  • Don't leak CRYPTO_BUFFER when GetByteArrayElements(...) returns NULL during decompression (Don't leak CRYPTO_BUFFER when GetByteArrayElements(...) returns NULL during decompression #959)
  • Add missing semicolon which would cause compile errors on old openssl versions (Add missing semicolon which would cause compile errors on old openssl versions #962)
  • SSL_CTX_set_info_callback should only be called once per context creation (SSL_CTX_set_info_callback should only be called once per context creation #963)
  • Fix UB issue which can be caused by not init proto_len before reading it (Fix UB issue which can be caused by not init proto_len before reading it #961)
  • setCurves(...) should check for GetIntArrayElements returning NULL (setCurves(...) should check for GetIntArrayElements returning NULL #960)
  • Correctly respect return value of apr_thread_rwlock_create (Correctly respect return value of apr_thread_rwlock_create #965)
  • Use-After-Free / Dangling Pointer when using session tickets and OpenSSL 3.x (Use-After-Free / Dangling Pointer when using session tickets and Open… #964)
  • Correctly free buffer if push fails (Correctly free buffer if push fails #966)
  • Always clear global reference to the verifier (Always clear global reference to the verifier #967)
  • Fallback to correct protocol (Fallback to correct protocol #969)
  • Correctly keep track of array len and number of certs when using async verifier (Correctly keep track of array len and number of certs when using async verifier #970)
  • Delete local reference when creating a lot in a loop to ensure we not overflow (Delete local reference when creating a lot in a loop to ensure we not overflow #972)
  • Clear exception if happens during keylog_cb (Clear exception if happens during keylog_cb #971)
  • Guard against GetStringUTFChars(...) return NULL (Guard against GetStringUTFChars(...) return NULL #973)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.76.Final
  • [maven-release-plugin] prepare for next development iteration
  • Correctly build boringssl-static for linux aarch64 (Correctly build boringssl-static for linux aarch64 #975)
  • Add more details to the exceptions when SSLContext.make(...) fails (Add more details to the exceptions when SSLContext.make(...) fails #976)
  • Ensure we can always use locks when cross-compiling (Ensure we can always use locks when cross-compiling #977)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.77.Final
  • [maven-release-plugin] prepare for next development iteration
  • Revert "Correctly build boringssl-static for linux aarch64 (Correctly build boringssl-static for linux aarch64 #975)" (Revert "Correctly build boringssl-static for linux aarch64 (#975)" #978)
  • Restore linux-aarch64 artifacts to Maven Central publish (Restore linux-aarch64 artifacts to Maven Central publish #981)
  • Fix release bug from pull 981 (Fix release bug from pull 981 #983)
  • aarch64 release: openssl-dynamic and boringssl-static into single command (aarch64 release: openssl-dynamic and boringssl-static into single command #984)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.78.Final
  • [maven-release-plugin] prepare for next development iteration
  • Clear certificate chain in setKeyMaterial. (Clear certificate chain in setKeyMaterial. #987)
  • Drop checks on SSL_CREDENTIAL support for older BoringSSL (Drop checks on SSL_CREDENTIAL support for older BoringSSL #980)
  • linux aarch_64 openssl-dynamic link to openssl3.x (linux aarch_64 openssl-dynamic link to openssl3.x #986)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.79.Final
  • [maven-release-plugin] prepare for next development iteration
  • Fix linux-x86_64 openssl-dynamic to link against OpenSSL 3.x (Fix linux-x86_64 openssl-dynamic to link against OpenSSL 3.x #989)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.80.Final
  • [maven-release-plugin] prepare for next development iteration
  • Add SSL.getGroupName(...) which returns the name of the used by ssl's most recently completed handshake (Add SSL.getGroupName(...) which returns the name of the used by ssl's most recently completed handshake #991)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.81.Final
  • [maven-release-plugin] prepare for next development iteration
  • Delete local references while processing the loop to fill the singature algorithms (Delete local references while processing the loop to fill the singature algorithms #995)
  • Delete local references as soon as possible in callbacks (Delete local references as soon as possible in callbacks #996)
  • Make the Linux artifacts loadable on musl (Alpine) again (Make the Linux artifacts loadable on musl (Alpine) again #997)
  • Pin github actions to reduce risk (Pin github actions to reduce risk #1000)
  • Add NULL check to guard against SIGSERV (Add NULL check to guard against SIGSERV #999)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.82.Final
  • [maven-release-plugin] prepare for next development iteration
  • Fix double DeleteLocalRef call which results in UB (Fix double DeleteLocalRef call which results in UB #1001)
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.83.Final
  • [maven-release-plugin] prepare for next development iteration
  • Update to latest netty-jni-util release (Update to latest netty-jni-util release #1003)
  • Guard against crash when sk_CRYPTO_BUFFER_new_null() returns NULL (Guard against crash when sk_CRYPTO_BUFFER_new_null() returns NULL #1007)
  • Throw NPE when SSL.setOcspResponse(...) is invoked with null argument (Throw NPE when SSL.setOcspResponse(...) is invoked with null argument #1006)
  • Check if hostname matcher is NULL and if so return early (Check if hostname matcher is NULL and if so return early #1004)
  • Fix use after free bug that could cause crash when session keys are rotated
  • *SSLPrivateKeyMethod does not correctly report back signing errors
  • Clearify when it's safe to set callbacks in SSLContext javadocs
  • Correctly handle wrap around in ring buffer used internally to buffer application data
  • Decoding of the SNI server_name allow to embed NUL Character
  • Clearify when it's safe to set protos in SSLContext javadocs
  • Custom BIO_java_bytebuffer write callback over-reports bytes written, violating the BIO_write contract
  • Fix download of go
  • [maven-release-plugin] prepare release netty-tcnative-parent-2.0.84.Final
  • [maven-release-plugin] prepare for next development iteration
  • fix: preserve musl compatibility in FIPS build (fix: preserve musl compatibility in FIPS build #1008)
  • Use github to download cmake and also remove tar file after unpacking (Use github to download cmake and also remove tar file after unpacking #1011)
  • Bump GitHub Actions to Node.js 24 releases (Bump GitHub Actions to Node.js 24 releases #1010)
  • Bump up macosxDeploymentTarget to 11 as lower is not supported anymore by latest macos release (Bump up macosxDeploymentTarget to 11 as lower is not supported anymore by latest macos release #1012)
  • Cache docker build images in ghcr.io to speed up CI (Cache docker build images in ghcr.io to speed up CI #1015)
  • Delete local references to Java-returned result arrays in JNI callbacks (Delete local references to Java-returned result arrays in JNI callbacks #1016)
  • Fix Debian 7 docker image builds failing due to outdated wget/curl TLS (Fix Debian 7 docker image builds failing due to outdated wget/curl TLS #1017)
  • Download Go from dl.google.com instead of ftp.belnet.be (Download Go from dl.google.com instead of ftp.belnet.be #1022)
  • Update getSigAlgs to handle algorithms without combined NID (Update getSigAlgs to handle algorithms without combined NID #1019)
  • Support SSLContext.setKeyLogCallback with OpenSSL 1.1.1+ (Support SSLContext.setKeyLogCallback with OpenSSL 1.1.1+ #1021)
  • Upgrade central-publishing-maven-plugin to 0.12.0 (Upgrade central-publishing-maven-plugin to 0.12.0 #1023)
  • Only build openssl-classes and boringssl-static on windows (Only build openssl-classes and boringssl-static on windows #794)
  • Fix native memory leak in SSL.parseX509Chain when the BIO is null (Fix native memory leak in SSL.parseX509Chain when the BIO is null #1025)
  • Fix native memory leaks in SSLContext.setPrivateKeyMethod0 (Fix native memory leaks in SSLContext.setPrivateKeyMethod0 #1026)
  • Fix native memory leaks in SSLContext JNI_OnLoad (Fix native memory leaks in SSLContext JNI_OnLoad #1027)
  • Throw NPE when null is passed to setSessionTicketKeys0 and setSessionIdContext (Throw NPE when null is passed to setSessionTicketKeys0 and setSessionIdContext #1028)
  • Do not discard the configured password when setCertificate(Bio) fails without a new one (Do not discard the configured password when setCertificate(Bio) fails without a new one #1030)
  • Upgrade apr to 1.7.6 (Upgrade apr to 1.7.6 #1032)
  • Fix native memory leak in SSL_CTX_setup_certs when using BoringSSL or AWS-LC (Fix native memory leak in SSL_CTX_setup_certs when using BoringSSL or AWS-LC #1031)
  • Throw IllegalArgumentException when signing algorithm id does not fit into 16 bits (Throw IllegalArgumentException when signing algorithm id does not fit into 16 bits #1034)
  • Fix infinite loop in musl_compat fallbacks on old glibc headers (Fix infinite loop in musl_compat fallbacks on old glibc headers #1037)
  • Don't sign-extend int options into the 64 bit SSL options (Don't sign-extend int options into the 64 bit SSL options #1035)
  • Validate timeout, cache mode and cache size before narrowing them (Validate timeout, cache mode and cache size before narrowing them #1036)
  • Update to latest netty-jni-util release

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
normanmaurer and others added 30 commits September 5, 2023 08:45
@normanmaurer
Prevent classloader leak via JNI (#817)
040e305
Motivation:

We should use weak references to hold global references to our own
classes as otherwise it will be not possible to unload the classloader.

Modifications:

Use weak references for the classes in JNI.

Result:

No more classloader leaks. Related to
netty/netty#13480
@normanmaurer
Remove obsolete flag when building BoringSSL (#820)
d62ae5d
Motivation:

-DOPENSSL_C11_ATOMIC is not needed anymore for BoringSSL as it uses
atomics by default now.

Modifications:

Remove -DOPENSSL_C11_ATOMIC

Result:

Cleanup
@normanmaurer
Cleanup docker images / workflow (#822)
c784cd4
Motivation:

Docker images can be quite large, lets try to cleanup things we not
need.

Modifications:

Cleanup things during docker image creation
Remove docker layer caching
Remove action that free disk space

Result:
Docker image needs less disk-space
@normanmaurer
Upgrade to maven 3.9.4 (#823)
2134f9e
Motivation:

There was a new maven release

Modifications:

Upgrade to 3.9.4

Result:

Use latest maven release via maven wrapper
@normanmaurer
Upgrade maven-settings-action to latest version (#825)
624570f
Motivation:

We should use the latest maven-settings-action to fix warnings

Modifications:

Update maven-settings-action to 2.8.0

Result:

No more warnings
@normanmaurer
Revert static linking with stdc++ (#824)
33b2338
Motiviation:

In the past we removed the usage of apr by static linking against
stdc++. While at first this seemed like a good idea it has proven to
introduce problems on various platforms. Because of these problems we
should better revert the changes and just link against apr again.

Modifications:

- Revert "Fix memory leak when creating and destroying a lot of context
(#790)" fd8fb2a.
- Revert "Fix possible corruption / segfault when using atomics (#774)"
11ff708.
- Revert "Fix segfault which was caused by not creating the
ticket_keys_new atomic (#772)" 196f935.
- Revert "Fix format usage" eecaaa8.
- Revert "Link libstdc++ statically on linux"
a288f03.
- Revert "rename functions for consistency"
7ee7804.
- Revert "Remove dependency on apr by using c++11 / c++14 features"
8740651.
- Update APR version

Result:

Fixes #798 ,
#789
@normanmaurer
Use '-Xcheck:jni' during testsuite run to detect JNI bugs (#826)
c6ee3b9
Motivation:

We should run our testsuite with '-Xcheck:jni' to ensure we catch bugs
in our JNI code which could later cause issues like crashes

Modifications:

- Add -Xcheck:jni

Result:

Testsuite will be able to catch more JNI bugs
@normanmaurer
Remove build step that patches APR on macOS (#827)
40c3c45
Motivation:

We dont need to patch APR anymore as the new version we are using is not
suffering from the original problem

Modifications:

Remove build step that patches APR on macOS

Result:

Build works again on macOS
@normanmaurer
Update github actions (#828)
2ef4a34
Motivation:

There were various updates to the github actions

Modifications:

Update github actions

Result:

Cleanup
@normanmaurer
Update action that uses deprecated node (#830)
c0cf604
Motivation:

We should update the action to eliminate warnings during action run

Modifications:

Update action to use latest version

Result:

No more warnings
@normanmaurer
Update checkout action to latest version (#831)
442f312
@k-raina @normanmaurer
FIPS: Add pom profile to build fips compliant boringSSL netty-tcnative (
62b0a1a
#821)

### Motivation:
As discussed in
[issue](#799), considering
the growing demand for FIPS compliance in security-sensitive
environments, an official netty-tcnative release supporting FIPS
validation would greatly benefit the open-source community. This would
simplify integration and provide a reliable, community-supported
solution.

### Setup Configurations:
Tools: cmake 3.20, ninja build 1.10.0, clang-12, golang, java 11, maven
3.6.3, libapr1, automake, autoconf, libtool, libunwind-dev, pkg-config

Fips validated BoringSSL commit used is
853ca1ea1168dff08011e5d42d94609cc0ca2e27

### Build Steps: 

- Run Maven 
```
 mvn clean install -f boringssl-static/pom.xml -Pfips-boringssl-static
```

- While build is running you should see in logs:
```
...
Boringssl is fips compliant
...
```
- After build steps are completed you should see Jars eg.
```
.m2/repository/io/netty/netty-tcnative-boringssl-static/2.0.61.Final/netty-tcnative-boringssl-static-2.0.61.Final.jar
.m2/repository/io/netty/netty-tcnative-boringssl-static/2.0.61.Final/netty-tcnative-boringssl-static-2.0.61.Final-linux-x86_64.jar
```

### Modifications:
- Added pom profile `fips-boringssl-static` for fips compliant


### Tested on: 
Tested on linux AMD and ARM machine, which are supported as per FIPS
security document attached in reference.
Output:
https://drive.google.com/file/d/1eAFUIrHLbB7xiTpxHPs__N3Ha_Ltli76/view?usp=sharing

### Reference: 
Guidance on how to build FIPS validated modules:
https://csrc.nist.gov/CSRC/media/projects/cryptographic-module-validation-program/documents/security-policies/140sp4407.pdf

---------

Co-authored-by: Norman Maurer <[email protected]>
@normanmaurer
Fix usage of ghaction-import-gpg (#832)
a79b8c2
Motivation:

The name of the config param changed when we updated the version

Modifications:

Use correct name

Result:

Release works again on windows
@netty-project-bot
[maven-release-plugin] prepare release netty-tcnative-parent-2.0.62.F…
d70e48a
…inal
@netty-project-bot
[maven-release-plugin] prepare for next development iteration
83a66fc
@zekronium
fix(boringssl): fix incorrect build profile for osx intel cross compi…
f73e908
…le (#836)

Motivation:

boringssl-static profile `mac-intel-cross-compile` incorrectly sets arch
resulting in `osx-osx-x86_64` build classifier.
It also wrongfully sets the native lib name to
`libnetty_tcnative_osx_osx_64`, making `netty-handler` unable to find it

If the intention of this profile was to build cross platform (from linux
to mac), then `os.detected.name` can be overridden to still produce the
similar result.
```xml
<os.detected.name>osx</os.detected.name>
```

Modifications:
Adjust arch to `x86_64` in maven profile for boringssl static

Result:
`./mvn -Pmac-intel-cross-compile -am -pl boringssl-static clean package`
builds correctly on an apple silicon system
@normanmaurer
Upgrade to maven 3.9.5 (#837)
a275bfe
Motivation:

A new maven release is out

Modifications:

Upgrade to 3.9.5

Result:

Use latest maven release
@normanmaurer
Upgrade java versions to latest patch release (#838)
86c3847
Motivation:

We didnt use the latest java releases on the CI

Modifications:

Update java releases

Result:

Use latest java releases on the CI
@jorsol
Upgrade to maven-wrapper 3.2.0 (#839)
31e24e1
Motivation:

A new maven-wrapper release is out

Modifications:

Upgrade to 3.2.0

Result:

Use latest maven-wrapper release

Signed-off-by: Jorge Solórzano <[email protected]>
@normanmaurer
Also add Specification-* entries to MANIFEST.MF (#840)
138c45b
Motivation:

Some tools depend on the Specification-* entries in the MANIFEST.MF.
Unfortunaly
 we don't add these at the moment

Modifications:

Configure plugin to also add the Specification-* entries

Result:

MANIFEST.MF contains Specification-* entries
@normanmaurer
Fix docker image creation for debian (#844)
04788db
Motivation:

We need to run curl in insecure mode when install stuff via sdk as the
version is too old

Modifications:

Add config that skips cert validation

Result:

Be able to build docker image
@normanmaurer
Update github actions to latest versions (#843)
baf2c74
Motivation:

We should keep our actions up to date.

Modifications:

Upgrade all github actions to latest releases

Result:

Housekeeping
@normanmaurer
Return correct value from cert callback when no tasks are used (#846)
7bb550c
@normanmaurer
Update to openssl 3.1.5 (#845)
92fdd74
@normanmaurer
Update to latest boringssl chromium-stable commit (#847)
2e9b36d
Motivation:

The chromium-stable branch of boringssl has new commits. We should pull
them in.

Modifications:

Change commit sha of boringssl to the latest

Result:

Use latest code of chromium-stable branch
@normanmaurer
Update to java 8.0.402-zulu (#848)
04eea1f
Motivation:

There is an ew java8 release

Modifications:

Update to 8.0.402-zulu

Result:

Use latest release
@normanmaurer
Explicit pass the JNIEnv* to free_ssl_state (#849)
5f18092
Motivation:

We already have the JNIEnv* so we should just explicit pass it to
free_ssl_state(...)

Modifications:

Explicit pass JNIEnv*

Result:

Code cleanup
@normanmaurer
Don't share tcn_ssl_verify_config_t between tcn_ssl_state_t and tcn_s… (
21c9201
#850)

…sl_ctxt_t

Motivation:

Let's not share the same memory between tcn_ssl_state_t and
tcn_ssl_ctxt_t as it makes lifetime handling of the memory and prone to
segfaults

Modifications:

- Let tcn_ssl_state_t contain tcn_ssl_verify_config_t and copy over the
config from the tcn_ssl_ctxt_t if needed.
- Remove free calls that are not needed anymore

Result:

Fix possible lifetime issue
@netty-project-bot
[maven-release-plugin] prepare release netty-tcnative-parent-2.0.63.F…
533f625
…inal
@netty-project-bot
[maven-release-plugin] prepare for next development iteration
a923995
normanmaurer and others added 27 commits September 7, 2026 15:24
@normanmaurer
Fix download of go
2228a81
@netty-project-bot
[maven-release-plugin] prepare release netty-tcnative-parent-2.0.84.F…
68007b7
…inal
@netty-project-bot
[maven-release-plugin] prepare for next development iteration
f76ebd0
@pe-bernard
fix: preserve musl compatibility in FIPS build (#1008)
e73cc82
## Why

[#997](#997) added the musl
compatibility check to the FIPS `native-jar` execution, but did not port
the corresponding link and post-link handling from the Linux release
profiles. As a result, FIPS artifacts retain glibc loader and runtime
dependencies that make them fail the new check.

## Changes

- link the C++ runtime and unwinder archives statically in
`fips-boringssl-static`
- remove the architecture-specific `ld-linux` `DT_NEEDED` entry from the
final FIPS native library before the musl check
- document that FIPS, x86_64, and aarch64 profiles each duplicate these
compatibility settings

## Verification

- `xmllint --noout boringssl-static/pom.xml`
- `git diff --check`
- downstream Linux FIPS builds completed successfully on x86_64 and
aarch64, including the native musl compatibility check

Local Maven model validation was not run because this machine has no
Java runtime.
@normanmaurer
Use github to download cmake and also remove tar file after unpacking (…
9af5440
…#1011)
@normanmaurer
Bump GitHub Actions to Node.js 24 releases (#1010)
af25170
Motivation:

Several actions used in our workflows target Node.js 20, which GitHub
has deprecated (runs are being force-upgraded to Node 24 with a
warning).

Modifications:

Bump each to its latest release that declares node24, keeping
SHA pinning with a version comment:

- actions/checkout v4.4.0 -> v7.0.1
- actions/cache v4.3.0 -> v6.1.0
- actions/upload-artifact v4.6.2 -> v7.0.1
- actions/download-artifact v4.3.0 -> v8.0.1
- actions/setup-java v4.9.1 -> v6.0.1
- docker/setup-buildx-action v3.12.0 -> v4.3.0
- microsoft/setup-msbuild v2.0.0 -> v3.0.0
- crazy-max/ghaction-chocolatey v3.4.0 -> v4.1.0
- s4u/maven-settings-action v3.0.0 -> v4.0.0
- crazy-max/ghaction-import-gpg v6.3.0 -> v7.0.0
- github/codeql-action/{init,analyze,autobuild} v2.28.1 (Node 16) ->
v4.38.0

shimataro/ssh-key-action already targets Node 24. ilammy/msvc-dev-cmd
is left unchanged since upstream has no newer release fixing this.

Result:

Build cleanup and less warnings
@normanmaurer
Bump up macosxDeploymentTarget to 11 as lower is not supported anymor…
6279e1c
…e by latest macos release (#1012)

Motivation:

We need to bump up the target to be able to compile on latest macos
release

Modifications:

Use 11

Result:

Be able to compile again
@normanmaurer
Cache docker build images in ghcr.io to speed up CI (#1015)
bdbc9d9
Motivation:

Every docker compose build in ci-build.yml, ci-pr.yml, ci-deploy.yml and
ci-release.yml rebuilds the CentOS6/CentOS7-aarch64/Debian7/AL2023
images
from scratch on each run since GitHub-hosted runners are ephemeral and
have no persistent layer cache. ci-build.yml/ci-pr.yml previously worked
around this with a type=gha buildx cache scoped per matrix leg;
ci-deploy.yml and ci-release.yml had no docker layer caching at all.

Modifications:

Switch to buildx with a registry cache backend (ghcr.io) so the
expensive image layers (devtoolset, OpenSSL built from source,
cross-compile toolchains) are reused across runs and across workflows.
Cache images are pushed to ghcr.io/netty/netty-tcnative-build-cache,
distinct from netty/netty's own ghcr.io/netty/netty-build-cache, so the
two repositories' caches can never collide or overwrite each other.

Result:

Speed up CI builds.
@normanmaurer
Delete local references to Java-returned result arrays in JNI callbac…
64edccd
…ks (#1016)

Motivation:

resultArray in cert_compress.c compress()/decompress() and resultBytes
in the SSL_PRIVATE_KEY_METHOD callbacks in sslcontext.c are obtained
from CallObjectMethod/GetObjectField but were never deleted on any
exit path. These are invoked repeatedly as native callbacks from
OpenSSL/BoringSSL (once per certificate needing (de)compression, or
per sign/decrypt/complete call), so the leaked local references
accumulate and can exhaust the JNI local reference table.

Modifications:

- cert_compress.c: delete resultArray before every return in compress()
  and decompress() once it has been obtained.
- sslcontext.c: delete resultBytes at the complete: label in
  tcn_private_key_sign_java and tcn_private_key_decrypt_java, and
  before every return in tcn_private_key_complete_java.

Result:

No longer leak local references to compression/private-key callback
result arrays.
@normanmaurer
Fix Debian 7 docker image builds failing due to outdated wget/curl TLS (
91e525b
#1017)

Motivation:

Debian 7 (wheezy) is EOL and archive.debian.org has no updated
openssl/ca-certificates package for it. The ancient wget/curl in the
image can no longer complete a TLS handshake with GitHub or
sdkman.io, so downloading CMake, Ninja, Go, the precompiled GCC
toolchain, the OpenSSL source tarball, and SDKMAN/the JDK inside the
debian:7 stage now fails outright, independent of the existing
--no-check-certificate/insecure-ssl workarounds already in place for
the (now separate) certificate-validation problem.

Modifications:

Split Dockerfile.debian into a multi-stage build: a new
debian:bookworm-slim
downloader stage with a modern curl fetches all HTTPS artifacts (CMake,
Ninja, Go, the GCC tarball, the OpenSSL source tarball, SDKMAN, and the
JDK), and the debian:7 stage now only COPYs those artifacts in and
compiles, without ever making a TLS connection itself.

Result:

Debian 7 docker images build again.
@idelpivnitskiy
Download Go from dl.google.com instead of ftp.belnet.be (#1022)
b4f6b6e
Motivation:

ftp.belnet.be no longer responds, breaking the Debian docker image
build. The mirror was only used because the old wget in Debian 7 could
not do TLS with go.dev (2228a81). Since #1017 all downloads happen in a
modern image, so the official HTTPS source works again.

Modifications:

Download Go from https://dl.google.com/go/.

Result:

Debian docker image builds again.
@eager-signal
Update getSigAlgs to handle algorithms without combined NID (#1019)
7698de8
Motivation:

Some algorithms, such as Ed25519, have no combined signature and hash
NID, causing them to be returned as NID_undef, and thus unusable to
callers.

Modifications:

Fall back to `psign` if `psignhash` is undefined

Result:

| Code point | TLS name              | Before      | After           |
|------------|-----------------------|-------------|-----------------|
| `0x0807`   | `ed25519`             | `undefined` | `ED25519`       |
| `0x0808`   | `ed448`               | `undefined` | `ED448`         |
| `0x0804`   | `rsa_pss_rsae_sha256` | `undefined` | `rsassaPss`     |
| `0x0805`   | `rsa_pss_rsae_sha384` | `undefined` | `rsassaPss`     |
| `0x0806`   | `rsa_pss_rsae_sha512` | `undefined` | `rsassaPss`     |
| `0x0809`   | `rsa_pss_pss_sha256`  | `undefined` | `rsassaPss`     |
| `0x080a`   | `rsa_pss_pss_sha384`  | `undefined` | `rsassaPss`     |
| `0x080b`   | `rsa_pss_pss_sha512`  | `undefined` | `rsassaPss`     |
| `0x0302`   | `dsa_sha224`          | `undefined` | `dsaEncryption` |
| `0x0502`   | `dsa_sha384`          | `undefined` | `dsaEncryption` |
| `0x0602`   | `dsa_sha512`          | `undefined` | `dsaEncryption` |
@idelpivnitskiy @normanmaurer
Support SSLContext.setKeyLogCallback with OpenSSL 1.1.1+ (#1021)
d5d4cb0
Follow-up for #861.

Motivation:

`SSLContext.setKeyLogCallback` only works with BoringSSL and AWS-LC.
OpenSSL has had the same `SSL_CTX_set_keylog_callback` API since 1.1.1,
so `netty-tcnative-openssl-dynamic` users can't get SSLKEYLOGFILE-style
key logs.

Modification:

- Enable key logging for OpenSSL 1.1.1 and later (still not LibreSSL)
with a new `TCN_KEYLOG_SUPPORTED` macro.
- Weak-link `SSL_CTX_set_keylog_callback` with GCC/clang, and return
false if it's missing at runtime, like `setNumTickets`. MSVC builds use
the version check only.
- Document supported libraries, when false is returned, and the
callback's threading and exception behavior.
- Add tests that run real TLS 1.2 and 1.3 handshakes and check the key
log labels.

Result:

Key logging works with OpenSSL 1.1.1 and later. Weak linking covers
builds against older headers: the call returns false on an OpenSSL
runtime older than 1.1.1 and true on 1.1.1 or later.

Co-authored-by: Norman Maurer <[email protected]>
@normanmaurer
Upgrade central-publishing-maven-plugin to 0.12.0 (#1023)
0820dc5
Motivation:

We should use the latest release of the central-publishing-maven-plugin
to pick up bug fixes and improvements.

Modifications:

- Bump central-publishing-maven-plugin from 0.7.0 to 0.12.0

Result:

Use the latest central-publishing-maven-plugin release.
@normanmaurer
Only build openssl-classes and boringssl-static on windows (#794)
45e3430
Motivation:

When on windows we should only try to build openssl-classesand
boringssl-static as nothing else is supported atm

Modifications:

- Add profile for windows which configure the correct modules to use
- Adjust workflow for windows to depend on the new profile

Result:

./mvn clean package works on windows out of the box
@normanmaurer
Fix native memory leak in SSL.parseX509Chain when the BIO is null (#1025
95d12fe
)

Motivation:

When using BoringSSL or AWS-LC SSL.parseX509Chain(...) allocated the
STACK_OF(CRYPTO_BUFFER) before checking that the BIO argument is not
null.
If it was null we threw a NullPointerException and returned without
freeing
the stack.

Modifications:

- Allocate the stack only after the BIO argument was validated.

Result:

No more native memory leak when SSL.parseX509Chain(...) is called with a
null BIO.
@normanmaurer
Fix native memory leaks in SSLContext.setPrivateKeyMethod0 (#1026)
fb4f4a0
Motivation:

SSLContext.setPrivateKeyMethod0(...) builds the method signatures for
the
sign and decrypt lookups via NETTY_JNI_UTIL_PREPEND(...). The macro
assigns
the result to the given variable without freeing the previous value.
After
looking up the sign method the variable still held the sign signature,
which
was then overwritten by the first PREPEND for the decrypt lookup and so
leaked on every call. In addition the early returns when a method lookup
or
NewGlobalRef(...) failed skipped the cleanup label and leaked the
signature
as well.

Modifications:

- Free the sign signature before reusing the variable for the decrypt
  signature.
- Jump to the cleanup label instead of returning directly when a method
  lookup or NewGlobalRef(...) fails.

Result:

No more native memory leak when configuring an async private key method.
@normanmaurer
Fix native memory leaks in SSLContext JNI_OnLoad (#1027)
36b3a6b
Motivation:

netty_internal_tcnative_SSLContext_JNI_OnLoad(...) leaked native memory
every time the library was loaded. NETTY_JNI_UTIL_PREPEND(...) assigns
the
result to the given variable without freeing the previous value, so each
reuse of the name variable leaked the string it held before. On the
success
path the last name and the dynamic methods table, including the
signatures
it owns, were never released either as only the error path freed them.

Modifications:

- Free the name before it is reused by NETTY_JNI_UTIL_PREPEND(...) and
  before returning successfully.
- Release the dynamic methods table right after RegisterNatives(...) as
the
  VM does not keep a reference to it.

Result:

No more native memory leak when the library is loaded.
@normanmaurer
Throw NPE when null is passed to setSessionTicketKeys0 and setSession…
7d2095b
…IdContext (#1028)

Motivation:

SSLContext.setSessionTicketKeys0(...) and
SSLContext.setSessionIdContext(...)
called GetArrayLength(...) on the byte[] argument without checking for
null
first. Calling GetArrayLength(...) with null is undefined behavior
according
to the JNI specification and most likely crashes the JVM.

Modifications:

- Throw a NullPointerException if the byte[] argument is null, like we
do
  for the other array arguments.

Result:

Passing null no longer risks crashing the JVM and results in a
NullPointerException instead.
@normanmaurer
Do not discard the configured password when setCertificate(Bio) fails…
4239372
… without a new one (#1030)

Motivation:

SSLContext.setCertificate(...) and SSLContext.setCertificateBio(...)
only
replace the stored password if a new one is given, and restore the
previous
one on failure via free_and_reset_pass(...). The helper did not know
whether
a replacement happened and so, if the call failed without a new
password, it
freed the password that was configured before and set it to NULL. Later
loads of encrypted keys on the same context would then lose the
password.

Modifications:

- Pass whether the password was replaced to free_and_reset_pass(...) and
  leave c->password untouched if it was not.

Result:

A failed setCertificate(...) or setCertificateBio(...) call keeps the
previously configured password.
@normanmaurer
Upgrade apr to 1.7.6 (#1032)
334562d
Motivation:

We used an older apr version. Let's update to 1.7.6

Modifications:

- Update to latest apr version
- Verify SHA256 of apr on windows after download

Result:

Use latest apr release.
@normanmaurer
Fix native memory leak in SSL_CTX_setup_certs when using BoringSSL or…
649b313
… AWS-LC (#1031)

Motivation:

SSL_CTX_setup_certs(...) allocated the STACK_OF(CRYPTO_BUFFER) at the
top of
the function but only hands it over to the SSL_CTX in the CA branch. The
early return when skipping the first certificate failed and the return
in the
non-CA branch did not free the stack and so leaked it. Neither is
reachable
from the current callers when using BoringSSL or AWS-LC, but this is
easy to
break with a future change.

Modifications:

- Allocate the stack only in the CA branch, right before it is used.

Result:

Every early return now either has not allocated the stack yet or frees
it, so
no more native memory leak is possible.
@normanmaurer
Throw IllegalArgumentException when signing algorithm id does not fit…
8791bf5
… into 16 bits (#1034)

Motivation:

SSLCredential.setSigningAlgorithmPrefs(...) casted each jint to
uint16_t, so
an out of range value (for example 0x10804 or -1) was silently turned
into a
different, valid looking signature algorithm id.

Modifications:

Validate that every id is in the range 0..0xFFFF and throw an
IllegalArgumentException otherwise.

Result:

Invalid signing algorithm ids are rejected instead of being truncated.
@normanmaurer
Fix infinite loop in musl_compat fallbacks on old glibc headers (#1037)
9e9ed1d
Motivation:

The x86_64 release artifacts are built against glibc 2.12 headers, where
strdup(s) is defined as a macro calling __strdup(s) and isinf(x) /
isnan(x) expand to calls to __isinf(x) / __isnan(x). musl_compat.c only
undefined the __-prefixed names, so the __strdup, __isinf and __isnan
fallbacks called themselves and GCC compiled them to a jump to
themselves. On musl (Alpine) these fallbacks are the only definitions,
so
loading a shaded / relocated copy of the library hung forever in
JNI_OnLoad when it called strdup(packagePrefix).

See #1024

Modifications:

- Call (strdup)(...) so the function-like macro is not expanded.
- Use __builtin_isinf_sign(...) and __builtin_isnan(...) instead of the
  isinf / isnan macros, which keeps the result of the glibc functions.
- Fail the build when compiled with _FILE_OFFSET_BITS=64 as the fopen64
  fallback would call itself in the same way.

Result:

OpenSsl.isAvailable() no longer hangs when the library is shaded on
Alpine x86_64.
@normanmaurer
Don't sign-extend int options into the 64 bit SSL options (#1035)
50ba705
Motivation:

SSL(Context).setOptions(...) and clearOptions(...) take a Java int but
pass it
directly to SSL(_CTX)_set_options / clear_options, which take uint64_t
in
OpenSSL 3.x. A value with bit 31 set was sign-extended and so also
set / cleared bits 32-63.

Modifications:

Convert the int to uint32_t before passing it on.

Result:

Only the bits that were requested are changed.
@normanmaurer
Validate timeout, cache mode and cache size before narrowing them (#1036
2f46107
)

Motivation:

SSLContext.setSessionCacheTimeout / setSessionCacheMode /
setSessionCacheSize
and SSL.setTimeout / SSLSession.setTimeout take a Java long but hand it
to
OpenSSL / BoringSSL functions that take narrower types: uint32_t
(timeout) and
int (cache mode) on BoringSSL / AWS-LC, and long on OpenSSL, which is
only 32
bit on Windows. Out of range values were silently truncated or wrapped.

Modifications:

Reject values that do not fit the target type with an
IllegalArgumentException. Negative timeouts are rejected as well.

Result:

Out of range values fail loudly instead of being silently changed.
@normanmaurer
Update to latest netty-jni-util release
6bbecbd
Motivation:

We did cut a new netty-jni-util release, let's use it

Modifications:

Update to 0.0.12.Final

Result:

Use latest netty-jni-util release
@normanmaurer normanmaurer closed this Oct 30, 2026
@normanmaurer
normanmaurer deleted the jni-util-0.0.12 branch October 30, 2026 16:38
@normanmaurer
normanmaurer restored the jni-util-0.0.12 branch October 30, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@normanmaurer @k-raina @netty-project-bot @zekronium @jorsol @chrisvest @klaren @vietj @sfc-gh-grubin @skmcgrail @davidben @jmcrawford45 @slessard @jlnhws @m1ngyuan @doom369 @anavarr @colleenkinross @mawiwill @dingxiangfei2009
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.