wolfssl-py icon indicating copy to clipboard operation
wolfssl-py copied to clipboard

Provide DTLS example with PSK use

Open ratelwork opened this issue 1 year ago • 6 comments

Can you please provide an example of DTLS PSK use?

ratelwork avatar Apr 20 '23 09:04 ratelwork

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?

lealem47 avatar Apr 21 '23 17:04 lealem47

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.

ratelwork avatar Apr 25 '23 08:04 ratelwork

@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?

lealem47 avatar Apr 26 '23 17:04 lealem47

@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.

ratelwork avatar Apr 27 '23 09:04 ratelwork

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

nkosmynin avatar Nov 16 '23 12:11 nkosmynin

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

lealem47 avatar Nov 16 '23 17:11 lealem47