Commit graph

65 commits

Author SHA1 Message Date
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
Noah Laptop
cd94d0bf3b refatored to use a better system for passing object up the inheritance heirchy 2019-03-26 13:19:56 -07:00
Noah Laptop
c5790a7012 Moved SSLSession stuff to SSLClientImpl 2019-03-26 12:54:22 -07:00
Noah Laptop
843d19bf6c refactored a bit, need to refactor more to merge SSLClientImpl with SSLClient to cut down flash footprint and code footprint 2019-03-24 16:40:21 -07:00
Noah Laptop
bd890ae834 continued documenting, saftey commit before tinkering 2019-03-24 16:12:16 -07:00
Noah Laptop
010ccab457 continued creating documentation 2019-03-22 17:42:51 -07:00
Noah Laptop
6e7215b0b8 moved documentation and almost finished, need to fix forward definitions in header file 2019-03-21 11:17:00 -07:00
Noah Laptop
6389c24bc1 refactored a bit, in process of documenting 2019-03-15 17:01:50 -07:00
Noah Laptop
292dd7a807 Added out of memory warning and reset 2019-03-14 11:04:51 -07:00
Noah Laptop
ef4a55cbe8 Switched hostname storage from stack to heap since hostnames are much smaller than max 256 bytes, need to add free memory error detection before stack overflows (8000 bytes?)
Signed-off-by: Noah Laptop <noah@koontzs.com>
2019-03-13 13:25:13 -07:00
Noah Laptop
7f72073fa6 debugged stack overflow error, fixed connection timeout and some error flow problems 2019-03-12 16:59:45 -07:00
Noah Laptop
c212e355a4 added lots and lots of Serial debugging framework, need to test and make sure it works 2019-03-11 18:31:15 -07:00
Noah Laptop
ab0cf9d52b implemented session cache of size n, need to figure out failure cases and account for them 2019-03-07 18:15:39 -08:00
Noah Laptop
257a61e0f3 forgot to commit this file, see above commit 2019-03-07 15:42:05 -08:00
Noah Laptop
ac03dc943a implemented IP-based session caching 2019-03-07 15:41:38 -08:00