Commit Graph

989 Commits (master)

Author SHA1 Message Date
JacobBarthelmeh 370ada7b7d
Merge pull request #187 from cconlon/jsonDebugLog
Add option to print debug logs in JSON format
2024-09-20 15:59:38 -06:00
JacobBarthelmeh d086267841
Merge pull request #222 from cconlon/gradleAction
Add Github Actions PRB test for Android gradle build
2024-09-20 15:58:48 -06:00
Chris Conlon ac9670f6f7 JNI/JSSE: fix warnings in test code from gradle build 2024-09-20 15:24:13 -06:00
Chris Conlon 30779c6662 JSSE: fix warnings in WolfSSLEngine from gradle build 2024-09-20 15:24:13 -06:00
Chris Conlon 502d617a52 JSSE: fix warnings in WolfSSLSocket from gradle build 2024-09-20 15:24:11 -06:00
Chris Conlon 837c993911 JNI/JSSE: fix warnings from gradle Java 11 build with -Werror 2024-09-20 15:23:32 -06:00
Chris Conlon 94a74db505 Add GitHub action for Android Gradle build, update IDE/Android project (use Java 11, add -Werror) 2024-09-20 15:23:32 -06:00
JacobBarthelmeh 0bc0e07883
Merge pull request #220 from cconlon/sslSocketDeadlock
Fix potential deadlock on close() between SSLSocket and Input/OutputStream
2024-09-20 15:21:59 -06:00
Chris Conlon fdbaf4fdf4 JSSE: add new wolfjsse.debugFormat=JSON option for printing debug logs in JSON format 2024-09-20 15:18:05 -06:00
JacobBarthelmeh e64c25b4fe
Merge pull request #221 from cconlon/spotBugs916
JSSE: fixes for some items found with SpotBugs
2024-09-17 13:57:14 -06:00
Chris Conlon b7ed1d3140 JSSE: fixes for some items found with SpotBugs 2024-09-16 15:51:12 -06:00
Chris Conlon 037b639508 JSSE: fix Javadoc warnings in WolfSSL.java 2024-09-12 15:45:14 -06:00
Chris Conlon 3f80193da8 JSSE: avoid potential deadlock between SSLSocket.close() and Input/OutputStream.close() 2024-09-12 15:32:31 -06:00
JacobBarthelmeh a9c28d7377
Merge pull request #217 from cconlon/SSLSocketEndOfStreamRead
JSSE: return end of stream in WolfSSLInputStream.read() on SOCKET_ERROR_E
2024-09-12 10:11:41 -06:00
Chris Conlon 7ee9c7d7f9
Merge pull request #219 from sstefonic/storeProtocol
Store protocol after handshake in SSLSession
2024-09-05 13:42:23 -06:00
Chris Conlon 6f16431feb
Merge pull request #218 from sstefonic/addRsaPss
Add rsa_pss support in wolfJSSE
2024-09-05 13:41:27 -06:00
Sage Stefonic 2ac3ef27d8 Store protocol after handshake in SSLSession 2024-08-09 11:52:36 -07:00
Sage Stefonic bde37eec21 add rsa_pss support in wolfJSSE 2024-08-08 15:18:08 -07:00
Chris Conlon 1b3c748764 JSSE: return -1 for end of stream in WolfSSLInputStream.read() when SOCKET_ERROR_E encountered 2024-08-07 12:01:13 -06:00
JacobBarthelmeh 74101dd4b1
Merge pull request #209 from cconlon/sessionResumeCipherProtocolChecks
JSSE: Session resumption check for enabled cipher suite and protocol
2024-08-07 11:49:24 -06:00
JacobBarthelmeh 473f587918
Merge pull request #216 from cconlon/androidLint
JNI/JSSE: adjust for methods not available in Android API 24
2024-08-07 11:45:05 -06:00
Chris Conlon 7231009800 JSSE: only resume sessions from Java client cache if same cipher suite and protocol are enabled 2024-08-06 14:31:52 -06:00
David Garske 4e70b6827d
Merge pull request #212 from cconlon/threadedJNIClient
JNI: add example threaded client/server applications (JNI only)
2024-08-01 11:22:05 -07:00
David Garske 59aaba2612
Merge pull request #213 from cconlon/ClientJSSEAddGETHost
JSSE: add Host into HTTP GET in example ClientJSSE, used with -g
2024-08-01 11:21:50 -07:00
Chris Conlon 1906b9365f JNI/JSSE: adjust for methods not available in Android API 24 2024-07-29 23:10:36 -06:00
Chris Conlon 0361ce39dc
Merge pull request #214 from sstefonic/updateSSLParameters
Fixes to SSLParameters and WolfSSLServerSocket
2024-07-22 15:27:03 -06:00
Sage Stefonic 74a879cfc1 add getSSLParameters method to ServerSocket, fix copy method in SSLParameters 2024-07-22 12:22:13 -07:00
Chris Conlon 13da2b023b
Merge pull request #210 from rlm2002/timeouts
read returns error value to timeout
2024-07-19 13:39:10 -06:00
Chris Conlon a5863a4b47
Merge pull request #208 from rlm2002/FailedALPN
close inbound on UNKNOWN_ALPN_PROTOCOL_NAME_E
2024-07-19 13:38:25 -06:00
Chris Conlon 1abeaf1584 JSSE: add Host into HTTP GET in example ClientJSSE, used with -g 2024-07-19 13:33:59 -06:00
Chris Conlon bd56bf8544 JNI: add example threaded client/server applications, client does session resumption with get/setSession() 2024-07-19 13:07:46 -06:00
Ruby Martin 92fc6dca6d close inbound on UNKNOWN_ALPN_PROTOCOL_NAME_E 2024-07-19 11:52:55 -06:00
Ruby Martin 8f09aae2fa set size equal to ret if ret does not equal RECV_READY or SEND_READY 2024-07-19 11:41:32 -06:00
JacobBarthelmeh 3bca9810a8
Merge pull request #211 from cconlon/trustManagerExceptionMsg
JSSE: pass lower level exception messages up during X509TrustManager peer verification
2024-07-19 09:09:16 -06:00
JacobBarthelmeh 1e9509d9e8
Merge pull request #206 from cconlon/sessionDup
JNI: wrap native wolfSSL_SESSION_dup() in WolfSSLSession.duplicateSession()
2024-07-19 09:08:00 -06:00
JacobBarthelmeh fba6fc7a99
Merge pull request #178 from cconlon/wksKeyStoreSupport
Add wolfJCE WKS KeyStore Support
2024-07-19 09:03:48 -06:00
Chris Conlon 112ac9272d JSSE: pass original exception messages up during peer verification, add more debug logs 2024-07-18 16:02:40 -06:00
Chris Conlon 855fdeff2a JSSE: add script to convert example .jks files to wolfJCE WKS KeyStore type (.wks) 2024-07-15 16:17:26 -06:00
Chris Conlon 4de186eae1 JSSE: add wolfjsse.keystore.type.required Security property support to enforce KeyStore type used in KeyManager and TrustManager objects 2024-07-15 16:17:23 -06:00
Chris Conlon 49a781bbd0 JSSE: add -ksformat option to example ClientJSSE and ServerJSSE to specify KeyStore type 2024-07-15 16:16:35 -06:00
Chris Conlon b80a989b4e JSSE: refactor KeyManager and TrustManager loading of KeyStore in engineInit(), add support for wolfJCE WKS KeyStore type 2024-07-15 16:16:35 -06:00
Chris Conlon 1e65f4c215 JSSE: add -sysca option to example clientJSSE, load system CA certs ignoring any passed in 2024-07-15 16:16:35 -06:00
Chris Conlon 58c63ded96 JNI: wrap native wolfSSL_SESSION_dup() in WolfSSLSession.duplicateSession() 2024-07-12 15:04:38 -06:00
JacobBarthelmeh bef6379273
Merge pull request #201 from cconlon/socketSelectEAGAIN
JNI/JSSE: Add support for poll(), fix for EAGAIN and select()
2024-07-11 15:12:09 -06:00
Chris Conlon 6e08b929dc JNI/JSSE: use poll() instead of select() as default descriptor event function 2024-06-27 16:34:39 -06:00
Chris Conlon 7e5ace50c8 JNI: call select() again when return -1 and errno is EAGAIN 2024-06-27 16:34:39 -06:00
Chris Conlon a35247541e
Merge pull request #205 from sstefonic/handshakeFailureClose
Close socket if handshake fails
2024-06-27 13:42:42 -06:00
Sage Stefonic ab159d4108 remove check socket closed check 2024-06-27 11:12:06 -07:00
Chris Conlon 910b6124f4
Merge pull request #204 from jackctj117/fix-getLocalPrincipal
Changed getLocalPrincipal to assume user cert is first in chain
2024-06-17 11:56:44 -06:00
Sage Stefonic b0e7bf31f8 close socket if handshake fails 2024-06-14 15:01:36 -07:00