Commit Graph

  • 1e9509d9e8
    Merge pull request #206 from cconlon/sessionDup JacobBarthelmeh 2024-07-19 09:08:00 -0600
  • fba6fc7a99
    Merge pull request #178 from cconlon/wksKeyStoreSupport JacobBarthelmeh 2024-07-19 09:03:48 -0600
  • 112ac9272d JSSE: pass original exception messages up during peer verification, add more debug logs Chris Conlon 2024-07-18 16:02:40 -0600
  • 512ec3a007 Throw SSLException when hostname is null J.R. Lim 2024-07-16 11:20:27 -0700
  • 855fdeff2a JSSE: add script to convert example .jks files to wolfJCE WKS KeyStore type (.wks) Chris Conlon 2024-03-15 11:28:16 -0600
  • 4de186eae1 JSSE: add wolfjsse.keystore.type.required Security property support to enforce KeyStore type used in KeyManager and TrustManager objects Chris Conlon 2024-03-15 11:26:27 -0600
  • 49a781bbd0 JSSE: add -ksformat option to example ClientJSSE and ServerJSSE to specify KeyStore type Chris Conlon 2024-03-15 10:54:49 -0600
  • b80a989b4e JSSE: refactor KeyManager and TrustManager loading of KeyStore in engineInit(), add support for wolfJCE WKS KeyStore type Chris Conlon 2024-03-14 15:36:05 -0600
  • 1e65f4c215 JSSE: add -sysca option to example clientJSSE, load system CA certs ignoring any passed in Chris Conlon 2024-03-14 15:34:44 -0600
  • 58c63ded96 JNI: wrap native wolfSSL_SESSION_dup() in WolfSSLSession.duplicateSession() Chris Conlon 2024-07-12 15:04:38 -0600
  • bef6379273
    Merge pull request #201 from cconlon/socketSelectEAGAIN JacobBarthelmeh 2024-07-11 15:12:09 -0600
  • 6e08b929dc JNI/JSSE: use poll() instead of select() as default descriptor event function Chris Conlon 2024-06-26 15:27:38 -0600
  • 7e5ace50c8 JNI: call select() again when return -1 and errno is EAGAIN Chris Conlon 2024-06-11 15:25:00 -0600
  • a35247541e
    Merge pull request #205 from sstefonic/handshakeFailureClose Chris Conlon 2024-06-27 13:42:42 -0600
  • ab159d4108 remove check socket closed check Sage Stefonic 2024-06-27 11:12:06 -0700
  • 910b6124f4
    Merge pull request #204 from jackctj117/fix-getLocalPrincipal Chris Conlon 2024-06-17 11:56:44 -0600
  • b0e7bf31f8 close socket if handshake fails Sage Stefonic 2024-06-14 15:01:36 -0700
  • 0057b457ec Fixed indentation for logic need to be add line Jack Tjaden 2024-06-14 15:03:09 -0600
  • 2fcc066ad7 Changed testSessionTimeAndCerts to fail if principal is null Jack Tjaden 2024-06-14 10:33:17 -0600
  • 291116d731 Changed getLocalPrincipal to assume user cert is first in chain Jack Tjaden 2024-06-13 15:56:13 -0600
  • 318af35470
    Merge pull request #203 from sstefonic/engineDebugFix Chris Conlon 2024-06-13 15:36:29 -0600
  • a8af4d20dc fix mistake in SSLEngine debug logs Sage Stefonic 2024-06-13 13:52:05 -0700
  • 8cdca4a13c Changed getLocalPrincipal to assume user cert is first in chain Jack Tjaden 2024-06-13 14:06:16 -0600
  • bff609bb6f JSSE: return X509Certificate[] from SSLSession.getPeerCertificates() to match SunJSSE behavior Chris Conlon 2024-06-07 11:34:13 -0600
  • f91e807c13 update TLSv1.0 test Sage Stefonic 2024-06-06 15:35:01 -0700
  • 151853de8e
    Merge pull request #200 from sstefonic/deleteClose Chris Conlon 2024-06-10 17:23:26 -0600
  • 8aecdb1b4b delete close method in WolfSSLSeverSocket Sage Stefonic 2024-06-10 15:55:53 -0700
  • bb12cc94a0
    Merge pull request #199 from cconlon/sslSessionGetPeerCertificates JacobBarthelmeh 2024-06-07 13:06:17 -0600
  • 87412b0639
    Merge pull request #198 from sstefonic/fixTLSv10Test Chris Conlon 2024-06-07 12:41:45 -0600
  • 7486579741 JSSE: return X509Certificate[] from SSLSession.getPeerCertificates() to match SunJSSE behavior Chris Conlon 2024-06-07 11:34:13 -0600
  • 2ae264bb3c update TLSv1.0 test Sage Stefonic 2024-06-06 15:35:01 -0700
  • bbde8fa9ed
    Merge pull request #197 from cconlon/sslEngineFixesMay2024 JacobBarthelmeh 2024-06-06 16:15:14 -0600
  • 1300881c44 JSSE: check if session is resumable before storing or returning existing one in WolfSSLAuthStore.getSession() Chris Conlon 2024-05-31 14:22:03 -0600
  • 1afd3fcc30 JNI: wrap native wolfSSL_SESSION_is_resumable() in WolfSSLSession.sessionIsResumable() Chris Conlon 2024-05-31 14:21:15 -0600
  • 5b31cf2306 SSLEngine: correctly mark inbound and outbound closed when receiving alerts Chris Conlon 2024-05-30 17:35:47 -0600
  • 267a8d2c24 SSLEngine: throw SSLException if beginHandshake() called twice by user, renegotiation not supported Chris Conlon 2024-05-30 15:32:19 -0600
  • 399883cb5a SSLEngine: only set HandshakeStatus FINISHED when session ticket received after handshake has completed Chris Conlon 2024-05-30 15:01:15 -0600
  • 90bf503edc
    Merge pull request #196 from sstefonic/throwInitExceptions Chris Conlon 2024-05-31 11:39:44 -0600
  • 26363f44d8 Update testUseBeforeInit() to match new behavior Sage Stefonic 2024-05-29 10:20:40 -0700
  • 90627f0864 KeyManager and TrustManager throw exceptions if used when uninitialized Sage Stefonic 2024-05-28 13:25:26 -0700
  • 2353670bd8
    Merge pull request #193 from cconlon/sslEngineFixesMay2024 JacobBarthelmeh 2024-05-22 15:35:09 -0600
  • 37cf4dc7d2
    Merge pull request #195 from sstefonic/fixInputStreamRead Chris Conlon 2024-05-22 15:22:53 -0600
  • 4a3f29f7ee Declare variable at top of method Sage Stefonic 2024-05-22 13:37:39 -0700
  • 9b8f8d00be
    Merge pull request #194 from sstefonic/socketFix Chris Conlon 2024-05-22 14:27:55 -0600
  • c6e04d4f40 fix read() to reflect end of stream Sage Stefonic 2024-05-21 16:12:55 -0700
  • 06d8e4de66 Fix the socket closing issue with WolfSSLSocket Sage Stefonic 2024-05-20 09:58:03 -0700
  • 8d805ff796 JSSE: check this.toSend for null before getting length in SSLEngine.unwrap() when we have data buffered Chris Conlon 2024-05-17 15:07:15 -0600
  • ddb9d2b0ea JSSE: fix WolfSSLSocketTest protocolConnectionTestExtendedSocket() string for TLSv1 Chris Conlon 2024-05-16 16:46:42 -0600
  • b50ab50788 SSLEngine: return HandshakeStatus.FINISHED from unwrap() when TLS 1.3 session ticket has been received Chris Conlon 2024-05-16 16:11:52 -0600
  • 907a3d45d0 JNI: wrap wolfSSL_SESSION_has_ticket() in WolfSSLSession.hasSessionTicket() Chris Conlon 2024-05-16 16:11:01 -0600
  • c8db5aa5f3 SSLEngine: correct return of ClosingConnection() to SSL_SUCCESS when ZERO_RETURN is received Chris Conlon 2024-05-15 15:19:52 -0600
  • 00a9bb467b SSLEngine: synchronize calls to ssl.getError() in ioLock in case WOLFSSL state is changing Chris Conlon 2024-05-14 16:40:36 -0600
  • 5bd7a48c20 SSLEngine: only save session to client cache if handshake has finished and no error Chris Conlon 2024-05-14 14:50:59 -0600
  • b08237d910
    Merge pull request #192 from cconlon/tls13secretcb JacobBarthelmeh 2024-05-06 13:13:57 -0600
  • 9b8a0c425e JNI: correct example MyTls13SecretCallback CLIENT_TRAFFIC_SECRET and SERVER_TRAFFIC_SECRET Chris Conlon 2024-04-25 16:27:42 -0600
  • a2db7c3bcc
    Merge pull request #191 from cconlon/sessionIsSetup JacobBarthelmeh 2024-04-25 16:58:39 -0600
  • 097ad70817 GitHub Actions: remove Temurin JDK 8, not available on macos Chris Conlon 2024-04-25 11:44:43 -0600
  • afeea367b9 JNI/JSSE: fix Infer thread safety violation warnings in WolfSSLSession and WolfSSLSocket Chris Conlon 2024-04-25 11:37:13 -0600
  • 648bebadc8 JSSE: close client/server SSLSocket in WolfSSLSocketTest.protocolConnectionTestExtendedSocket() correctly after handshake Chris Conlon 2024-04-25 11:27:43 -0600
  • 7e1c0397fb JNI: check if session has ticket for TLS 1.3 before calling wolfSSL_peek() in WolfSSLSession.getSession() Chris Conlon 2024-04-25 09:51:10 -0600
  • 062dcc2d05 JNI: add test method for WolfSSLSession.get/set/freeSession() Chris Conlon 2024-04-24 15:04:58 -0600
  • 3c94939d3d JNI: refactor WolfSSLSessionTest to use individual Junit Test annotation on methods, better cleanup Chris Conlon 2024-04-24 12:18:46 -0600
  • 3dcfb63999
    Merge pull request #189 from cconlon/gcTesting JacobBarthelmeh 2024-04-24 16:53:01 -0600
  • add56cfca1
    Merge pull request #190 from cconlon/inferAction JacobBarthelmeh 2024-04-24 16:45:42 -0600
  • 76ac7784de JNI: wrap wolfSSL_SessionIsSetup() in WolfSSLSession, needs wolfSSL > 5.7.0 or WOLFSSL_PR7430_PATCH_APPLIED defined Chris Conlon 2024-04-22 17:14:16 -0600
  • b5090598a5 JSSE: fix for Infer warning about javaVersion being null in WolfSSLEngineHelper Chris Conlon 2024-04-22 15:58:31 -0600
  • f4b433fabc Run Facebook Infer on PRs with GitHub Actions Chris Conlon 2024-04-22 10:05:38 -0600
  • 0bf4b58535 JNI: rework WolfSSLSession.useALPN() to guarantee list is null terminated Chris Conlon 2024-04-18 17:45:50 -0600
  • 95777fd653 JSSE: add close() to WolfSSLServerSocket, closes unerlying WolfSSLSocket if needed which frees resources earlier Chris Conlon 2024-04-18 17:17:44 -0600
  • 65e4191ba4 JSSE: release WolfSSLEngineHelper state from WolfSSLSocket when SSLSocket.close() is called Chris Conlon 2024-04-18 17:12:24 -0600
  • a7c1830b0e JNI: set clientSNIRequested and ctx to null in freeSSL() to reduce object size in GC finalizer Chris Conlon 2024-04-18 17:10:45 -0600
  • 10e991c52d JSSE: remove finalizer() from WolfSSLInternalVerifyCb, not needed and slows down garbage collection Chris Conlon 2024-04-18 16:47:00 -0600
  • c5304ebb19 JSSE: close WolfSSLInput/OutputStream when SSLSocket.close() is called, allows stream objects to be garbage collected more easily Chris Conlon 2024-04-18 16:33:43 -0600
  • e0d718e9b3
    Merge pull request #188 from cconlon/getPeerCertificate JacobBarthelmeh 2024-04-17 17:01:11 -0600
  • d33185cdaf JNI/JSSE: correctly free WOLFSSL_X509 from wolfSSL_get_peer_certificate() for wolfSSL >= 5.3.0 Chris Conlon 2024-04-17 15:54:46 -0600
  • afd613b390
    Merge pull request #186 from cconlon/release113 v1.13.0-stable lealem47 2024-04-09 15:34:16 -0600
  • 594816205f JSSE: refactor X509Certificate.getPublicKey() to use JCE classes to generate PublicKey, fixes compatibility with wolfJCE underneath Chris Conlon 2024-03-15 10:31:42 -0600
  • 45bc8998a7 Bump version number to 1.13 Chris Conlon 2024-04-09 12:13:09 -0600
  • d0edc8a14f Update ChangeLog for 1.13 release, move to separate file Chris Conlon 2024-04-09 12:11:05 -0600
  • da8b0260a4
    Merge pull request #185 from cconlon/androidUpdate lealem47 2024-04-09 10:54:00 -0600
  • b4e479bb0c JNI/JSSE: update JUnit tests for Android compatibility Chris Conlon 2024-04-08 17:29:20 -0600
  • 988a29e0f3 Remove text meta data from ca-cert.pem, ca-ecc-cert.pem for Android compatibility Chris Conlon 2024-04-08 17:17:16 -0600
  • bde2703fdd Android: update example Android Studio project file, update CMakeLists.txt with FIPS Ready and spmath support Chris Conlon 2024-04-08 17:16:36 -0600
  • 60887c63ba
    Merge pull request #184 from cconlon/winFixes lealem47 2024-04-08 09:45:08 -0600
  • f999d7d34f Update example certs and JKS files to match latest wolfSSL Chris Conlon 2024-04-05 16:20:57 -0600
  • c0cdeeea5a JSSE: fix Javadoc warnings from Java 17 Chris Conlon 2024-04-05 15:28:48 -0600
  • 6229224d5d Fix Windows build warnings, update WindowsConfig.bat, ALPN bytes test in WolfSSLSession Chris Conlon 2024-04-05 12:17:52 -0600
  • 56c4fe0573
    Merge pull request #182 from cconlon/inferFixes lealem47 2024-04-05 11:27:04 -0600
  • aa52ea4f4f Infer fixes for WolfSSLSocket Chris Conlon 2024-04-03 12:41:08 -0600
  • 749ee6eb67 Infer fixes for WolfSSLImplementSSLSession Chris Conlon 2024-04-03 12:40:00 -0600
  • b173f29297 Infer fixes for WolfSSLEngineHelper Chris Conlon 2024-04-03 12:36:58 -0600
  • eaa6690a3e Infer fixes for WolfSSLEngine, rename EngineHelper variable to engineHelper Chris Conlon 2024-04-03 12:25:00 -0600
  • 5bdebad14a Infer fixes for com.wolfssl.WolfSSLX509Name Chris Conlon 2024-04-03 12:18:09 -0600
  • afc0f68fa6 Infer fixes for com.wolfssl.WolfSSLSession Chris Conlon 2024-04-03 12:14:49 -0600
  • 33e36b49be Infer fixes for com.wolfssl.WolfSSLContext Chris Conlon 2024-04-03 11:05:38 -0600
  • d8a422e272 Infer fixes for WolfSSLCertificate Chris Conlon 2024-04-03 10:49:01 -0600
  • 5d5733f19e Update Infer test script with current file list Chris Conlon 2024-04-02 18:10:27 -0600
  • 6ddc217c1b
    Merge pull request #183 from cconlon/sslSocketImprovements lealem47 2024-04-05 10:36:12 -0600
  • 6521c21863 JNI/JSSE: remove extraneous array copy in WolfSSLInputStream/OutputStream when array offset is provided Chris Conlon 2024-04-03 16:43:47 -0600
  • 1d91773392 JNI: call ReleaseByteArrayElements() in read/write if native wolfSSL_get_app_data() fails Chris Conlon 2024-04-03 13:53:31 -0600