Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36434 > unrolled thread
| Started by | Guido van Rossum <guido@python.org> |
|---|---|
| First post | 2013-01-08 06:53 -0800 |
| Last post | 2013-01-08 06:53 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: ANN: PyDTLS Guido van Rossum <guido@python.org> - 2013-01-08 06:53 -0800
| From | Guido van Rossum <guido@python.org> |
|---|---|
| Date | 2013-01-08 06:53 -0800 |
| Subject | Re: ANN: PyDTLS |
| Message-ID | <mailman.278.1357656821.2939.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
This sounds exciting. Are you considering a Python 3 port? It might make a
nice demo of PEP 3156.
On Monday, January 7, 2013, rbit wrote:
> I would like to announce Datagram Transport Layer Security for
> Python. From the top of the project README:
>
> PyDTLS brings Datagram Transport Layer Security (DTLS - RFC 6347:
> http://tools.ietf.org/html/rfc6347) to the Python environment. In a
> nutshell, DTLS brings security (encryption, server authentication,
> user authentication, and message authentication) to UDP datagram
> payloads in a manner equivalent to what SSL/TLS does for TCP stream
> content.
>
> DTLS is now very easy to use in Python. If you're familiar with the
> ssl module in Python's standard library, you already know how. All it
> takes is passing a datagram/UDP socket to the *wrap_socket* function
> instead of a stream/TCP socket. Here's how one sets up the client side
> of a connection:
>
> import ssl
> from socket import socket, AF_INET, SOCK_DGRAM
> from dtls import do_patch
> do_patch()
> sock = ssl.wrap_socket(socket(AF_INET, SOCK_DGRAM))
> sock.connect(('foo.bar.com', 1234))
> sock.send('Hi there')
>
> The project is hosted at https://github.com/rbit/pydtls, and licensed
> under
> the Apache license 2.0. PyPI has packages. I can be reached
> at code AT liquibits DOT com for questions, feedback, etc.
>
> <P><A HREF="http://pypi.python.org/pypi/Dtls/0.1.0">Dtls 0.1.0</A> -
> Datagram Transport Layer Security for Python. (07-Jan-13)
> --
> http://mail.python.org/mailman/listinfo/python-announce-list
>
> Support the Python Software Foundation:
> http://www.python.org/psf/donations/
>
--
--Guido van Rossum (python.org/~guido)
Back to top | Article view | comp.lang.python
csiph-web