Commit Graph

1139 Commits (master)

Author SHA1 Message Date
JacobBarthelmeh 925bf80281
Merge pull request #247 from cconlon/fipsRunAllCasts
JNI/JSSE: call wc_RunAllCast_fips() for FIPS builds when available
2025-01-06 15:34:46 -07:00
Chris Conlon 501150e170 JNI/JSSE: call wc_RunAllCast_fips() for FIPS builds when available, add conditional defines for per-algo CAST functions 2025-01-06 15:14:39 -07:00
Chris Conlon e138599124
Merge pull request #243 from gasbytes/LegacyDHEKeyExchange-patch
Added check for legacy DHE keys (for cipher suites using keys less than 1024 bits)
2024-12-23 16:16:43 -07:00
Reda Chouk 967f75e84b Proper styling for comments to match code standards (WolfSSLEngineHelper.java) and fixed identation (WolfSSLSocket.java) 2024-12-23 23:52:23 +01:00
Reda Chouk 20befbc368 Added check for legacy DHE keys (for cipher suites using keys less than 1024 bits) 2024-12-23 23:23:44 +01:00
Chris Conlon 9db7ff1f49
Merge pull request #242 from rlm2002/sniServerNames
getSNIRequest checks for null value before converting to String
2024-12-16 09:27:18 -07:00
Ruby Martin 5c6d7eb7c0 getSNIRequest checks for null value before converting to String 2024-12-12 16:34:30 -07:00
Chris Conlon 8ae65d442f
Merge pull request #241 from rlm2002/sniServerNames
Add getSNIRequestBytes() and modify return value of getSNIRequest()
2024-12-12 12:30:09 -07:00
Ruby Martin 8647c693d8 Add method getSNIRequestBytes() to return byte array, modify getSNIRequest to return String value of byte array 2024-12-12 10:48:22 -07:00
Chris Conlon 21beea33bb
Merge pull request #240 from rlm2002/sniServerNames
Return cached SNI request from Server side
2024-12-10 14:08:54 -07:00
Ruby Martin 6abb250d6f JSSE: return cached SNI request on Server side 2024-12-10 10:41:25 -07:00
JacobBarthelmeh d39d06cf94
Merge pull request #239 from cconlon/androidCustomConfig
Android: define WOLFSSL_CUSTOM_CONFIG in example Android app
2024-12-10 10:25:31 -07:00
Chris Conlon 8643c9b02c Android: define WOLFSSL_CUSTOM_CONFIG in example Android app, after wolfSSL PR 8262 2024-12-10 09:36:58 -07:00
JacobBarthelmeh 06feb77415
Merge pull request #236 from cconlon/get1Session
Always call wolfSSL_get1_session() inside native JNI WolfSSLSession.getSession()
2024-12-06 10:17:07 -07:00
Chris Conlon 4dbbef94b9 JNI: always call wolfSSL_get1_session() inside native JNI getSession(), callers expect to always free returned pointer 2024-12-06 09:41:33 -07:00
JacobBarthelmeh 87b6c6a65f
Merge pull request #233 from cconlon/ioStreamNullFix
JSSE: adjust variable resets in Input/OutputStream.close(), more SSLSession tests and fixes
2024-12-05 17:26:16 -07:00
Chris Conlon f164e6465d JSSE: add SSLSocket.getSession() tests throughout different times of connection establishment 2024-12-05 17:13:05 -07:00
Chris Conlon ed3db7a92c JSSE: correct reset of closing state in WolfSSLInputStream/OutputStream 2024-11-25 10:08:11 -07:00
Chris Conlon 36f54b02e8 JSSE: fixes for calling SSLSocket methods after SSLSocket.close() has been called 2024-11-25 10:08:08 -07:00
Chris Conlon 11f6f4b5cd JSSE: skip setting socket to null in Input/OutputStream.close(), so read/write() can detect closure 2024-11-22 14:22:57 -07:00
Chris Conlon 32ac8ac11c JSSE: skip setting ssl to null in Input/OutputStream.close() in case other thread is blocked in ssl.read/write() on select/poll() 2024-11-22 14:22:57 -07:00
JacobBarthelmeh 6e69cb2241
Merge pull request #235 from cconlon/jniDebug
Add JNI Java level debugging with System Property: wolfssljni.debug=true
2024-11-22 09:27:23 -07:00
Chris Conlon 2fa04177fc JNI: add wolfSSL JNI Java level debugging, add wolfssljni.debug=true System property support 2024-11-21 15:33:14 -07:00
JacobBarthelmeh fd51ab9a19
Merge pull request #234 from cconlon/socketConnect
SSLSocket: remove unnecessary connect() override, log and close socket on doHandshake SSLException
2024-11-20 17:30:21 -07:00
Chris Conlon c6fbb8e97b Android: update sample CMakeLists.txt with -DWOLFSSL_CERT_REQ, needed for wolfSSL_X509_REQ_set_version() 2024-11-18 16:27:57 -07:00
Chris Conlon 59c30d34a7 JSSE: add debug and close Socket if doHandshake() throws SSLException in startHandshake() 2024-11-18 16:09:14 -07:00
Chris Conlon f718187424 JSSE: remove SSLSocket.connect(SocketAddress endpoint), not needed since super equivalent calls connect(SocketAddress endpoint, int port) 2024-11-18 16:01:07 -07:00
JacobBarthelmeh 99bd194692
Merge pull request #232 from cconlon/mavenAction
Add GitHub Action PRB to test Maven builds (pom.xml)
2024-11-11 16:15:34 -07:00
Chris Conlon 3f96219d8e Add GitHub Action PRB to test Maven builds (pom.xml) 2024-11-11 15:40:51 -07:00
JacobBarthelmeh 5e430a11b1
Merge pull request #231 from cconlon/v1.14release
Prep for 1.14 Release
2024-11-07 10:04:55 -07:00
Chris Conlon 13e73db1dd Update ChangeLog for 1.14 release 2024-11-06 17:25:21 -07:00
Chris Conlon b91676cd21 JSSE: WolfSSLTrustX509Test, only run RSA-PSS TLS 1.3 test if both are compiled in 2024-11-06 15:48:37 -07:00
Chris Conlon 31815eeed2 JNI/JSSE: adjust README for Windows builds 2024-11-06 15:47:55 -07:00
Chris Conlon e45ba59ffc JSSE: bump version to 1.14 2024-11-06 14:04:33 -07:00
Chris Conlon 4395d7a0b1 JNI/JSSE: use select() for Windows since no poll() available 2024-11-06 14:04:31 -07:00
JacobBarthelmeh 55c3193a42
Merge pull request #226 from cconlon/rmiExample
JSSE: add basic RMI example client and server
2024-11-06 11:50:55 -07:00
JacobBarthelmeh fa2a5af2df
Merge pull request #230 from cconlon/deadlockFixes
JSSE: fix deadlock issues between SSLSocket close() and OutputStream write()
2024-11-06 11:21:10 -07:00
Chris Conlon fe40fe7575 JSSE: fix deadlock issues between SSLSocket close() and OutputStream write() 2024-11-06 10:18:37 -07:00
JacobBarthelmeh 30e40424a8
Merge pull request #228 from cconlon/initSockFixes
JSSE: correct SSLSocket exception types, fix for setting fd
2024-11-01 10:54:22 -06:00
Chris Conlon d8c18c5f5b JSSE: correct IOException to SocketException, fix for setting fd once socket is connected 2024-10-30 17:25:33 -06:00
JacobBarthelmeh 14685a6634
Merge pull request #227 from cconlon/x509ExtendedTrustManagerLDAPSIdentification
JSSE: add LDAPS endpoint identification to X509ExtendedTrustManager
2024-10-29 11:19:15 -06:00
Chris Conlon 09088cd618 JSSE: add threaded RMI example client and server apps 2024-10-24 17:39:52 -06:00
Chris Conlon e01db4b4d9 JSSE: add LDAPS endpoint identification to X509ExtendedTrustManager 2024-10-21 11:31:51 -06:00
JacobBarthelmeh ad59d749f1
Merge pull request #225 from cconlon/clientSessionCacheDisable
JSSE: add Security property to disable Java client session cache
2024-10-10 11:00:50 -06:00
Chris Conlon 7b13a4b42c JSSE: add Security property to disable Java client session cache: wolfjsse.clientSessionCache.disabled 2024-10-09 15:48:44 -06:00
Chris Conlon cfbc118cc7
Merge pull request #224 from gasbytes/patch-nullhostnamefix
Erroring out on invalid port during the creation of a SSLEngine
2024-09-30 10:01:25 -06:00
Reda Chouk 58ffe8951e 80 characters limit 2024-09-26 10:57:55 +02:00
Reda Chouk a4dfa7e2cb Erroring out on invalid port during the creation of a SSLEngine 2024-09-25 19:42:33 +02:00
JacobBarthelmeh 1d1a4ed2c6
Merge pull request #223 from cconlon/java20Warnings
JNI/JSSE: clean up ant build warnings for Corretto 20.0.1
2024-09-23 09:42:34 -06:00
Chris Conlon 9d66046323 JNI/JSSE: clean up ant build warnings for Corretto 20.0.1 2024-09-20 16:08:38 -06:00