Git Product home page Git Product logo

Comments (14)

Tanganelli avatar Tanganelli commented on August 23, 2024

Hi,
It is in our TODO list, and I hope we will provide DTLS support in few
months.

2015-04-23 19:57 GMT+02:00 Evan Meagher [email protected]:

Is there a likely timeframe for implementing DTLS support?


Reply to this email directly or view it on GitHub
#14.

from coapthon.

louisZL avatar louisZL commented on August 23, 2024

When would provide DTLS support?

from coapthon.

rsweis62 avatar rsweis62 commented on August 23, 2024

Is DTLS going to happen anytime soon?

from coapthon.

stevecalvert avatar stevecalvert commented on August 23, 2024

Hi Giacomo, I'm also interested in DTLS support - would really appreciate an update on this

from coapthon.

Venkat2811 avatar Venkat2811 commented on August 23, 2024

Hi @Tanganelli ,

Update on DTLS support would be much appreciated !

Thanks,
Venkat

from coapthon.

Tanganelli avatar Tanganelli commented on August 23, 2024

Hi all,
I know that everybody would like DTLS. However it is a real long work in my opinion, thus I would really appreciate if someone could help me on this.

from coapthon.

shantanoo-desai avatar shantanoo-desai commented on August 23, 2024

This Repository for DTLS seems promising if this needs to be done @Tanganelli

from coapthon.

jyotirajsharma avatar jyotirajsharma commented on August 23, 2024

Hi,
I am trying to use this library. Does it support DTLS now ??

from coapthon.

Tanganelli avatar Tanganelli commented on August 23, 2024

Now it should support DTLS, however I still have to evaluate it.

from coapthon.

jyotirajsharma avatar jyotirajsharma commented on August 23, 2024

Could you please help to provide example script for DTLS ? I am able to send coap from my Pi3 to node.js coap server via Python Shell. I used coapclient.py as I need client side only.

from coapthon.

mcfreis avatar mcfreis commented on August 23, 2024

Maybe you should have a look at test_secure.py which is all about examples on using DTLS with CoAPthon, especially function test_ok_with_handshake_on_connect() and try modifying "your version" of coapclient.py to meet your needs. Basically it is only creating a DTLS socket and giving it to HelperClient() on creation.

from coapthon.

jyotirajsharma avatar jyotirajsharma commented on August 23, 2024

Thank you for your response.

I am getting following error while trying to execute test_secure.py. I have already installed pip install Dtls though. Please help to resolve this.

Note: Looks like, pyDTLS that you gave link installed libssl.1.0.0 which does not have "DTLS_server_method".
May be it is required to install libssl.1.0.2 from pyDtls itself. How to do this ?

Traceback (most recent call last):
File "test_secure.py", line 23, in
from dtls.wrapper import wrap_server, wrap_client
File "/usr/local/lib/python2.7/dist-packages/dtls/init.py", line 63, in
from patch import do_patch
File "/usr/local/lib/python2.7/dist-packages/dtls/patch.py", line 44, in
from sslconnection import SSLConnection, PROTOCOL_DTLS, PROTOCOL_DTLSv1, PROTOCOL_DTLSv1_2
File "/usr/local/lib/python2.7/dist-packages/dtls/sslconnection.py", line 60, in
from x509 import _X509, decode_cert
File "/usr/local/lib/python2.7/dist-packages/dtls/x509.py", line 34, in
from openssl import *
File "/usr/local/lib/python2.7/dist-packages/dtls/openssl.py", line 811, in
((c_char_p, "ret"), (c_int, "nid")), True, None),
File "/usr/local/lib/python2.7/dist-packages/dtls/openssl.py", line 642, in
map(lambda x: _make_function(*x), (
File "/usr/local/lib/python2.7/dist-packages/dtls/openssl.py", line 562, in _make_function
for i in args[1:]))
AttributeError: /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0: undefined symbol: DTLS_server_method

from coapthon.

jyotirajsharma avatar jyotirajsharma commented on August 23, 2024

How to install Openssl1.0.2 version in Debian (Raspberry Pi3) OS ?
It just installs OpenSSL1.0.1 automatically. I require version later than this i.e. 1.0.2* which supports DTLS.

I installed openssl1.0.2g from some site but it does not link lib dynamically as I could not see 'libssl.1.0.0' when I run this command '$ ldd /usr/bin/openssl'

from coapthon.

Tanganelli avatar Tanganelli commented on August 23, 2024

Hi, take a look to: https://raspberrypi.stackexchange.com/questions/66782/how-to-install-openssl-1-0-2-on-raspberry-pi3/67045

from coapthon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.