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-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.001 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; 'rfc': 0.09; 'url:github': 0.09; '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; 'library,': 0.17; 'ssl': 0.17; 'module': 0.19; 'equivalent': 0.20; 'import': 0.21; "python's": 0.23; 'sets': 0.23; 'environment.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'socket,': 0.29; 'hosted': 0.30; 'function': 0.30; 'code': 0.31; 'url:python': 0.32; 'received:74.125.82': 0.33; 'skip:s 30': 0.33; 'received:google.com': 0.34; 'project': 0.34; 'server': 0.35; 'received:74.125': 0.36; 'url:org': 0.36; 'announce': 0.36; 'client': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'easy': 0.60; 'side': 0.61; 'license': 0.65; 'reached': 0.65; 'to:addr:python-announce-list': 0.65; 'url:0': 0.67; 'manner': 0.74; 'feedback,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liquibits.com; s=google; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=tCMDBkZHR9rFffOcCXYa/tJc6vw5TYEGOO6+5+RpNhQ=; b=wkhkxhRyOHw9j1TPQjaNW4N8ftLWSvLs5xNZv6Br08mi+g9QwDJn1nau4XUxWJQ1dV 87sNcd5evObH3ChPenLqCz44gbu+WJ2Lwcv/2UeNnAVGPgTC/ij9KyhjfClOcHG6wt7I OFF5Cj1/vYMLGqkL4VM/CaEAaRICTmuF/Insc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type:x-gm-message-state; bh=tCMDBkZHR9rFffOcCXYa/tJc6vw5TYEGOO6+5+RpNhQ=; b=HzN8pGGCflf/K6TRB4AO2M6oj6QJoRe280fW+rhrtBs4YuVCtUVe/sFDIusyx6e6gB 9s/hR8iUrg7xpDU5uNto0hcgNbeK0+gO5aQhoKVpI677Q4gBIOPEBaWLfVGRovwpB53b lfxOMZBcAj/iyQMbUCnjXMLRhkEDZ7ACRK5hv1ethZrTz8roU/hSE49Ul8K2FZovMEJT ySYcDqOhBdcn0cckBbxFStxP6MJnAhDYrXzCJqm1tA7LkouOBcaiONUY3QyMKdFJIHCr pQQQlPksxuND0/r6Z2nUUyhJHRrcjEwWyU5dX9AecjmLvD25HBhcwGre4BFD50YAxFd4 cIag== MIME-Version: 1.0 Sender: ray@liquibits.com X-Originating-IP: [76.104.190.126] Date: Mon, 7 Jan 2013 14:37:07 -0800 X-Google-Sender-Auth: H9N2Gaqq6_1l-IzHbrhmdblD64Y Subject: ANN: PyDTLS From: rbit To: python-announce-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnja7KkCNWfzD2tga5/kYxRF7vtOF7FkZrTPsVL3XmpFBeR4BP8z9gUJMUZzbUbHC961k4k X-Mailman-Approved-At: Tue, 08 Jan 2013 14:58:46 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357653528 news.xs4all.nl 6931 [2001:888:2000:d::a6]:60469 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:799 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)