Commit graph

79 commits

Author SHA1 Message Date
Noah Laptop
f6aa0fd5ad fix: add function to manually update the x509 verification time 2020-11-10 14:06:02 -08:00
Noah Laptop
a6462552cd fix: enable p384 and p512 curves in SSL engine 2020-10-25 16:24:19 -07: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
fa0c4ee5e2 add support for SAM, switch __throw_length_error to weak linkage 2020-05-24 14:00:35 -07:00
Noah Laptop
376c339c95 fix typo 2020-05-24 13:54:06 -07:00
Noah Laptop
9964401199 reworked std compatibility per https://github.com/OPEnSLab-OSU/SSLClient/pull/10 2020-05-24 13:52:07 -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
Blair Wyatt
226307d0bd
Add support for Teensy 4.x
Teensy 4.x doesn't support exidx calls (yet), this fixes support for Teensy 4.x.
2020-05-21 18:46:59 +10: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
c157c00f69 final update to documentation before version release 2019-08-14 11:19:56 -07:00
Noah Laptop
c832294902 Remove unnessecary functions in SSLObj, add comments to SSLObj and update docs 2019-08-14 11:12:06 -07:00
Noah Laptop
c6ac76be27 small bugfix with flushing behavior 2019-08-14 11:00:19 -07:00
Noah Laptop
5e1a3b41ca fix SSLObj functionality 2019-08-13 12:29:09 -07:00
Noah Laptop
2b287f5179 Rework client certificates, add support for decoding a PEM object 2019-08-12 17:27:14 -07:00
Noah Laptop
708b564d30 remove unnecessary explicit ctor 2019-08-05 21:39:49 -07:00
Noah Laptop
9766e41dee fix build compatibility issues, add travis build test 2019-08-05 20:35:32 -07:00
Noah Laptop
a097b3c377 Fixed a TLS timeout when connecting to servers with large ECC chains, removed curve25519 support to save space, added back chachapoly support for speed benefits 2019-08-01 10:00:00 -07:00
Noah Laptop
8660724161 added back elliptical curves and reduced cipher suite 2019-07-31 10:50:59 -07:00
Noah Laptop
808bc15a1e fixed a bug with stopping SSLClient in the middle of a connection 2019-07-30 17:32:43 -07:00
Noah Laptop
2e2c247a0f Removed support for some elliptical curves and removed support for SHA384 ciphers to save space 2019-07-30 15:33:10 -07:00
Noah Laptop
97aee26a1f Increased buffer again as the smaller buffer broke client certificates 2019-07-25 09:16:58 -07:00
Noah Laptop
4b95e7d7a1 added mutual authentication, tweaked command line tool 2019-07-23 18:29:13 -07:00
Noah Laptop
0538c30081 reduced memory usage, at the cost of performance 2019-07-22 17:07:54 -07:00
Noah Laptop
5cfb98d935 fixed a bug with behavior when the socket drops, added support for calling read or write to a null pointer 2019-06-13 13:39:19 -07:00
Noah Laptop
ae19c5a081 added extra write flush and debugging 2019-06-11 17:02:42 -07:00
Noah Laptop
75bc956a8e Fixed documentation to reflect available() requiring connected() for proper operation 2019-06-11 11:29:37 -07:00
Noah Laptop
f3509c9875 fixed bug where SSLclient would self-corrupt if connected() was called before the first connection 2019-06-10 14:25:28 -07:00
Noah Laptop
f4561d0415 updated examples and timeout to reflect arduino.cc certificate change 2019-06-10 10:30:06 -07:00
Noah Laptop
28e1555e76 removed virtual, added override specifiers, regenerated documentation 2019-05-20 16:31:58 -07:00
Noah Laptop
88d4061496 added some example sketchs 2019-04-01 18:53:20 -07:00
Noah Laptop
720735b496 updated readme to add missing sections 2019-04-01 18:08:46 -07:00
Noah Laptop
431df02b5b regenerated documentation 2019-03-31 16:42:28 -07:00
Melanie
b36f9ca5dc Updated documentation for comprehension, readability 2019-03-31 16:39:10 -07:00
Noah Laptop
8656bf9eb0 Initial documentation creation! 2019-03-31 15:52:50 -07:00
Noah Laptop
648104c7e3 almost finished documenting, moved SSLSession implementation into it's own file, fixed infinite loop when overflowing m_iobuf 2019-03-31 12:55:58 -07:00