wolfSSL / wolfssl-py

Python wrapper for wolfSSL embedded SSL/TLS library.
https://wolfssl.github.io/wolfssl-py/
39 stars 26 forks source link

Provide DTLS example with PSK use #41

Open ratelwork opened 1 year ago

ratelwork commented 1 year ago

Can you please provide an example of DTLS PSK use?

lealem47 commented 1 year ago

Hi @ratelwork,

Can I ask what you're working on?

PSK is currently not supported with the python wrapper. Would you like to submit a feature request to add support for it?

ratelwork commented 1 year ago

Hi @lealem47

Can I ask what you're working on?

Of cource, we make experiments with DTLS communication on top of lorawan in our institute. We want to use python wrapper at the client side DTLS. For the testing purposes better to have both client and server.

PSK is currently not supported with the python wrapper. Would you like to submit a feature request to add support for it?

It will be nice to see it in the future.

lealem47 commented 1 year ago

@ratelwork,

Great, I've added it to our feature request list. Is this a must-have feature for you or can you still move forward with your testing? And what institute are you involved with?

ratelwork commented 1 year ago

@lealem47 currently we use https://pypi.org/project/python3-dtls/ but it have no PSK support. Other important features for us is possibility to change handshake timeout value and MTU (fragmentation) size, that are presented in the https://pypi.org/project/python3-dtls/. Institute of Reliable Embedded Systems and Communication Electronics.

nkosmynin commented 11 months ago

Hi! We study how to implement the HTTPS communication with PSK under Python, WolfSSL seems to be a good candidate for that. Therefore we are also interested in this feature

lealem47 commented 11 months ago

Hi @nkosmynin,

Thank you for your note. We are tracking this request internally. We try to work on requested features whenever we get free engineering cycles unless a customer decides to back the effort for a finite implementation timeline. We will keep you updated on any progress here.

Thanks, Lealem, wolfSSL