Commit Graph

1058 Commits (5e56b00383330478f3675f60d3d666319d4fa7f5)

Author SHA1 Message Date
Daniel Pouzzner 9c63b7fc28
Merge pull request #179 from cconlon/skpopfree
JNI/JSSE: call wolfSSL_sk_X509_pop_free() in WolfSSLX509StoreCtx.getDerCerts()
2024-03-30 02:59:06 -04:00
lealem47 8826635d61
Merge pull request #181 from cconlon/tls13secretcb
JNI: wrap wolfSSL_set_tls13_secret_cb() in WolfSSLSession.setTls13SecretCb()
2024-03-28 10:29:40 -06:00
Chris Conlon 3dee881dda JNI: wrap wolfSSL_set_tls13_secret_cb() in WolfSSLSession.setTls13SecretCb(), along with example in Client.java 2024-03-28 10:05:10 -06:00
Chris Conlon 66ac903297 JSSE: add -profile option to example ClientJSSE/ServerJSSE/MultiThreadedSSLClient to allow easier analysis with VisualVM 2024-03-26 14:53:12 -06:00
Chris Conlon 115e93aaa7 JSSE: unset native verify callback when SSLEngine is finished, allows garbage collection 2024-03-26 14:53:08 -06:00
Chris Conlon a7031b395f JNI/JSSE: delete global verify callback before resetting in WolfSSLSession.setVerify() 2024-03-26 14:40:42 -06:00
Chris Conlon 687d7ca1cb JNI/JSSE: call wolfSSL_sk_X509_pop_free() instead of wolfSSL_sk_X509_free() in WolfSSLX509StoreCtx.getDerCerts() 2024-03-18 14:44:02 -06:00
JacobBarthelmeh ecd67a4596
Merge pull request #172 from cconlon/needWantClientAuth
Fixes for SSLEngine.setWant/NeedClientAuth() and choosing key alias chooseEngineClient/ServerAlias()
2024-02-15 20:54:55 +07:00
Chris Conlon 1d0b807d9c JSSE: fix handling of setWantClientAuth()/setNeedClientAuth in SSLEngine and choosing of key alias with chooseEngineClient/ServerAlias() 2024-02-14 13:39:44 -07:00
Chris Conlon 1d5cbd66c7 JNI: wrap native wolfSSL_use_certificate_chain_buffer_format() in WolfSSLSession 2024-02-14 13:39:44 -07:00
JacobBarthelmeh 0e4953f1a6
Merge pull request #176 from cconlon/github-actions
Add initial GitHub actions (Linux, Mac)
2024-02-15 01:30:01 +07:00
Chris Conlon dcfd210703 add initial GitHub actions (Linux, Mac) 2024-02-14 10:58:17 -07:00
András Fekete 5155493914
Merge pull request #177 from cconlon/testactions
Simple Test Action (Not for Merge)
2024-02-14 12:56:12 -05:00
Chris Conlon fd70f09fce add simple test action 2024-02-14 10:41:33 -07:00
JacobBarthelmeh 424d4c035d
Merge pull request #175 from cconlon/getSessionCheckForTicket
Check TLS 1.3 session for ticket before saving to Java cache
2024-02-14 03:59:52 +07:00
Chris Conlon 21e35057c1 JNI/JSSE: check for ticket with TLS 1.3 before saving WOLFSSL_SESSION to cache 2024-02-12 17:09:30 -07:00
Chris Conlon bde68360bc
Merge pull request #174 from philljj/fix_sunjsse_issues
Fix SunJSSE test issues
2024-02-12 13:44:12 -07:00
jordan dbb0ee80e5 Don't skip renegotiation for invalidated sessions. 2024-02-09 15:38:07 -06:00
jordan d38a989f23 Don't handshake on unconnected socket. 2024-02-09 14:35:19 -06:00
JacobBarthelmeh b3db25f0ab
Merge pull request #171 from cconlon/select-eintr
JNI: call select() again on error with EINTR
2024-02-01 09:25:12 -07:00
Chris Conlon 60522c7f63
Merge pull request #170 from philljj/fix_sunjsse_issues
Fix sun jsse test issues.
2024-01-30 17:00:47 -07:00
Chris Conlon 247aedd2b1 JNI: call select() again on error with EINTR 2024-01-29 17:33:13 -07:00
jordan 22166cf681 Fix sun jsse test issues. 2024-01-26 13:15:34 -06:00
JacobBarthelmeh 2829ad72ee
Merge pull request #169 from cconlon/SSL_CTX_set1_sigalgs_list
JNI: wrap SSL_CTX_set1_sigalgs_list(), add resume example to JNI Client
2024-01-25 08:18:31 -08:00
Chris Conlon 5146e74c4d JNI: add TLS 1.3 version to example Client.java and Server.java 2024-01-24 15:17:38 -07:00
Chris Conlon 8087699d79 JNI: add example of session resumption to example Client.java 2024-01-24 15:05:06 -07:00
Chris Conlon 91acf5ff19 JNI: wrap native SSL_CTX_set1_sigalgs_list() in WolfSSLContext 2024-01-24 10:03:47 -07:00
JacobBarthelmeh 93814067d6
Merge pull request #168 from cconlon/2024
Update copyright to 2024
2024-01-16 14:51:55 -08:00
Chris Conlon 85cfeeaf90 update copyright to 2024 2024-01-16 15:35:09 -07:00
JacobBarthelmeh 545b500b2b
Merge pull request #167 from cconlon/X509ExtendedKeyManager
JSSE: add implementation of X509ExtendedKeyManager
2024-01-16 14:14:28 -08:00
JacobBarthelmeh f9b4112af2
Merge pull request #166 from cconlon/nativeDebugLogs
Refactor native debug log enablement, register Java native logging callback
2024-01-16 13:59:17 -08:00
Chris Conlon 0d9f321a28 JSSE: add implementation of X509ExtendedKeyManager for chooseEngineClientAlias() / chooseEngineServerAlias() 2024-01-16 12:14:36 -07:00
Chris Conlon 47d36cb0cc JSSE: enable native wolfSSL debug logs at SSLContext and WolfSSLProvider levels, register Java logging callback to push native logs over System.out.println and include thread ID 2024-01-15 16:45:14 -07:00
JacobBarthelmeh 37692e7855
Merge pull request #163 from cconlon/alpnGaps
JSSE: add SSLSocket/Engine support get/setHandshakeApplicationProtocolSelector()
2024-01-03 13:23:33 -07:00
Chris Conlon 682f1ea5fc JSSE: add support for SSLSocket/SSLEngine get/setHandshakeApplicationProtocolSelector() for ALPN select support 2024-01-03 11:19:47 -07:00
JacobBarthelmeh 4cc6a45842
Merge pull request #165 from cconlon/sslEngineExtendedTestFix
JSSE: SSLEngine: save session only on connection shutdown
2024-01-02 13:45:04 -07:00
Chris Conlon e6bc9ea721 JSSE: SSLEngine: skip saveSession() after ssl.accept/connect() since TLS 1.3 session ticket can come later, fixes extended SSLEngine test case 2023-12-22 16:39:02 -07:00
JacobBarthelmeh 134f3112c3
Merge pull request #164 from cconlon/tls13Methods
JNI: wrap wolfSSL_CTX_set_groups(), wolfTLSv1_3_client/server_method()
2023-12-21 16:38:32 -07:00
Chris Conlon 465559ebfd JNI: wrap wolfSSL_CTX_set_groups() 2023-12-21 15:59:59 -07:00
Chris Conlon b09556d961 JNI: wrap wolfTLSv1_3_client_method() and wolfTLSv1_3_server_method() 2023-12-21 14:07:33 -07:00
David Garske 67aee347cd
Merge pull request #162 from cconlon/sslSessionGetPeerCertificates
SSLSession fix for getPeerCertificates() and cached cert
2023-12-12 08:17:16 -08:00
Chris Conlon 712d902c43 JSSE: SSLSession: always call ssl.getPeerCertificate() first before returning cached peer cert 2023-12-07 14:29:20 -07:00
Chris Conlon 23ab251e3a JNI: wrap native wolfSSL_CTX_flush_sessions() in com.wolfssl.WolfSSLContext 2023-12-07 14:28:35 -07:00
Chris Conlon c8ed69241a
Merge pull request #161 from JacobBarthelmeh/master
fixes for heap hint used
2023-12-04 10:21:32 -07:00
JacobBarthelmeh dff8690e9e
Merge pull request #159 from cconlon/x509ExtendedTrustManager
Add implementation of javax.net.ssl.X509ExtendedTrustManager
2023-12-04 10:07:11 -07:00
JacobBarthelmeh f99fc863df fixes for heap hint used 2023-12-04 10:03:53 -07:00
JacobBarthelmeh b782a6516f
Merge pull request #160 from cconlon/xfreeFixes
JNI: correct heap pointers for a few XFREE calls in JNI code
2023-12-01 11:43:08 -07:00
Chris Conlon a02f3400ab JNI: correct heap pointers for a few XFREE calls in JNI code 2023-12-01 11:33:43 -07:00
Chris Conlon 75cf505e9a JSSE: remove extraneous ioLock in WolfSSLInputStream/WolfSSLOutputStream, prevents threaded I/O from working properly; already have a native JNI mutex lock in place around WOLFSSL read/write operations 2023-11-28 16:24:01 -07:00
Chris Conlon 76513f60de JSSE: set peer InetAddress in WolfSSLSocket.connect(), use as first choice for SNI if jdk.tls.trustNameService set to true 2023-11-28 10:27:03 -07:00