Hi m0ot,
Thanks for reaching out to wolfSSL via the forums. Have you found the wolfSSL Python wrapper yet? If you use the documentation here it will help get you started with testing:
https://wolfssl.github.io/wolfssl-py/
Next you could remove the default wolfssl that comes from pip with a local copy configured for TLS1.3 support:
# Download wolfssl-4.0.0.zip from https://wolfssl.com and extract it
cd wolfssl-4.0.0
./configure --enable-all
make
<sudo> make install
Then use the api wolfSSLv23_[ client | server ]_method which is already wrapped in the python wrapper and it will use TLS1.3 by default with the option to downgrade (v23 methods support downgrading) if the peer you connect with doesn't have TLS 1.3 support.
We have not yet extended the python wrapper to include the TLS 1.3 only API's but as noted above you can access TLS 1.3 support through the downgrade option which is wrapped.
Please let us know if you have any other questions as you get started and if you need better response times please do not hesitate to reach out to us through support@wolfssl.com or via the zendesk portal at https://wolfssl.zendesk.com
Thanks for considering wolfSSL for use in your project. Can you tell us a bit more about what it is you are working on?
Warm Regards,
K