Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Hynek Schlawack Newsgroups: comp.lang.python.announce Subject: pyOpenSSL 16.0.0 released Date: Sat, 19 Mar 2016 12:29:28 +0100 Lines: 141 Approved: python-announce-list@python.org Message-ID: Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_647E7B1F-1A50-4F2C-B332-A696780CADE6"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: news.uni-berlin.de 14akZSYwNFwnPGkLUcEUUAppwYnnVeEB/0MmeEQc2nqA== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pycon': 0.03; 'irc': 0.05; 'url:pipermail': 0.05; '2005,': 0.07; 'default.': 0.07; 'dependency': 0.07; 'deprecated': 0.07; 'keys,': 0.07; 'mask': 0.07; 'remaining': 0.07; 'skip:o 50': 0.07; 'subject:released': 0.07; 'utf-8': 0.07; 'works.': 0.07; 'url:pycon': 0.08; 'buffer.': 0.09; 'decision.': 0.09; 'freenode': 0.09; 'notes:': 0.09; 'pyopenssl': 0.09; 'received:internal': 0.09; 'skip:o 60': 0.09; 'python': 0.10; '<>.': 0.11; 'instead.': 0.15; '2016': 0.16; 'barrier': 0.16; 'deprecated.': 0.16; 'dropping': 0.16; 'filename:fname piece:signature': 0.16; 'formerly': 0.16; 'i\xe2\x80\x99m': 0.16; 'openssl': 0.16; 'pyladies': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'revocation': 0.16; 'twisted': 0.16; 'app': 0.16; 'string': 0.17; 'config': 0.18; 'odd': 0.18; 'passes': 0.18; 'removed.': 0.18; 'switched': 0.18; 'runs': 0.18; 'load': 0.20; 'changes': 0.20; '3.2': 0.22; 'affected': 0.22; 'dropped': 0.22; 'keys': 0.22; 'organizers': 0.22; 'strict': 0.22; 'help.': 0.23; 'linux': 0.26; 'skip:# 10': 0.27; 'to:no real name:2**1': 0.27; '2.0': 0.27; '2.6': 0.27; 'moved': 0.27; 'revert': 0.27; 'function': 0.28; 'actual': 0.28; 'looks': 0.29; 'changes:': 0.29; 'seed': 0.29; 'short,': 0.29; 'suites': 0.29; 'up:': 0.29; 'objects': 0.29; 'random': 0.29; 'asked': 0.29; 'code': 0.30; 'fixed': 0.31; 'table': 0.32; 'announce': 0.32; 'changed': 0.33; 'source': 0.33; 'url:python': 0.33; 'open': 0.33; 'channel': 0.34; 'list': 0.34; 'requirements': 0.35; 'done': 0.35; 'but': 0.36; 'should': 0.36; 'project': 0.36; 'there': 0.36; 'url:org': 0.36; 'data.': 0.36; 'received:10': 0.37; 'expect': 0.37; 'setting': 0.37; 'release': 0.37; 'wanted': 0.37; 'things': 0.38; 'doing': 0.38; 'late': 0.38; 'received:66': 0.38; 'version': 0.38; 'drop': 0.38; 'skip:p 20': 0.38; 'mailing': 0.38; 'files': 0.38; 'represent': 0.38; 'skip:o 20': 0.38; 'test': 0.39; 'sure': 0.39; 'url:en': 0.39; "didn't": 0.39; 'rather': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'secure': 0.60; 'your': 0.60; 'hope': 0.61; 'header:Message- Id:1': 0.61; 'default': 0.61; 'real': 0.62; 'making': 0.62; 'policy': 0.63; 'more': 0.63; 'information': 0.63; 'hear': 0.64; 'our': 0.64; 'world': 0.64; 'binding': 0.66; 'lowered': 0.66; 'received:217': 0.66; 'receive': 0.71; 'present.': 0.72; '\xe2\x80\x93': 0.72; 'details:': 0.73; 'brand': 0.75; 'compliant.': 0.84; 'url:2016': 0.84; 'url:readthedocs': 0.84; 'url:schedule': 0.84; 'cryptography': 0.91; 'you\xe2\x80\x99ll': 0.91; 'you\xe2\x80\x99re': 0.91; '\xe2\x80\xa2': 0.91; '***': 0.95; 'hand,': 0.97 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=qf QiPo8wMqkktjtPeTR2ItAg2cU=; b=Bv+WU23PODTRh4EYQuKDSOHY0TCwZgNoE0 A+MMc7Td7wJrKoR8F9fDG4SQke59/QD+Raz+F2gPI0HStPGejF+xCW3+zgTJ4b5l hsgzsUkfC3LBsDl2kMeIzfCRnzHcPIMt88i+v0xXHlfybZMkbmcBbKlkiLnqJ4G7 tVa9IjejA= X-Sasl-enc: lnGHi5Zaixx3eLvPGtd5nOI1oa/gCgTMHnc5Xof7tJPf 1458386971 X-Pgp-Agent: GPGMail 2.6b2 X-Mailer: Apple Mail (2.3112) X-Mailman-Approved-At: Sat, 19 Mar 2016 08:44:43 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python.announce:2078 --Apple-Mail=_647E7B1F-1A50-4F2C-B332-A696780CADE6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On behalf of PyCA =E2=80=93 the Python Cryptography Authority =E2=80=93 = I=E2=80=99m anxious to announce that after almost a year since the = 0.15.1 release of pyOpenSSL we=E2=80=99ve released the brand new 16.0.0. A few organizational notes: 1. The pyopenssl-users mailing list and #pyopenssl IRC channel are = deprecated. Please use cryptography-dev = and = #cryptography-dev on Freenode where you=E2=80=99re much more likely to = get help. 2. The version scheme switched to CalVer because a 0.x version for a 15 = years old project is rather odd and calling it 1.0 although we don=E2=80=99= t expect a 2.0 to ever happen didn=E2=80=99t make any sense. pyOpenSSL = is a long-running project with strict backward-compatibility = requirements and is hence better served with a calendar-based version = scheme. 3. Please note that some of us will be doing a TLS/HTTPS workshop at = PyCon US 2016 so if you always wanted to learn about these things first = hand, make sure to sign up: = . We've opted to = receive no compensation and asked the organizers to send them to = PyLadies instead. So you=E2=80=99ll be doing good while learning = something! *** Release details: While the list of changes looks short, a lot internal work happened: 72 files changed, 15511 insertions(+), 15063 deletions(-) We=E2=80=99ve done our best to not break any existing applications; = including by making the urllib3 and Twisted test suites part of our CI. The full changelog can be found at = . This is the first release under full stewardship of PyCA. We have made = many changes to make local development more pleasing. The test suite now = passes both on Linux and OS X with OpenSSL 0.9.8, 1.0.1, and 1.0.2. It = has been moved to py.test, all CI test runs are part of tox and the = source code has been made fully flake8 compliant. We hope to have lowered the barrier for contributions significantly but = are open to hear about any remaining frustrations. Backward-incompatible changes: =E2=80=A2 Python 3.2 support has been dropped. It never had significant = real world usage and has been dropped by our main dependency = cryptography. Affected users should upgrade to Python 3.3 or later. Deprecations: =E2=80=A2 The support for EGD has been removed. The only affected = function OpenSSL.rand.egd() now uses os.urandom() to seed the internal = PRNG instead. Please see pyca/cryptography#1636 for more background = information on this decision. In accordance with our backward = compatibility policy OpenSSL.rand.egd() will be removed no sooner than a = year from the release of 16.0.0. Please note that you should use urandom for all your secure random = number needs. =E2=80=A2 Python 2.6 support has been deprecated. Our main = dependency cryptography deprecated 2.6 in version 0.9 (2015-05-14) with = no time table for actually dropping it. pyOpenSSL will drop Python 2.6 = support once cryptography does. Changes: =E2=80=A2 Fixed OpenSSL.SSL.Context.set_session_id, = OpenSSL.SSL.Connection.renegotiate, = OpenSSL.SSL.Connection.renegotiate_pending, and = OpenSSL.SSL.Context.load_client_ca. They were lacking an implementation = since 0.14. #422 =E2=80=A2 Fixed segmentation fault when using keys larger than 4096-bit = to sign data. #428 =E2=80=A2 Fixed AttributeError when = OpenSSL.SSL.Connection.get_app_data() was called before setting any app = data. #304 =E2=80=A2 Added OpenSSL.crypto.dump_publickey() to dump = OpenSSL.crypto.PKey objects that represent public keys, and = OpenSSL.crypto.load_publickey() to load such objects from serialized = representations. #382 =E2=80=A2 Added OpenSSL.crypto.dump_crl() to dump a certificate = revocation list out to a string buffer. #368 =E2=80=A2 Added OpenSSL.SSL.Connection.get_state_string() using the = OpenSSL binding state_string_long. #358 =E2=80=A2 Added support for the socket.MSG_PEEK flag to = OpenSSL.SSL.Connection.recv() and OpenSSL.SSL.Connection.recv_into(). = #294 =E2=80=A2 Added OpenSSL.SSL.Connection.get_protocol_version() and = OpenSSL.SSL.Connection.get_protocol_version_name(). #244 =E2=80=A2 Switched to utf8string mask by default. OpenSSL formerly = defaulted to a T61String if there were UTF-8 characters present. This = was changed to default to UTF8String in the config around 2005, but the = actual code didn't change it until late last year. This will default us = to the setting that actually works. To revert this you can call = OpenSSL.crypto._lib.ASN1_STRING_set_default_mask_asc(b"default"). #234 *** For PyCA, Hynek Schlawack --Apple-Mail=_647E7B1F-1A50-4F2C-B332-A696780CADE6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJW7TgZAAoJEK4lNiJ/afGBNG4P/Aq4lsarTxEyxaZisNVt+jC2 dNopZWbfFC3eACnSMZ0VFBVsknx/nJqcaLBAbmOdEAn/hgaAPFrJwQY//zmVXJYx e+ELpkCFocXVeBPwgHgGuNZa2MTLmYuKtJSIyRGDWYijtUib3fEyd5P1Hrwp3Cr6 OhPyYkUJAAknEyP4utkk+YC1GbHd4GJsn2qWqSpbdlY4hvcl9yaVBPqnTA61xlXV j84locX4+imcrmUk1mDeKyu6sXXegHqum63JrzSWb83boD98Fw/PUGPC4tnn7hbM QF5EQYW5Q1c5VtfgjvGgstUkFQZykzKoJXWDeAl8YfGh0NXJdguzf2UtounH3xzz jnlgulbWsiShMXTPbL1HXw0ytThlKLmtorrS3slCWLGg/YEGOo7Xjj/Mjw+a+UVf rv/4jq+6AQA0t2/3rEmBmEKD9F7wJHNlvZGPDL5czFNLXS9h06ucy0QHTdCXpNHz Y+diLwIu+VdZuIU5NnvGQJFI5GIQFGNbzbakr+BcuwhJJXn4ezvebkSE6ILgSvlm Hhnzi7EQpzKa9Ci8BqAuFlaQ2n9Yk6M5Vz2U1anIp/vHf41BRqx0dHwRO+2bXGoA Sg2RG7wqOLUbAHuwQXvZXPUYCxhoAy3xlsu+UqYvwUPQVwereF/BiANJXw6Km3kv /E0LQuCUp+uhm3HgUtXV =1jky -----END PGP SIGNATURE----- --Apple-Mail=_647E7B1F-1A50-4F2C-B332-A696780CADE6--