You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/14 21:52:46 UTC
[commons-crypto] branch release updated (58cbe18 -> 9f85cf7)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
from 58cbe18 Update site front page with what was tested for the 1.1.0 release.
add 46f49de Update release notes with download link.
add a57cc78 Fix download link.
add a79bf22 Update commons.jacoco.version 0.8.5 to 0.8.6 (Fixes Java 15 builds).
add a746c59 A Dockerfile for Linux and Windows.
add 9427d19 Add SECURITY.MD.
add 908dd3f Typo.
add f46eef1 Use final.
add ad89984 Remove redundant modifiers like private on enum constructors.
add 5f2cf91 Use final.
add fc8d058 Add missing '@Override' annotations.
add 49fe627 CRYPTO-154 - Dangling Javadoc comment
add e1bcf30 Update Dockerfile-luw
add baa2a74 Merge pull request #113 from arturobernalg/feature/CRYPTO-154
add 049c038 [CRYPTO-154] License header should be a plain comment #113.
add 3c9c78d [CRYPTO-154] License header should be a plain comment #113.
add ca96d52 CRYPTO-155 - Minor improvement
add f62fd27 Merge pull request #115 from arturobernalg/feature/CRYPTO-155
add faa474d [CRYPTO-155] Minor improvement #115.
add 982e317 CRYPTO-153 - Bump coveralls-maven-plugin from 3.1.0 to 4.3.0
add 9208d1e Merge pull request #112 from arturobernalg/feature/CRYPTO-153
add 5871348 Bump coveralls-maven-plugin from 3.1.0 to 4.3.0 #112.
add d108b1d Add GitHub Dependabot.
add 83492ce Bump maven-pmd-plugin from 3.13.0 to 3.14.0
add 91650c2 Merge pull request #122 from apache/dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.14.0
add 2ed0f2b Define and use a default goal for Maven builds.
add 2ed4f9b CRYPTO-151 - Migrate to Junit 5
add 8f45c6a Merge pull request #114 from arturobernalg/feature/CRYPTO-151
add 4a4773f [CRYPTO-151] Migrate to Junit 5 #114.
add 3d9116a More minor improvement:
add 661d2a2 Merge pull request #125 from arturobernalg/feature/minor_improvement
add 5c04600 More minor improvements #125.
add 1192d37 Bump jna from 5.5.0 to 5.6.0
add 8c4be70 Merge pull request #123 from apache/dependabot/maven/net.java.dev.jna-jna-5.6.0
add 52d2baf Bump jna from 5.5.0 to 5.6.0 #123.
add 5e5b0f2 Update commons.japicmp.version 0.14.3 -> 0.14.4.
add 9c76b2c Update commons.japicmp.version 0.14.4 -> 0.15.1.
add b8fe6f9 Update README.md
add f17af10 Update README.md
add 5d3a3fd Minor Performances Improvement:
add d76cdc7 Merge pull request #128 from arturobernalg/feature/minor_performances_improvement
add 00e5941 Fix PMD warning and don't init to defaults #128
add a6f0160 Collapse multiple identical catch clauses into one.
add a88bf19 Update com.github.siom79.japicmp:japicmp-maven-plugin 0.15.1 -> 0.15.2.
add 05e4acb Fix Checkstyle configuration DTD link.
add cca4d8d Use isEmpty().
add 6b1a696 Remove trailing whitepsace.
add baa0d8f Raise embedded if into parent if.
add a9fe614 Add GitHub code of conduct page that points to the Apache page.
add 1bd7b85 Update my developer entry.
add 4bbce88 Organize imports.
add 1e25fed Bump junit-bom from 5.7.0 to 5.8.1
add c366c8c Merge pull request #137 from apache/dependabot/maven/org.junit-junit-bom-5.8.1
add 7104450 Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #130.
add 0b1045e Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2
add 417e911 Merge pull request #130 from apache/dependabot/maven/org.apache.maven.plugins-maven-checkstyle-plugin-3.1.2
add 0643d97 Bump jmh.version from 1.12 to 1.27
add 753082a Merge pull request #119 from apache/dependabot/maven/jmh.version-1.27
add 4b15fb2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git
add 1027e64 Bump jmh.version from 1.12 to 1.27 #119.
add eb26ce3 Bump exec-maven-plugin from 1.6.0 to 3.0.0
add 5a0aed9 Merge pull request #121 from apache/dependabot/maven/org.codehaus.mojo-exec-maven-plugin-3.0.0
add 883bc9e Bump exec-maven-plugin from 1.6.0 to 3.0.0 #121.
add 5263d0b Typo.
add 8476e3e Bump maven-antrun-plugin from 1.8 to 3.0.0
add 67c1297 Merge pull request #120 from apache/dependabot/maven/org.apache.maven.plugins-maven-antrun-plugin-3.0.0
add 5659791 Bump maven-antrun-plugin from 1.8 to 3.0.0 #120.
add eb084a5 Update plugin dependencies not picked up by Dependabot.
add 386dc3b Merge pull request #138 from garydgregory/update_plugin_deps
add 555dd26 Update plugin dependencies not picked up by Dependabot. #138
add 87c46e1 Update dependency not picked up by Dependabot.
add 80820ad Merge pull request #139 from garydgregory/update_jna
add 3eaaabb Bump net.java.dev.jna:jna 5.6.0 -> 5.9.0 #139.
add 68e3d94 Bump maven-pmd-plugin from 3.14.0 to 3.15.0
add 8229fc3 Merge pull request #140 from apache/dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.15.0
add eb47203 Bump maven-pmd-plugin from 3.14.0 to 3.15.0 #140
add 896b2a2 * Replace with <>. (#135)
add 41ec4a6 Minor changes #135.
add 20fdb30 Run dependabot once a week.
add 8c0786d Add CodeQL GitHub workflow.
add ff5e4ea Add CodeQL GitHub workflow.
add e579f5c Update NOTICE file for 2022.
add 5644884 Comment empty block.
add e58cc27 Javadoc.
add d606eeb Don't ignore native API return code, more to do.
add 236d642 Use try-with-resources.
add e06fefd Use try-with-resources.
add 3d987f2 Add GitHub build on macOS
add ca0742c Bump commons.japicmp.version from 0.15.3 to 0.15.7.
add bc12dc5 Bump junit from 5.8.1 to 5.8.2
add f94654b Bump net.java.dev.jna:jna from 5.9.0 to 5.10.0
add f7a3f9d Port from pre-Java 8 javah tool to Java 8 and up javac with the -h option.
add 1ad15f0 Build on Java 11 nad 17.
add 3f5a0f0 Fail early when the resource is not found which makes SpotBugs happy on Java 17.
add efe41a6 Weird changes to make tests not crash on Java 11 and 17.
add 20e431d Bump actions/checkout from 2 to 3 (#149)
add 508ed7e Bump actions/checkout from 2 to 3 #149
add 44e9343 Update chanegs.xml for recent fixes.
add 06f76c3 Bump taglist-maven-plugin from 2.4 to 3.0.0 (#147)
add f67062f Bump taglist-maven-plugin from 2.4 to 3.0.0 #147
add 83942a0 Update chanegs.xml for recent fixes.
add 087f92a Bring back JNA 5.10.0.
add 0ed7fec Bump jmh.version from 1.27 to 1.34 (#146)
add bcdf2e1 Bump jmh.version from 1.27 to 1.34 #146
add 74e3221 Bump actions/cache from 2.1.7 to 3 (#150)
add 1a397e3 Bump actions/cache from 2.1.7 to 3 #150
add 76e8809 Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#152)
add c9ecb82 Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #152
add 3b53d99 Delete .travis.yml
add 1a44255 Bump jna from 5.10.0 to 5.11.0 (#153)
add 7d9e72a Bump jna from 5.10.0 to 5.11.0 #153
add f50d1b4 Try this
add dbb30c7 Syntax
add 7f1953d Add EOS constant that represent the end of the stream
add c7a48d0 Merge pull request #132 from arturobernalg/feature/end_of_stream
add 3625581 git-wip-us => gitbox
add 9c02d87 Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 (#154)
add 2f12894 Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 #154
add 9a19970 Group some updates.
add d7c39dd Bump actions/cache from 3 to 3.0.2
add ef4bf29 Bump actions/setup-java from 2 to 3
add 6e8cebe Suggesting build with Docker.
add 04b7c13 += AL2
add f20c834 Bump actions/cache from 3.0.2 to 3.0.3
add 6019a49 Organize
add 384b827 Bump actions/cache from 3.0.3 to 3.0.4
add 8742210 Add coverage.yml
add d1072ac Bump commons-parent from 52 to 53
add 20c8fd6 Bump maven-antrun-plugin from 3.0.0 to 3.1.0 (#158)
add ff096e3 Bump maven-antrun-plugin from 3.0.0 to 3.1.0 #158
add 995e44b Bump jmh.version from 1.34 to 1.35 (#157)
add 44fda4f Bump jmh.version from 1.34 to 1.35 #157
add 8e39214 Bump github/codeql-action from 1 to 2 (#159)
add 56aa010 Bump github/codeql-action from 1 to 2 #159
add 83a0817 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git
add 58dbae4 Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0 (#160)
add 2135e3b Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0 #160
add b478e4c Clean up.
add f8645e2 Bump commons.javadoc.version from 3.3.2 to 3.4.0
add fb9299a Remove redundant entry
add 842b55e Bump commons.surefire.version from 3.0.0-M5 to 3.0.0-M7
add 02e3c71 Add Ubuntu build to GitHub
add fcdb396 CRYPTO-160: Improve quality for methods, that JavaCryptoRandom inherits from Random.
add de6d7aa Undoing accidental white space changes.
add 82a2434 Typo
add 26c7767 Looks like Windows has yet to be tried
add f2ceaaa Don't trigger on changes to maven GH action
add cdfa399 Trying to fix Windows build
add 6da539a Allow to continue
add e8b4eeb Duh! Wrong OS
add 541bcba Wromg command for Windows
add f4f3013 Try c:
add e85cc06 Alternative find
add fa91723 Windows wants "
add c223bb4 Keep trying
add b525817 Again
add 7a807ea Again
add 6143084 Restore main build; hive off Windows
add b8a07a8 Dummy change to trigger GH builds
add 37d6185 Keep looking for the openssl header files
add f0d105c Trigger ourselves
add a0623cc Need quotes
add e0b58cd Start with C
add 3cc8c0f Looks like we need to set OPENSSL_HOME
add ff00285 Find is slow
add 3b6bd4b Wrong syntax for PowerShell
add 95655c4 Try setting in script
add e5ba118 Let's see if Windows can join the other builds
add 3574de9 No longer needed
add b40e0e3 Use ASF download CDN
add 4d94261 More recent Ubuntu
add e2ccf56 sudo no longer present nor needed
add 03fa61d Sample build of native code
add b54f906 Oops, wrong level
add 2c59385 Don't copy build script
add ab2f444 Missing path separator
add d58e778 Merge branch 'master' into sebb-docker
add 0caf57d Keep Docker files together; add some docn
add b2212c4 No longer needed
add 335f964 How to add items to build
add e8677e9 Fix up some docs
add ec1d46d Merge branch 'master' into sebb-docker
add 42aafac Fix warning
add f27b801 Instructions are in README file
add 7937428 Add missing win and linux builds from pom profiles
add 7922e7a Fix warning
add 4a22092 Correct capitalisation
add aea82ec Merge branch 'master' into sebb-docker
add d77e054 Document build process
add a9b15a3 Allow for Checkstyle syntax change
add e48d56b Merge branch 'master' into sebb-docker
add 514b857 Ensure the correct openssl config file is present
add 3226531 Fix up comments
add 6ea4b69 Show generated native files
add 0e32cf1 Redundant; does the same as the previous two lines
add 8fb98c2 CRYPTO-163 Makefile does not recompile objects if local include files are changed
add 16345bc Merge branch 'master' into sebb-docker
add 3ee3f65 Simplify; provide fallback names in .c files
add f9f9896 Suppress noisy Maven output
add ca9d9c4 No point having cron job as well
add 5a50c7f Avoid crash in CodeQL test
add 1a52e1b Useless parentheses (PMD)
add 70aa5c9 Show build details
add dd9f830 Check run conditions
add 3fade74 Don't write to stdout in tests
add b118874 Show version info
add 0cad865 Looks like JVM warnings may be causing test fails
add e0dad4f Looks like this was done ages ago
add b74620b Try to avoid output crash
add 31d7eb8 Temporarily disable failures
add f27754c Will this help?
add 44d7741 Try to set argline conditionally
add 583bbfe Try to set argline conditionally
add 46c7441 Must use same library name for all 3 classes
add 5fca1fe What version did we detect?
add f75fcd5 Re-use the library once found by NativeLibrary.
add 4fe3ef6 Documentation corrections
add 4dbb080 Add some doc pointers
add 3e499d4 Align comparable methods; more docs
add c6322c0 Revert 46c7441 - fix initialisation circularity
add 9ebc855 Illegal-access deny causes other problems
add 8c16634 Try to get QL completing
add c7c5cba Try alternate fix
add a00ad68 Need Java8 for now
add 7b163dc Need Java8 for now
add f7a45e3 Fix up syntax error caused by comment removal
add 5e6c104 Add sample program runs to check builds further
add c333483 Adhoc tests
add dbce71d Use different name
add 438c01c Try 1.1.0
add d84e51d Ensure both samples will run; try 1.1.0 and now
add 0d3fff0 Docco - no code changes
add 7704b70 What SSL is installed?
add b5a9784 Wrong place
add 0d13a40 Find did not work; try ls
add 7995350 Where is everyone?
add 1c51028 Try Windows
add 95c88b0 Cant combime with always
add 5bb858c Fix shell
add d9b6ae3 config.h is included unconditonally below
add bc5af9c Standardise order of qualifers
add 3a07548 No need to run RAT here
add 8539d5f Add basic tests
add aa9c272 Add DLLName and DLLPath methods
add 4c1fc8e Ensure error is propagated
add a4a2347 Try to find libcrypto on Windows
add 0db6b5d Is libcrypto in the parent dir
add e14443e Quote space
add 9915f50 Move private method to class which uses it
add d6527ce Minor tidy; no code changes
add 31c5af1 Need to disable another test
add 4e562be argLine was a red herring
add 2c13740 Show more library info
add 472d16b Show some additional info if loaded OK
add 775cb6d Try to load correct libraries in Mac and Win
add b03f4f0 always does not seem to work in conjunction
add e219f00 Try to find library
add 5df3727 Still looking on macos
add 0143771 Try elsewhere
add c53701b Fix up to support LibreSSL
add 0b07ea7 Make PMD happy
add f6c3f59 Trying to find Windows overrid
add bd51de0 Env tests
add bea9187 += ubuntu
add 2ee6a3f Prepare for test of override code
add 760ccfd Add code to allow macOS dlopen override
add 1a7b06e Bump actions/cache 3.0.4 to 3.0.5
add b722ad7 Bump actions/cache 3.0.4 to 3.0.5
add 0725835 Bump spotbugs-maven-plugin from 4.7.0.0 to 4.7.1.0 (#168)
add a1a42e1 Bump spotbugs-maven-plugin from 4.7.0.0 to 4.7.1.0 #168
add 6cf0f47 Bump exec-maven-plugin from 3.0.0 to 3.1.0 (#170)
add 25cf86b Bump exec-maven-plugin from 3.0.0 to 3.1.0 #170
add 1045734 Bump junit-bom from 5.8.2 to 5.9.0 (#171)
add 57fb7c7 Bump junit-bom from 5.8.2 to 5.9.0 #171
add ee5f771 Bump maven-resources-plugin from 3.2.0 to 3.3.0 (#172)
add 1a239e7 Bump maven-resources-plugin from 3.2.0 to 3.3.0 #172
add b4f65df Update GitHub builds to use Temurin
add 983f10e Bump actions/cache from 3.0.5 to 3.0.6
add 6080d9b Bump spotbugs-maven-plugin from 4.7.1.0 to 4.7.1.1 (#174)
add f450380 Bump spotbugs-maven-plugin from 4.7.1.0 to 4.7.1.1 #174
add a9f2fa4 Bump actions/cache from 3.0.6 to 3.0.7
add 1710976 Private method PositionedCryptoInputStream.resetCipher(CipherState, long, byte[]) does not need to throw IOException
add c6d1870 Private method PositionedCryptoInputStream.postDecryption(CipherState, ByteBuffer, long, byte[]) does not need to throw IOException
add 6d74483 Add missing @Override annotations
add 4936aaf No tabs
add 1401375 Add Checkstyle check to default Maven goal.
add 5b4f72e Bump pmd from 6.44.0 to 6.48.0.
add f56c600 Bump jna from 5.11.0 to 5.12.1 (#167)
add a5e1813 Bump jna from 5.11.0 to 5.12.1 #167
add 443b419 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git
add 8b11bcb Remove trailing whitespace, use final, nest less, use compact arrays
add 825c999 Bump actions/cache from 3.0.7 to 3.0.8
add 3de671a Add CodeQL badge
add 4e2ccbc Bump maven-javadoc-plugin from 3.4.0 to 3.4.1.
add e84969b Bump maven-pmd-plugin 3.17.0 to 3.18.0
add 55e0672 Update provenance as comment.
add b5c6ba4 Update code coverage badge and link
add fa413ca Refer to master branch only and drop reference to trunk branch name
add de72e63 Use GAV coordinates Maven Central coordinates to make sure to pick up the latest
add 37385b6 Bump maven-pmd-plugin from 3.17.0 to 3.18.0 (#177)
add 6554a08 Bump maven-pmd-plugin from 3.17.0 to 3.18.0 #177
add fa7a920 Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 (#176)
add 68e46b2 Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #176
add d0d1922 Bump actions/checkout from 3 to 3.0.2.
add 789551d Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0 (#179)
add 4e6b2e6 Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0 #179
add 9dfda82 Bump maven-pmd-plugin from 3.18.0 to 3.19.0 (#178)
add 552ce85 Bump maven-pmd-plugin from 3.18.0 to 3.19.0 #178
add 3640ed3 Add same scorecards-analysis.yml as Apache Log4j (except for branches)
add 8731712 Use GitHub cache for CodeQL
add bcfd8b8 Bump junit-bom from 5.9.0 to 5.9.1 (#183)
add c45ea91 Bump junit-bom from 5.9.0 to 5.9.1 #183
add 6d67a8b Bump commons-parent from 53 to 54 (#182)
add f67d9b5 Bump commons-parent from 53 to 54 #182
add 01b5700 Drop Clirr property since commons-parent has replaced Clirr with JApiCmp.
add 8a147a3 Bump japicmp-maven-plugin from 0.15.7 to 0.16.0
add 99e5889 Bump actions/cache from 3.0.8 to 3.0.9 (#184)
add b3467e2 Bump actions/cache from 3.0.8 to 3.0.9 #184
add c774449 Move an entry
add 77f1068 Bump actions/setup-java from 3 to 3.5.1
add 7a4d715 Use Java 8 API
add 40fa73c GitHub Actions build: no top level permission defined
add 485541c Set to level permissions to 'read'
add 3925b46 Don't persist credentials unnecessarily
add 979f772 Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 (#189)
add 89facea Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 #189
add 92a814b Bump actions/checkout from 3.0.2 to 3.1.0 (#187)
add 584c53d Bump actions/checkout from 3.0.2 to 3.1.0 #187
add 755f758 Bump actions/cache from 3.0.9 to 3.0.11 (#188)
add a3bcde7 Bump actions/setup-java from 3.5.1 to 3.6.0 (#190)
add 4fce0e5 Bump actions/setup-java from 3.5.1 to 3.6.0 #190
add 22b5c3c Bump Scorecards from 1 to 2
add daf21a4 Reuse version of JUnit from parent POM
add b1c96d9 Bump actions/upload-artifact from 3.1.0 to 3.1.1 (#192)
add b195b92 Bump actions/upload-artifact from 3.1.0 to 3.1.1 #192
add 9710aaf Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git
add 3849ca6 Reuse JUnit dependency from parent POM
add d35b183 Bump pmd from 6.48.0 to 6.51.0.
add 150990d Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.3.0 (#193)
add 6e42421 Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.3.0 #193
add 38da6ea Bump jmh.version from 1.35 to 1.36 (#194)
add 47863c6 Bump jmh.version from 1.35 to 1.36 #194
add 18ddb50 Add GHitHub robots file
add 9930483 Bump pmd from 6.51.0 to 6.52.0
add 7ce4638 Lookup key in map only once
add 20e845b Bump actions/setup-java from 3.6.0 to 3.7.0 #126
add 6806ad8 Undo Bump actions/setup-java from 3.6.0 to 3.7.0
add ed0bfb4 Bump actions/setup-java from 3.6.0 to 3.8.0 (#195)
add 22ad077 Refactor common code
add e4b05cb Remove unused imports and clean up
add 58ed69f Use try-with-resources
add 317f7b2 ubuntu-latest uses OpenSSL 3 which breaks tests
add 8e31a74 Use try-with-resources
add 6eea05a ubuntu-latest uses OpenSSL 3 which breaks tests
add 853c7db Use try-with-resources
add 5bd55b5 Use JUnit Assumptions
add fa52049 Bump commons.japicmp.version from 0.16.0 to 0.17.1.
add ab08594 Bump commons.animal-sniffer.version from 1.20 to 1.22.
add ff26c0d Remove useless parens
add 9d97ebe Add AES utility class
add 8fdf651 Remove unused import
add 26c0a43 Document Animal Sniffer failures and revert version bump.
add efc1c28 Bump jaxb-impl from 2.3.6 to 2.3.7
add 9d62e9d Account for spirit of Add isEmpty method check if an String is empty or null. #133 with a new public method
add 4c2fa88 Minor bullet-proofing
add 481b802 Consistent this usage in ctor
add 55b11c6 Format
add 1e9d484 Javadoc
add e7731f4 Javadoc
add 3107441 Javadoc and format
add 3898a76 Use File constant
add 6851bd7 Better use of String API
add 265fc99 Better exception message
add 637d89b Add @SuppressWarnings
add d669943 Reuse own API and use ternary expressions
add 34a37c9 PositionedCryptoInputStream does not close its CryptoCipher instances
add fdb4bb8 Add Javadoc archive and security page
add f410436 ONly print init error if there is one
add 8c413d4 Bump commons-parent from 54 to 55 (#196)
add 096b32c Bump commons-parent from 54 to 55 #196
add 0e424a2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git
add 4ec0dab Move comment
add 8391625 Make instance variable final
add e56a5ff Format
add 7ac4456 Address TODOs in package private class
add 385f15e New test, formatting
add 7b4d5be Javadoc
add 6a159f4 Add test
add 1af79a0 Add @SuppressWarnings
add 8e6015e Use try-with-resources
add 48ae8fe Sort members
add 359140e Normalize name in test
add 6c7e85a Format
add b1e9ae6 Format
add e21eade Format
add 9b1d1b0 Better name
add 951732d Comments
add d73ddf8 Javadoc
add eac9f56 Format header
add b8105d9 Add missing tests
add b64c29c Javadoc
add 46fc17a Javadoc
add 32686c7 Format
add 772fb99 Add missing tests
add 4ca5371 Format and Javadoc
add 9fc5147 Format
add be349ed Normalize package-private abstract class name
add d713871 Format and Javadoc
add 6b5952f Javadoc
add 05969be Refactor duplicate code
add 0040f46 Refactor duplicate code
add f02901d Javadoc
add a484db6 [CRYPTO-160] Package-private class JavaCryptoRandom extends Random but should not
add 8a0abcd Javadoc
add dff65e5 Better internal name
add f45080f Format
add 241c0eb Javadoc
add 6186036 Make package-private classes final
add e163e48 In-line local single-use local var
add 5eb5b72 Validate return value from OpenSslNativeJna.EVP_CIPHER_CTX_set_padding().
add f2d7604 In-line local single-use local var
add e820943 Validate return value from OpenSslNativeJna.ENGINE_finish().
add 500889b Validate return value from OpenSslNativeJna.ENGINE_free()
add 79106e1 Bullet-proofing
add 89e9666 Javadoc
add af18580 Sort members
add 0d1bad6 Format tweaks
add d8cd67a Add missing test
add 24d1130 No need to override local var, use a ternary instead
add b605563 Missing console output line termination
add 2ad9665 Javadoc
add b922636 Javadoc
add 0aa26e9 Bump actions/checkout from 3.1.0 to 3.2.0 (#198)
add 50a9a43 Bump actions/setup-java from 3.8.0 to 3.9.0 (#197)
add 80b3d1e Bump ossf/scorecard-action from 2.0.6 to 2.1.0 (#199)
add 6ea1717 Javadoc tweak
add 0d0de80 Better main function
add fe7241d Javadoc
add 613abfd Remove obsolete comment
add 3630226 Refactor magic string
add 13443b8 Reuse own API
add 054b9e0 Javadoc
add f80da78 Convert local variable to constant
add 014d6b8 Remove extra EOL in debug output
add f5af8c3 More flexible internal method
add 97ec3bf More debug output
add f429145 Better debug output
add 162fa48 Remove unused
add 52cbdc1 More debug output
add 3694359 Comment out upcoming work
add c69f7d6 Bump ossf/scorecard-action from 2.1.0 to 2.1.2 (#202)
add 832d019 Bump actions/cache from 3.0.11 to 3.2.1 (#201)
add bc6c0fb Bump actions/cache from 3.2.1 to 3.2.2 (#203)
add a12f8fd Bump commons-parent from 55 to 56 (#204)
add ebdb6ac Bump commons-parent from 55 to 56 #204
add d3d3e91 Update NOTICE to 2023
add a2bfffd Bump actions/checkout from 3.2.0 to 3.3.0 (#205)
add 3e0668a Pick up JaCoCo version from parent POM
add 26c2b6d Pick up maven-surefire-plugin version from parent POM
add e13443e Pick up maven-javadoc-plugin version from parent POM
add 67ab1e8 Pick up maven-pmd-plugin version from parent POM
add ab9f285 Pick up japicmp-maven-plugin version from parent POM
add ebff88a Pick up pmd version from parent POM
add 152139a Fix build, mistaken early commit
add 74b65f3 Use final
add 41f4b34 License headers
add 2036de0 Bump actions/cache from 3.2.2 to 3.2.3 (#206)
add 1a3623d Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#207)
add 27bfc29 Pick up maven-pmd-plugin version from parent
add 5d1c819 Pick up spotbugs-maven-plugin version from parent
add c9df01c Use final
add f82d325 Bump Maven from 3.8.3 to 3.8.7
add 93398c7 Add dos2unix to deal with Windows vs Linux line endings
add 2c07fa3 Javadoc
add 5c60e15 Match description to code
add eefdbd2 Organize and better descriptions
add 363abe9 Sort members
add 81f16b6 Pick up maven-checkstyle-plugin version from parent POM
add 9ee9c7e Pick up spotbugs-maven-plugin version from parent POM
add be4d5bc Bump jna from 5.12.1 to 5.13.0 (#209)
add 01e9e4d Bump jna from 5.12.1 to 5.13.0 #209
add e43d55b Prepare for release candidate
add a6ea1b7 Prepare for release candidate
add 384c64b Fix typos
add 420b23e Prepare for release candidate
add 9f85cf7 Fix typo
No new revisions were added by this update.
Summary of changes:
.gitattributes => .github/GH-ROBOTS.txt | 13 +-
.gitattributes => .github/dependabot.yml | 21 +-
.github/workflows/adhoctest.yml | 103 +++
.github/workflows/codeql-analysis.yml | 104 +++
.github/workflows/coverage.yml | 60 ++
.github/workflows/maven.yml | 99 +++
.github/workflows/scorecards-analysis.yml | 69 ++
.travis.yml | 141 ----
BUILDING.txt | 25 +-
CODE_OF_CONDUCT.md | 17 +
CONTRIBUTING.md | 2 +-
Makefile | 32 +-
Makefile.common | 109 +--
NOTICE.txt | 2 +-
PROPOSAL.html | 4 +-
README.md | 74 +-
RELEASE-NOTES.txt | 124 ++-
SECURITY.md | 17 +
checkstyle.xml | 6 +-
pom.xml | 90 ++-
src/changes/changes.xml | 50 +-
src/changes/release-notes.vm | 5 +
src/docker/Dockerfile | 54 ++
src/docker/README.md | 77 ++
src/docker/build.sh | 46 ++
.../profile.jacoco => docker/build_linux32.sh} | 24 +-
.../profile.jacoco => docker/docker-compose.yaml} | 13 +-
.../resources/profile.jacoco => docker/tests.sh} | 32 +-
.../java/org/apache/commons/crypto/Crypto.java | 29 +-
.../apache/commons/crypto/NativeCodeLoader.java | 82 +-
.../apache/commons/crypto/OpenSslInfoNative.java | 31 +-
.../java/org/apache/commons/crypto/OsInfo.java | 122 +--
...her.java => AbstractOpenSslFeedbackCipher.java} | 74 +-
.../apache/commons/crypto/cipher/CryptoCipher.java | 128 ++--
.../commons/crypto/cipher/CryptoCipherFactory.java | 127 ++--
.../apache/commons/crypto/cipher/JceCipher.java | 176 ++---
.../org/apache/commons/crypto/cipher/OpenSsl.java | 294 +++-----
.../commons/crypto/cipher/OpenSslCipher.java | 175 ++---
.../commons/crypto/cipher/OpenSslCommonMode.java | 121 ++-
.../crypto/cipher/OpenSslEvpCtrlValues.java | 4 +-
.../crypto/cipher/OpenSslGaloisCounterMode.java | 229 +++---
.../commons/crypto/cipher/OpenSslNative.java | 129 ++--
.../apache/commons/crypto/cipher/package-info.java | 2 +-
.../commons/crypto/jna/OpenSsl10XNativeJna.java | 407 ++++++----
.../commons/crypto/jna/OpenSsl11XNativeJna.java | 368 ++++++---
...l10XNativeJna.java => OpenSsl20XNativeJna.java} | 416 +++++++----
.../crypto/jna/OpenSslInterfaceNativeJna.java | 91 +++
.../org/apache/commons/crypto/jna/OpenSslJna.java | 27 +-
.../commons/crypto/jna/OpenSslJnaCipher.java | 435 +++++------
.../commons/crypto/jna/OpenSslJnaCryptoRandom.java | 126 ++--
.../commons/crypto/jna/OpenSslNativeJna.java | 242 +++---
.../apache/commons/crypto/jna/package-info.java | 2 +-
.../org/apache/commons/crypto/package-info.java | 2 +-
.../apache/commons/crypto/random/CryptoRandom.java | 7 +-
.../commons/crypto/random/CryptoRandomFactory.java | 102 ++-
.../commons/crypto/random/JavaCryptoRandom.java | 95 +--
.../commons/crypto/random/OpenSslCryptoRandom.java | 114 ++-
.../crypto/random/OpenSslCryptoRandomNative.java | 19 +-
.../commons/crypto/random/OsCryptoRandom.java | 92 +--
.../apache/commons/crypto/random/package-info.java | 2 +-
.../commons/crypto/stream/CryptoInputStream.java | 748 ++++++++++---------
.../commons/crypto/stream/CryptoOutputStream.java | 371 ++++-----
.../crypto/stream/CtrCryptoInputStream.java | 631 ++++++++--------
.../crypto/stream/CtrCryptoOutputStream.java | 190 ++---
.../crypto/stream/PositionedCryptoInputStream.java | 372 ++++-----
.../commons/crypto/stream/input/ChannelInput.java | 126 ++--
.../apache/commons/crypto/stream/input/Input.java | 103 +--
.../commons/crypto/stream/input/StreamInput.java | 113 +--
.../commons/crypto/stream/input/package-info.java | 2 +-
.../crypto/stream/output/ChannelOutput.java | 32 +-
.../commons/crypto/stream/output/Output.java | 53 +-
.../commons/crypto/stream/output/StreamOutput.java | 69 +-
.../commons/crypto/stream/output/package-info.java | 2 +-
.../apache/commons/crypto/stream/package-info.java | 2 +-
.../crypto/utils/{package-info.java => AES.java} | 41 +-
.../org/apache/commons/crypto/utils/IoUtils.java | 72 +-
.../utils/{package-info.java => Padding.java} | 33 +-
.../commons/crypto/utils/ReflectionUtils.java | 116 ++-
.../commons/crypto/utils/Transformation.java | 115 +++
.../org/apache/commons/crypto/utils/Utils.java | 197 ++---
.../apache/commons/crypto/utils/package-info.java | 2 +-
.../org/apache/commons/crypto/DynamicLoader.c | 64 ++
.../org/apache/commons/crypto/OpenSslInfoNative.c | 52 +-
.../apache/commons/crypto/cipher/OpenSslNative.c | 8 +-
.../commons/crypto/org_apache_commons_crypto.h | 83 ++-
.../crypto/random/OpenSslCryptoRandomNative.c | 21 +-
src/site/resources/pmd/pmd-ruleset.xml | 1 -
.../resources/spotbugs/spotbugs-exclude-filter.xml | 25 +-
src/site/site.xml | 13 +-
src/site/xdoc/download_crypto.xml | 28 +-
src/site/xdoc/index.xml | 2 +-
src/site/xdoc/issue-tracking.xml | 2 +-
src/site/xdoc/mail-lists.xml | 22 +-
src/site/xdoc/proposal.xml | 2 +-
src/site/xdoc/security.xml | 45 ++
src/site/xdoc/userguide.xml | 24 +-
.../apache/commons/crypto/AbstractBenchmark.java | 33 +-
.../java/org/apache/commons/crypto/CryptoTest.java | 78 +-
.../commons/crypto/NativeCodeLoaderTest.java | 50 +-
.../org/apache/commons/crypto/OsInfoTest.java} | 18 +-
.../commons/crypto/cipher/AbstractCipherTest.java | 389 +++++-----
.../crypto/cipher/CryptoCipherFactoryTest.java | 58 +-
.../commons/crypto/cipher/CryptoCipherTest.java} | 24 +-
.../commons/crypto/cipher/DefaultCryptoCipher.java | 86 +++
.../commons/crypto/cipher/GcmCipherTest.java | 654 ++++++++--------
.../commons/crypto/cipher/JceCipherTest.java | 39 +-
.../commons/crypto/cipher/OpenSslCipherTest.java | 227 +++---
.../crypto/cipher/OpenSslCommonModeTest.java} | 16 +-
.../org/apache/commons/crypto/cipher/TestData.java | 14 +-
.../crypto/examples/CipherByteArrayExample.java | 89 ++-
.../crypto/examples/CipherByteBufferExample.java | 53 +-
.../commons/crypto/examples/RandomExample.java | 2 +-
.../commons/crypto/examples/StreamExample.java | 27 +-
.../commons/crypto/examples/package-info.java | 2 +-
.../crypto/jna/AbstractCipherJnaStreamTest.java | 38 +-
.../jna/CbcNoPaddingCipherJnaStreamTest.java | 8 +-
.../jna/CbcPkcs5PaddingCipherJnaStreamTest.java | 8 +-
.../commons/crypto/jna/CtrCryptoJnaStreamTest.java | 8 +-
.../jna/CtrNoPaddingCipherJnaStreamTest.java | 8 +-
.../commons/crypto/jna/OpenSslJnaCipherTest.java | 14 +-
.../crypto/jna/OpenSslJnaCryptoRandomTest.java | 58 +-
.../apache/commons/crypto/jna/OpenSslJnaTest.java} | 14 +-
.../commons/crypto/jna/OpenSslNativeJnaTest.java | 16 +-
.../jna/PositionedCryptoInputStreamJnaTest.java | 17 +-
.../commons/crypto/random/AbstractRandom.java | 7 +-
.../commons/crypto/random/AbstractRandomTest.java | 76 +-
.../crypto/random/CryptoRandomFactoryTest.java | 205 +++--
.../commons/crypto/random/FailingRandom.java | 11 +-
.../crypto/random/JavaCryptoRandomTest.java | 44 +-
.../random/{DummyRandom.java => NoopRandom.java} | 13 +-
.../crypto/random/OpenSslCryptoRandomTest.java | 48 +-
.../commons/crypto/random/OsCryptoRandomTest.java | 72 +-
.../crypto/stream/AbstractCipherStreamTest.java | 829 ++++++++++-----------
.../stream/CbcNoPaddingCipherStreamTest.java | 8 +-
.../stream/CbcPkcs5PaddingCipherStreamTest.java | 8 +-
.../commons/crypto/stream/CtrCryptoStreamTest.java | 178 ++---
.../stream/CtrNoPaddingCipherStreamTest.java | 8 +-
.../stream/PositionedCryptoInputStreamTest.java | 432 ++++++-----
.../crypto/stream/input/ChannelInputTest.java | 7 +-
.../crypto/stream/output/StreamOutputTest.java | 7 +-
.../org/apache/commons/crypto/utils/EnumTest.java | 63 +-
.../org/apache/commons/crypto/utils/UtilsTest.java | 44 +-
142 files changed, 7568 insertions(+), 6005 deletions(-)
copy .gitattributes => .github/GH-ROBOTS.txt (82%)
copy .gitattributes => .github/dependabot.yml (76%)
create mode 100644 .github/workflows/adhoctest.yml
create mode 100644 .github/workflows/codeql-analysis.yml
create mode 100644 .github/workflows/coverage.yml
create mode 100644 .github/workflows/maven.yml
create mode 100644 .github/workflows/scorecards-analysis.yml
delete mode 100644 .travis.yml
create mode 100644 CODE_OF_CONDUCT.md
create mode 100644 SECURITY.md
create mode 100644 src/docker/Dockerfile
create mode 100644 src/docker/README.md
create mode 100755 src/docker/build.sh
copy src/{site/resources/profile.jacoco => docker/build_linux32.sh} (59%)
mode change 100644 => 100755
copy src/{site/resources/profile.jacoco => docker/docker-compose.yaml} (79%)
copy src/{site/resources/profile.jacoco => docker/tests.sh} (59%)
mode change 100644 => 100755
rename src/main/java/org/apache/commons/crypto/cipher/{OpenSslFeedbackCipher.java => AbstractOpenSslFeedbackCipher.java} (50%)
copy src/main/java/org/apache/commons/crypto/jna/{OpenSsl10XNativeJna.java => OpenSsl20XNativeJna.java} (62%)
create mode 100644 src/main/java/org/apache/commons/crypto/jna/OpenSslInterfaceNativeJna.java
copy src/main/java/org/apache/commons/crypto/utils/{package-info.java => AES.java} (50%)
copy src/main/java/org/apache/commons/crypto/utils/{package-info.java => Padding.java} (54%)
create mode 100644 src/main/java/org/apache/commons/crypto/utils/Transformation.java
create mode 100644 src/main/native/org/apache/commons/crypto/DynamicLoader.c
create mode 100644 src/site/xdoc/security.xml
copy src/{main/java/org/apache/commons/crypto/package-info.java => test/java/org/apache/commons/crypto/OsInfoTest.java} (77%)
copy src/{main/java/org/apache/commons/crypto/cipher/package-info.java => test/java/org/apache/commons/crypto/cipher/CryptoCipherTest.java} (60%)
create mode 100644 src/test/java/org/apache/commons/crypto/cipher/DefaultCryptoCipher.java
copy src/{main/java/org/apache/commons/crypto/cipher/package-info.java => test/java/org/apache/commons/crypto/cipher/OpenSslCommonModeTest.java} (73%)
copy src/{main/java/org/apache/commons/crypto/jna/package-info.java => test/java/org/apache/commons/crypto/jna/OpenSslJnaTest.java} (82%)
rename src/test/java/org/apache/commons/crypto/random/{DummyRandom.java => NoopRandom.java} (83%)