From owner-freebsd-python@FreeBSD.ORG Sat Mar 8 23:49:23 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 928C4E1B for ; Sat, 8 Mar 2014 23:49:23 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10.hushmail.com [65.39.178.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 782F592A for ; Sat, 8 Mar 2014 23:49:23 +0000 (UTC) Received: from smtp10.hushmail.com (localhost [127.0.0.1]) by smtp10.hushmail.com (Postfix) with SMTP id 2540EC0131 for ; Sat, 8 Mar 2014 23:49:16 +0000 (UTC) Received: from smtp.hushmail.com (w3.hushmail.com [65.39.178.62]) by smtp10.hushmail.com (Postfix) with ESMTP; Sat, 8 Mar 2014 23:49:15 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id C565A20106; Sat, 8 Mar 2014 23:49:15 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 08 Mar 2014 18:49:15 -0500 To: koobs@freebsd.org, python@freebsd.org Subject: Re: security/py-cryptography broken From: "Kenta S." In-Reply-To: <531BA8AD.3090209@FreeBSD.org> References: <20140306044423.GA65814@dev.san.ru> <20140308180236.031E420108@smtp.hushmail.com> <531BA8AD.3090209@FreeBSD.org> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20140308234915.C565A20106@smtp.hushmail.com> X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2014 23:49:23 -0000 On 03/08/2014 at 6:33 PM, "Kubilay Kocak" wrote: > >Which UPDATING entry instructions did you follow? I don't recall >any for deluge, py-openssl or py-cryptography. 20140307: AFFECTS: users of devel/py-setuptools dependent ports AUTHOR: sunpoet@FreeBSD.org >I'm not sure to what extent its related to your issue, but can you >update py-cryptography (as py-openssl depends on it) to the latest >version and let me know if that works. I uninstalled Deluge and all dependencies, so py-cryptography is gone. I only have : python27-2.7.6_4 Interpreted object-oriented programming language No other py* stuff installed. I thought this would let Deluge build, but it did not. >What does the following python command output: > >python -c "from hashlib import md5, sha512" $ python -c "from hashlib import md5, sha512" -bash: python: command not found So I try: $ python2.7 -c "from hashlib import md5, sha512" ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 103, in __get_openssl_constructor return __get_builtin_constructor(name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "", line 1, in ImportError: cannot import name md5