This is an automated email from the ASF dual-hosted git repository.
sebb pushed a change to branch profiletidy
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
from d3a428bc Wrong branch
add 6019124b Normalize getter Javadoc
add 6723decc Normalize setter Javadoc
add d705f0fd Adhoc test for mac/win
add 6e70a501 Bump to Maven 3.8.8 (#265)
add 32f9e184 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-crypto.git
add 8673d69f Try the parent dir
add d9edb0d6 Comments
add f3a8a6ac Try extracting library path
add caea4028 Missing "
add e673f1a1 Keep trying
add 551e13a9 Keep trying
add 7bb39c84 Drop deprecated rules (will be removed in 7.x)
add 88c708e7 Try to fix windows
add df573ff1 Wrong test [skip ci]
add 186937dc Windows uses PowerShell [skip ci]
add 32800f25 Windows uses PowerShell [skip ci]
add f80a4401 Getting there [skip ci]
add 6a64cc79 Not picking up correct library [skip ci]
add 5d2b8532 Show details of crypt library actually loaded
add 8a22523c Try to fix ED define [skip ci]
add 08441575 Use RE replace [skip ci]
add 85c7c5f4 replace appears to be case insensitive [skip ci]
add b2ef1d20 Missing ) [skip ci]
add c922fb50 Try OPENSSL_HOME [skip ci]
add df296ab2 Oops [skip ci]
add 545fe850 Try to find the library [skip ci]
add 7dedc575 Use bash on Windows [skip ci]
add 14a824dd Maybe under PF [skip ci]
add 5d3c7bf9 Try path from search [skip ci]
add cbb3433a Trailing blanks [skip ci]
add c6f474bf No target clean-native; cannot be used
add 016701ed Target documentation [skip ci]
add 229d839a Wrap overlong line [skip ci]
add f239f16d Ensure all known_os_archs have targets
add 9fb0f250 dlerror can be a long message
add 650f60ec CRYPTO-171 - openssl(2) not supported
add c0879b9f Current release is 1.2.0 [skip ci]
add 2e7dfeb4 Override system openssl library on macOS
add 1ec9014d Document recent updates [skip ci]
add 7a3632aa Tidy up library defines
add 569c6259 Allow JNA no-override to fail
add ed4ea615 Ensure that tests actually load OpenSSL
add 4db14927 Clarifies Java platform requirement
add 032c5e53 Clarifies Java platform requirement
add c2865b7c Allow OpenSSL check to be skipped for Windows
add 90ed1f30 Incorrect duplicate [skip ci]
add 902745f9 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-crypto.git
add 53c8c88e Not available under bash
add 5ceb0000 bash shell changes the openssl library on Windows
add 13c44eac Reorganise tests
add ef82b39a No longer needed [skip ci]
add c0a9499d Normalize test method names
add 2bd9a51a Sort test members
add f930e931 Make package private class final
add d654a391 CRYPTO-172: Add support for Linux-riscv64 (#264)
add bd224ab3 Move cross-build into separate action
add 1a23cd85 Doc [skip ci]
add d3786856 Added riscv64 support [skip ci]
add aed0ea47 Add JNA support for OpenSSL3
add 9e2fd17d Does not depend on JNA [skip ci]
add 3a09ee31 Simplify native code by moving differences into macros (#266)
add 53087dac Use actual size
add 246e4438 Trying to find OpenSSL library
add 6cffdeed Fix?
add 4cc97b2e Sp
add 14b60357 Contd
add 4a36043d Try test
add 6dda2c42 Indentation
add ab048edf See if can get further
add 3fca5d03 Try lib
add 97014422 More details
add e6e6f140 Does debug cause a fail?
add e5e4b848 What's the difference?
add 3394ad61 May not be supported [skip ci]
add 9ab98925 Silence curl; replace wget with curl [skip ci]
add 7395dba4 debug needs second param; provide more info
add ae512354 Need to install curl ... [skip ci]
add b14e40bd Tidy
add 9df7f45e CRYPTO-167 - cannot use THROW to report !env
add d9319164 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-crypto.git
add d7ced409 PMD fails build for redundant final qualifier
add 191851be Also show platform property
add c3750c59 Oops, GetLastError returns a DWORD
add 950bf175 Centralise error reporting
add e51a9259 CRYPTO-174: Allow override of SSL library name for Windows
(#267)
add a615f2e3 Windows needs different property names
add 9e70ff0b Try to trace Windows crash
add 9e45823d Revert "Try to trace Windows crash"
add 6eac7f84 Revert "Windows needs different property names"
add 6feb07d6 Revert "CRYPTO-174: Allow override of SSL library name for
Windows (#267)"
add 085efe05 CRYPTO-174: Allow override of SSL library name (#269)
add ce098a49 Try Windows test no override
add 89c357d6 Allow separate testing of JNI/JNA
add bcc97ea1 Rename class to agree with contents
add 8d7bfe34 Drop check for OpenSSL library
add 56a15dd6 Define version 3 constant [skip ci]
add 03f88de6 Allow for renamed OpenSSL3 methods
add d02f448d Try macos and ubuntu latest
add a8535d34 Try Java 21
add bac5269c Magic numbers => constants
add 9d866730 Prevent JNI code from loading under testjna
add 291e7095 Magic numbers replaced with constants
add e63e2465 Don't load JNI when testing JNA
add 56551a16 Add JNI/JNA independence tests
add 85f34ee9 Override default library
add 52cb516d Only need to run it on one OS
add 73a1bd5f Changes to cross-build are not relevant
add ce6aaaf5 Bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#270)
add 8a96ee5d Force JNA to fail if testing JNI and vice-versa
add 171600d7 Test on SSL3 if present
add 444f98b2 Show more info on failure
add 54966799 Merge branch 'master' into profiletidy
No new revisions were added by this update.
Summary of changes:
.github/workflows/benchmarkadhoc.yml | 2 +-
.github/workflows/coverage.yml | 2 +-
.github/workflows/maven.yml | 79 ++++++++------
.../{benchmarkadhoc.yml => maven_adhoc.yml} | 61 +++++------
.github/workflows/maven_crossbuild.yml | 52 ++++++++++
Makefile | 30 +++++-
Makefile.common | 21 +++-
PROPOSAL.html | 56 +++++-----
RELEASE-NOTES.txt | 7 +-
pom.xml | 68 ++++++++++--
src/changes/changes.xml | 27 ++++-
src/conf/checkstyle/checkstyle.xml | 2 +
src/conf/pmd/pmd-ruleset.xml | 14 ---
src/docker/Dockerfile | 8 +-
src/docker/Dockerfile.aarch64 | 38 +++++++
src/docker/Dockerfile.riscv64 | 38 +++++++
src/docker/README.md | 2 +-
src/docker/build.sh | 5 +-
src/docker/docker-compose.yaml | 26 ++++-
.../java/org/apache/commons/crypto/Crypto.java | 33 ++++--
.../apache/commons/crypto/NativeCodeLoader.java | 12 ++-
.../apache/commons/crypto/cipher/JceCipher.java | 4 +-
.../crypto/cipher/OpenSslGaloisCounterMode.java | 4 +-
...20XNativeJna.java => LibreSsl20XNativeJna.java} | 3 +-
...l11XNativeJna.java => OpenSsl30XNativeJna.java} | 6 +-
.../crypto/jna/OpenSslInterfaceNativeJna.java | 6 +-
.../org/apache/commons/crypto/jna/OpenSslJna.java | 15 ++-
.../commons/crypto/jna/OpenSslJnaCipher.java | 16 +--
.../commons/crypto/jna/OpenSslNativeJna.java | 22 ++--
.../commons/crypto/random/JavaCryptoRandom.java | 2 +-
.../commons/crypto/stream/CryptoInputStream.java | 2 +-
.../commons/crypto/stream/CryptoOutputStream.java | 2 +-
.../crypto/stream/CtrCryptoInputStream.java | 8 +-
.../crypto/stream/CtrCryptoOutputStream.java | 4 +-
.../java/org/apache/commons/crypto/utils/AES.java | 2 +-
.../org/apache/commons/crypto/utils/Utils.java | 18 +++-
.../org/apache/commons/crypto/DynamicLoader.c | 38 +++++--
.../org/apache/commons/crypto/OpenSslInfoNative.c | 29 +-----
.../apache/commons/crypto/cipher/OpenSslNative.c | 72 ++++---------
.../commons/crypto/org_apache_commons_crypto.h | 25 +++--
.../crypto/random/OpenSslCryptoRandomNative.c | 47 ++-------
.../random/org_apache_commons_crypto_random.h | 2 +-
src/site/xdoc/download_crypto.xml | 2 +-
src/site/xdoc/index.xml | 6 +-
src/site/xdoc/proposal.xml | 6 +-
src/site/xdoc/userguide.xml | 4 +-
.../org/apache/commons/crypto/CryptoBenchmark.java | 2 +-
.../java/org/apache/commons/crypto/CryptoTest.java | 4 +-
.../commons/crypto/cipher/AbstractCipherTest.java | 114 ++++++++++-----------
.../crypto/jna/AbstractCipherJnaStreamTest.java | 25 ++++-
.../jna/PositionedCryptoInputStreamJnaTest.java | 15 ++-
.../commons/crypto/random/FailingRandom.java | 2 +-
.../apache/commons/crypto/random/NoopRandom.java | 2 +-
.../crypto/stream/AbstractCipherStreamTest.java | 3 +-
.../stream/PositionedCryptoInputStreamTest.java | 22 ++--
55 files changed, 709 insertions(+), 408 deletions(-)
copy .github/workflows/{benchmarkadhoc.yml => maven_adhoc.yml} (54%)
create mode 100644 .github/workflows/maven_crossbuild.yml
create mode 100644 src/docker/Dockerfile.aarch64
create mode 100644 src/docker/Dockerfile.riscv64
rename src/main/java/org/apache/commons/crypto/jna/{OpenSsl20XNativeJna.java
=> LibreSsl20XNativeJna.java} (99%)
copy src/main/java/org/apache/commons/crypto/jna/{OpenSsl11XNativeJna.java =>
OpenSsl30XNativeJna.java} (97%)