Jack Tjaden
|
0057b457ec
|
Fixed indentation for logic need to be add line
|
2024-06-14 15:03:09 -06:00 |
Jack Tjaden
|
2fcc066ad7
|
Changed testSessionTimeAndCerts to fail if principal is null
|
2024-06-14 10:33:17 -06:00 |
Jack Tjaden
|
291116d731
|
Changed getLocalPrincipal to assume user cert is first in chain
|
2024-06-13 15:56:13 -06:00 |
Chris Conlon
|
318af35470
|
Merge pull request #203 from sstefonic/engineDebugFix
Fix mistake in SSLEngine debug logs
|
2024-06-13 15:36:29 -06:00 |
Sage Stefonic
|
a8af4d20dc
|
fix mistake in SSLEngine debug logs
|
2024-06-13 13:52:05 -07:00 |
Chris Conlon
|
151853de8e
|
Merge pull request #200 from sstefonic/deleteClose
Delete close method in WolfSSLServerSocket
|
2024-06-10 17:23:26 -06:00 |
Sage Stefonic
|
8aecdb1b4b
|
delete close method in WolfSSLSeverSocket
|
2024-06-10 15:55:53 -07:00 |
JacobBarthelmeh
|
bb12cc94a0
|
Merge pull request #199 from cconlon/sslSessionGetPeerCertificates
Return X509Certificate[] from SSLSession.getPeerCertificates()
|
2024-06-07 13:06:17 -06:00 |
Chris Conlon
|
87412b0639
|
Merge pull request #198 from sstefonic/fixTLSv10Test
update TLSv1.0 and TLSv1.1 test
|
2024-06-07 12:41:45 -06:00 |
Chris Conlon
|
7486579741
|
JSSE: return X509Certificate[] from SSLSession.getPeerCertificates() to match SunJSSE behavior
|
2024-06-07 12:24:15 -06:00 |
Sage Stefonic
|
2ae264bb3c
|
update TLSv1.0 test
|
2024-06-06 15:35:01 -07:00 |
JacobBarthelmeh
|
bbde8fa9ed
|
Merge pull request #197 from cconlon/sslEngineFixesMay2024
SSLEngine fixes around HandshakeStatus, beginHandshake(), and alerts
|
2024-06-06 16:15:14 -06:00 |
Chris Conlon
|
1300881c44
|
JSSE: check if session is resumable before storing or returning existing one in WolfSSLAuthStore.getSession()
|
2024-05-31 14:52:56 -06:00 |
Chris Conlon
|
1afd3fcc30
|
JNI: wrap native wolfSSL_SESSION_is_resumable() in WolfSSLSession.sessionIsResumable()
|
2024-05-31 14:21:15 -06:00 |
Chris Conlon
|
5b31cf2306
|
SSLEngine: correctly mark inbound and outbound closed when receiving alerts
|
2024-05-31 11:40:53 -06:00 |
Chris Conlon
|
267a8d2c24
|
SSLEngine: throw SSLException if beginHandshake() called twice by user, renegotiation not supported
|
2024-05-31 11:40:53 -06:00 |
Chris Conlon
|
399883cb5a
|
SSLEngine: only set HandshakeStatus FINISHED when session ticket received after handshake has completed
|
2024-05-31 11:40:53 -06:00 |
Chris Conlon
|
90bf503edc
|
Merge pull request #196 from sstefonic/throwInitExceptions
KeyManagerFactory and TrustManagerFactory throw exceptions if used when uninitialized
|
2024-05-31 11:39:44 -06:00 |
Sage Stefonic
|
26363f44d8
|
Update testUseBeforeInit() to match new behavior
|
2024-05-29 10:20:40 -07:00 |
Sage Stefonic
|
90627f0864
|
KeyManager and TrustManager throw exceptions if used when uninitialized
|
2024-05-28 13:25:26 -07:00 |
JacobBarthelmeh
|
2353670bd8
|
Merge pull request #193 from cconlon/sslEngineFixesMay2024
SSLEngine fixes for session cache, getError(), and unwrap() HandshakeStatus
|
2024-05-22 15:35:09 -06:00 |
Chris Conlon
|
37cf4dc7d2
|
Merge pull request #195 from sstefonic/fixInputStreamRead
fix read() in WolfSSLInputStream to reflect end of stream
|
2024-05-22 15:22:53 -06:00 |
Sage Stefonic
|
4a3f29f7ee
|
Declare variable at top of method
|
2024-05-22 13:37:39 -07:00 |
Chris Conlon
|
9b8f8d00be
|
Merge pull request #194 from sstefonic/socketFix
Fix WolfSSLServerSocket closing issue
|
2024-05-22 14:27:55 -06:00 |
Sage Stefonic
|
c6e04d4f40
|
fix read() to reflect end of stream
|
2024-05-21 16:12:55 -07:00 |
Sage Stefonic
|
06d8e4de66
|
Fix the socket closing issue with WolfSSLSocket
|
2024-05-20 09:58:03 -07:00 |
Chris Conlon
|
8d805ff796
|
JSSE: check this.toSend for null before getting length in SSLEngine.unwrap() when we have data buffered
|
2024-05-17 15:07:15 -06:00 |
Chris Conlon
|
ddb9d2b0ea
|
JSSE: fix WolfSSLSocketTest protocolConnectionTestExtendedSocket() string for TLSv1
|
2024-05-16 16:46:42 -06:00 |
Chris Conlon
|
b50ab50788
|
SSLEngine: return HandshakeStatus.FINISHED from unwrap() when TLS 1.3 session ticket has been received
|
2024-05-16 16:11:52 -06:00 |
Chris Conlon
|
907a3d45d0
|
JNI: wrap wolfSSL_SESSION_has_ticket() in WolfSSLSession.hasSessionTicket()
|
2024-05-16 16:11:01 -06:00 |
Chris Conlon
|
c8db5aa5f3
|
SSLEngine: correct return of ClosingConnection() to SSL_SUCCESS when ZERO_RETURN is received
|
2024-05-15 15:19:52 -06:00 |
Chris Conlon
|
00a9bb467b
|
SSLEngine: synchronize calls to ssl.getError() in ioLock in case WOLFSSL state is changing
|
2024-05-14 16:40:36 -06:00 |
Chris Conlon
|
5bd7a48c20
|
SSLEngine: only save session to client cache if handshake has finished and no error
|
2024-05-14 14:50:59 -06:00 |
JacobBarthelmeh
|
b08237d910
|
Merge pull request #192 from cconlon/tls13secretcb
Correct example TLS 1.3 secret callback
|
2024-05-06 13:13:57 -06:00 |
Chris Conlon
|
9b8a0c425e
|
JNI: correct example MyTls13SecretCallback CLIENT_TRAFFIC_SECRET and SERVER_TRAFFIC_SECRET
|
2024-04-25 16:59:45 -06:00 |
JacobBarthelmeh
|
a2db7c3bcc
|
Merge pull request #191 from cconlon/sessionIsSetup
JNI: wrap wolfSSL_SessionIsSetup() in WolfSSLSession
|
2024-04-25 16:58:39 -06:00 |
Chris Conlon
|
097ad70817
|
GitHub Actions: remove Temurin JDK 8, not available on macos
|
2024-04-25 14:15:39 -06:00 |
Chris Conlon
|
afeea367b9
|
JNI/JSSE: fix Infer thread safety violation warnings in WolfSSLSession and WolfSSLSocket
|
2024-04-25 14:15:39 -06:00 |
Chris Conlon
|
648bebadc8
|
JSSE: close client/server SSLSocket in WolfSSLSocketTest.protocolConnectionTestExtendedSocket() correctly after handshake
|
2024-04-25 14:15:39 -06:00 |
Chris Conlon
|
7e1c0397fb
|
JNI: check if session has ticket for TLS 1.3 before calling wolfSSL_peek() in WolfSSLSession.getSession()
|
2024-04-25 14:15:39 -06:00 |
Chris Conlon
|
062dcc2d05
|
JNI: add test method for WolfSSLSession.get/set/freeSession()
|
2024-04-25 14:15:39 -06:00 |
Chris Conlon
|
3c94939d3d
|
JNI: refactor WolfSSLSessionTest to use individual Junit Test annotation on methods, better cleanup
|
2024-04-25 14:15:27 -06:00 |
JacobBarthelmeh
|
3dcfb63999
|
Merge pull request #189 from cconlon/gcTesting
Optimization pass for better garbage collection
|
2024-04-24 16:53:01 -06:00 |
JacobBarthelmeh
|
add56cfca1
|
Merge pull request #190 from cconlon/inferAction
Run Facebook Infer on PRs with GitHub Actions
|
2024-04-24 16:45:42 -06:00 |
Chris Conlon
|
76ac7784de
|
JNI: wrap wolfSSL_SessionIsSetup() in WolfSSLSession, needs wolfSSL > 5.7.0 or WOLFSSL_PR7430_PATCH_APPLIED defined
|
2024-04-22 17:14:16 -06:00 |
Chris Conlon
|
b5090598a5
|
JSSE: fix for Infer warning about javaVersion being null in WolfSSLEngineHelper
|
2024-04-22 16:04:40 -06:00 |
Chris Conlon
|
f4b433fabc
|
Run Facebook Infer on PRs with GitHub Actions
|
2024-04-22 15:49:53 -06:00 |
Chris Conlon
|
0bf4b58535
|
JNI: rework WolfSSLSession.useALPN() to guarantee list is null terminated
|
2024-04-19 14:18:51 -06:00 |
Chris Conlon
|
95777fd653
|
JSSE: add close() to WolfSSLServerSocket, closes unerlying WolfSSLSocket if needed which frees resources earlier
|
2024-04-19 14:18:51 -06:00 |
Chris Conlon
|
65e4191ba4
|
JSSE: release WolfSSLEngineHelper state from WolfSSLSocket when SSLSocket.close() is called
|
2024-04-19 14:18:51 -06:00 |