Commit graph

27 commits

Author SHA1 Message Date
Noah Laptop
cbb4493876 fix: fix infinite recursion bug with the ESP32 when BearSSL wasn't ready to send 2021-03-21 16:16:45 -07:00
Noah Laptop
f6aa0fd5ad fix: add function to manually update the x509 verification time 2020-11-10 14:06:02 -08:00
Noah Laptop
c19e7ba506 refactor state logging to catch more transitions in BearSSL's state, revert change in previous commit, add SSL_DUMP log level for even more debugging. 2020-10-05 11:32:42 -07:00
Noah Koontz
9854b229f7
Remove flush in available() to prevent timeouts 2020-09-30 08:44:43 -07:00
Noah Laptop
4707ea4b48 Refactored stop to avoid sending close_notify 2020-06-14 09:57:11 -07:00
Noah Laptop
7debbabdd2 fix an issue where a driver desync would cause future connections to fail 2020-05-26 15:19:45 -07:00
Noah Laptop
4bb4e14682 fix compilation error on older compilers (https://github.com/OPEnSLab-OSU/SSLClient/issues/12) 2020-05-24 13:46:31 -07:00
Noah Laptop
159267684a Add error logging to flush 2020-05-22 08:59:42 -07:00
Noah Laptop
e9d418fbb1 Add flush after write to prevent buffering in base client 2020-05-22 08:54:17 -07:00
Noah Laptop
5e3809b5da Fixed a buffer overflow when writing too many bytes at once 2020-04-23 11:54:53 -07:00
Noah Laptop
7307de34c9 reworked mTLS authentication 2020-03-02 10:20:57 -08:00
Noah Laptop
f5672e6884 halfway through rewrite of mTLS api, need to finish testing RSA support 2020-02-26 11:54:54 -08:00
Noah Laptop
bdca75cd87 Remove platform dependent code, update travis to attempt precompiled builds for all platforms 2020-02-21 11:45:14 -08:00
Noah Laptop
089f842558 Upgrade bearssl to acc70b1be60a6f321e2da618cd35d901b1a598a4 2020-02-07 12:32:49 -08:00
Noah Laptop
576e34487e Fix memory checker for ESP32 compatibility 2020-01-06 09:38:39 -08:00
Noah Laptop
f9e4d2574c fix incorrect cast from bool to int, and an invalid return value 2019-12-30 08:00:00 -08:00
Noah Laptop
539b088e82 fix support for the esp8266 2019-12-26 17:50:34 -05:00
Noah Laptop
58a551aa38 prevent conflict with SSLClient errors and common other client write errors 2019-11-11 15:02:37 -08:00
Noah Laptop
26b175844e Fixed a bug causing a buffer overflow in the WiFi101 library 2019-11-11 12:18:58 -08:00
Noah Laptop
00f78f18e8 refactored SSLClient to use a reference to a client as opposed to an instance. 2019-11-07 12:08:39 -08:00
Noah Laptop
5a0debb2fb restructuring to separate the template based functionality from the rest of the class. 2019-02-27 13:22:31 -08:00
Noah Laptop
0a98a00dde fixed syntax errors 2019-02-27 13:17:04 -08:00
Noah Laptop
0546070cbd finished SSLCLient implementation, in process of fixing syntax errors and need to rigorously document 2019-02-26 12:17:25 -08:00
Noah Laptop
f4ea538dab refactored client to use the generic IO API for bearSSL, need to figure out a way to structure write() such that bytes are only written when availible() is called, to allow for multiple calls without significant delay and/or bugs 2019-02-25 18:18:41 -08:00
Noah Laptop
093d1fac8b made a lot of progress creating the SSLClient, slow but steady 2019-02-21 11:45:52 -08:00
Noah Laptop
32fa4ac11d restruturing according to arduino library guidlines 2019-02-19 14:29:50 -08:00
Noah Laptop
0cb8cce548 started writing class for an SSL Client 2019-02-19 11:51:33 -08:00