{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"},{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"Adds DTLS (Datagram Transport Layer Security) support to Python by extending the standard library's ssl module to work with UDP sockets, providing encryption and authentication for datagram-based communication.","skillfed_tags":["udp-security","dtls","cryptography"],"use_cases":["Securing real-time communication protocols (VoIP, video streaming, gaming) where UDP latency is critical and TLS over TCP is too slow.","Protecting IoT device communication where bandwidth and latency constraints make UDP preferable to TCP.","Building DTLS-compliant servers that must authenticate clients and prevent spoofing attacks via the DTLS cookie exchange.","Migrating existing UDP applications to encrypted communication without rewriting socket code\u2014use do_patch to extend ssl module.","Testing DTLS implementations or building DTLS-aware network tools in pure Python."],"what_it_does":"PyDTLS brings DTLS (RFC 6347) to Python by patching the standard library's ssl module to handle UDP datagram sockets the same way it handles TCP streams. It provides encryption, server and user authentication, and message authentication for UDP-based communication. The package is pure Python and interfaces with OpenSSL through ctypes, making it portable across operating systems.\n\nThe library implements DTLS connection semantics on top of connectionless UDP by managing handshakes, cookie exchanges (to prevent denial-of-service attacks), and demultiplexing of datagrams to the correct peer connection. You can use either the familiar ssl module interface (after calling do_patch) or the lower-level SSLConnection class directly. Version 1.3.0 adds support for DTLS 1.2, forward secrecy via elliptic curve cryptography, and finer-grained configuration.","worth_installing":"Yes, if you need DTLS for UDP communication and can accept dormant maintenance. The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, do not use it if you require active security updates or compatibility with Python versions beyond 3.6\u2014the last release was 2020-11-06 and the repository shows no recent activity."},"id":"python3-dtls","links":{"html":"https://skillfed.io/packages/python3-dtls","md":"https://skillfed.io/packages/python3-dtls.md","pypi":"https://pypi.org/project/python3-dtls/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-11-06","license_spdx":null,"license_treatment":"permissive","name":"python3-dtls","python_support":"unspecified","summary":"Python Datagram Transport Layer Security"},"popularity":{"monthly_downloads":213783,"position":9428,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
