Carglglz

Results 42 comments of Carglglz

Hi @goatchurchprime, I have a solution to this (works the same for both SERIAL and WebREPL connections). I use a library I'm currently developing [upydevice](https://github.com/Carglglz/upydevice) which basically deals with sending...

Hi, which class did you test that didn't work? > Can it connect to a device which is already running a program? W_UPYDEVICE class needs WebREPL to be running/available to...

> Should probably keep the existing ussl.wrap_socket() for backwards compatibility for a couple of releases. It could print a deprecation warning. I agree with this. > Whether to implement it...

Well I'm not sure if this is the right way to implement this, but it is a start. (C code probably needs some cleaning/fixing 🤷🏼‍♂️) I added a `multi_net/ssl_context_rsa.py` test...

I've just added `SSLContext.reset()` method and a `http_server_ssl_context.py` example. This allows to "reuse" the SSLContext. I guess this is not CPython compliant but I'm not sure how to balance between...

Update on date/time certificate validation: ### Ports using UNIX EPOCH It turns out that enabling date/time certificate validation only requires defining these macros `MBEDTLS_HAVE_TIME` and `MBEDTLS_HAVE_TIME_DATE` in `mbedtls_config.h`, then `mbedtls`...

Note about `ussl.wrap_socket` deprecation: I "deprecated" `ussl.wrap_socket` (just commented out for now) in favour of `ssl.wrap_socket` that is backwards compatible with `ussl.wrap_socket` and with the docs api description (so it...

> Thanks for this. It's a good change but let's wait until after the next release (after v1.20). Yes, it's just something I bumped into while doing #8968 and I...

Not sure if this could be of any help or maybe you already have looked into it, but just in case: [CONFIG_MBEDTLS_DYNAMIC_BUFFER](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-mbedtls-dynamic-buffer) or [CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-mbedtls-dynamic-free-config-data) [CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-mbedtls-dynamic-free-ca-cert) Although not sure how much...

Or just add a few more `*`s: This applies to both the Python standard libraries (e.g. ``os``, ``time``, etc), but also the MicroPython libraries too (e.g. ``machine``, ``bluetooth``, etc). The...