Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-16 | extmod/modussl_mbedtls.c: Add ussl.getpeercert() method. | Eric Poulsen | |
Behaviour is as per CPython but only the binary form is implemented here. A test is included. | |||
2017-07-26 | extmod/modussl_mbedtls: Implement non-blocking SSL sockets. | Eric Poulsen | |
2017-07-25 | extmod/modussl_mbedtls: Make socket.close() free all TLS resources. | Damien George | |
Also, use mp_stream_close() helper to close the underlying socket. | |||
2017-07-25 | extmod/modussl_mbedtls: When reading and peer wants to close, return 0. | Damien George | |
If this particular code is returned then there's no more data, it's not really an error. | |||
2017-07-24 | all: Don't include system errno.h when it's not needed. | Damien George | |
2017-07-24 | extmod/modussl_mbedtls: Support server_side mode. | Damien George | |
To use server_side mode one must pass valid values in the "key" and "cert" parameters. | |||
2017-03-29 | extmod: Update for changes to mp_obj_str_get_data. | Damien George | |
2016-11-14 | all: Remove readall() method, which is equivalent to read() w/o args. | Paul Sokolovsky | |
Its addition was due to an early exploration on how to add CPython-like stream interface. It's clear that it's not needed and just takes up bytes in all ports. | |||
2016-10-15 | extmod/modussl_mbedtls: Add dummy setblocking() method. | Paul Sokolovsky | |
Accepts only value of True. | |||
2016-10-07 | extmod: Use mp_raise_OSError helper function. | Damien George | |
2016-09-23 | extmod/modussl_mbedtls: Add server_hostname param for wrap_socket(). | Paul Sokolovsky | |
In CPython, module-level .wrap_socket() function actually doesn't accept (or document) this param, only SSLContext.wrap_socket() has. | |||
2016-09-22 | extmod/modussl_mbedtls: Use 2-component include paths. | Paul Sokolovsky | |
This is required to use mbedTLS versions from various sources, e.g. mainline vs embedded into Zephyr RTOS. | |||
2016-09-22 | extmod/modussl_mbedtls: Implement key= and cert= args to wrap_socket(). | Paul Sokolovsky | |
Unlike standard keyfile= and certfile=, these accept byte buffer objects (to not depend on FS implementation). | |||
2016-09-21 | extmod/modussl_mbedtls: Initial implementation of mbedTLS ussl module. | Paul Sokolovsky | |