Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; 'socket': 0.05; 'pypi': 0.07; 'subject:ANN': 0.07; 'python': 0.09; 'pep': 0.09; 'received:209.85.212.54': 0.09; 'rfc': 0.09; 'rossum': 0.09; 'url:donations': 0.09; 'url:github': 0.09; 'url:psf': 0.10; 'apache': 0.13; 'packages.': 0.15; 'passing': 0.15; '0.1.0': 0.16; 'af_inet,': 0.16; 'sock': 0.16; 'socket.': 0.16; 'tcp': 0.16; 'url:foo': 0.16; 'from:addr:python.org': 0.17; 'wrote:': 0.17; 'library,': 0.17; 'ssl': 0.17; 'sender:addr:gmail.com': 0.18; 'module': 0.19; 'equivalent': 0.20; 'to:name:python-list@python.org': 0.20; 'import': 0.21; 'monday,': 0.23; "python's": 0.23; 'sets': 0.23; 'header:In-Reply-To:1': 0.25; 'environment.': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'socket,': 0.29; 'url:mailman': 0.29; 'van': 0.29; 'skip:& 10': 0.29; 'hosted': 0.30; 'function': 0.30; 'code': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'skip:s 30': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'project': 0.34; 'server': 0.35; 'received:209.85': 0.35; 'url:org': 0.36; 'announce': 0.36; 'client': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'url:mail': 0.40; 'easy': 0.60; 'side': 0.61; 'license': 0.65; 'reached': 0.65; 'url:0': 0.67; 'sounds': 0.71; 'manner': 0.74; 'feedback,': 0.84; 'url:python-announce-list': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=TYpOO75h0zUlEyT9xrqBifju+57O13k1oX/NUuLJuXU=; b=vR9HBjZx6XZMCquZrbGQaBwYp20xGUUGo92DiuxGCV/xOT00+Y8e3tOzkcIE7q7ouR /IzyUfDtvEUUz4GfoOw7r9gvmKjWYufBmp9F0aNeAi7sAJYOGMi4bxqH95qKuqefiZX2 a9cskcfiN7WJnvuDLwYtEiLZCVgYMTf/HTiShfvXDVgUMqz2xRNQMsfFujYMcL86Ys0D Z8C/MPb+zFytFFAeeyE5/d0jbwdf3USfdmwkWJMwKxMxRlsZ+855mZxSE0iefx0EY1Bq uDE/PW5+B5JHkrBjCiTmWF9j+5A4YZ9ryazqrmVEOHknAZ/uFjXad9bZZhsvPbTyWA6e 804Q== MIME-Version: 1.0 Sender: gvanrossum@gmail.com In-Reply-To: References: Date: Tue, 8 Jan 2013 06:53:38 -0800 X-Google-Sender-Auth: Slwiz418r9J9APen5kcZhnufBYM Subject: Re: ANN: PyDTLS From: Guido van Rossum To: "python-list@python.org" Content-Type: multipart/alternative; boundary=089e013cbd3e62958d04d2c81cee X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 108 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357656821 news.xs4all.nl 6903 [2001:888:2000:d::a6]:55146 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36434 --089e013cbd3e62958d04d2c81cee Content-Type: text/plain; charset=ISO-8859-1 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. > >

Dtls 0.1.0 - > 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) --089e013cbd3e62958d04d2c81cee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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://too= ls.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<= br> of a connection:

=A0 =A0 import ssl
=A0 =A0 from socket import socket, AF_INET, SOCK_DGRAM
=A0 =A0 from dtls import do_patch
=A0 =A0 do_patch()
=A0 =A0 sock =3D ssl.wrap_socket(socket(AF_INET, SOCK_DGRAM))
=A0 =A0 sock.connect(('foo.bar.com', 1234))
=A0 =A0 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=3D"http://pypi.python.org/pypi/Dtls/0.1.0">D= tls 0.1.0</A> -
=A0 =A0 =A0 Datagram Transport Layer Security for Python. =A0(07-Jan-13) --
http://mail.python.org/mailman/listinfo/python-announce-lis= t

=A0 =A0 =A0 =A0 Support the Python Software Foundation:
=A0 =A0 =A0 =A0 http://www.python.org/psf/donations/


--
--Guido van Rossum (python.org/~guido)
--089e013cbd3e62958d04d2c81cee--