From nobody Fri Mar 29 06:44:12 2024 X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by lists.alpinelinux.org (Postfix) with ESMTP id 01E935C592A for ; Tue, 13 Nov 2018 11:36:22 +0000 (GMT) Received: by mail-lj1-f196.google.com with SMTP id e5-v6so10518257lja.4 for ; Tue, 13 Nov 2018 03:36:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=4PwGWEZv6fJ0TrhvFAPk5us4mu0YCKgI68efPkm2lLY=; b=CzqB2zsh+KNve0tAkyxf6vyF0oFVXaCi6G9/bSyIuYy0FUbqCaBZ71Q4Etl+TGIkHI 0kbpE9x7n63ulbvcqsPJSUEHwQFQXRmRRZ6AIKzHI6y16DCGvnYEe9TdATLSONozvalt QxHj/UVm27m1gkq7Xj2HRamWubS0BbJX9ZT2JiWVCea8CqC0LJNvUiq2mfQdy0VsFrM1 23HNeP+k44fw+cx8C9cyU2kCXik10r3Kwn1T0oBzlE02VkE2XtuNgPqD3ottFziDJfeT YLFhAVz5V2r5/Oxx1tzb1m4kurBc/ru+BvSVVBjVWLCnOEAULnc9FEOVvaBrk7Uc/PCm 9bNQ== X-Gm-Message-State: AGRZ1gKPxmiFzEJS2DV2A/JIBR33VCSCuCCnyxubOjaj6GMkf4GA7nc0 4clrQm6dEPDog/q5+7u/ngTHAoiE X-Google-Smtp-Source: AJdET5dMuDwAKLmr/eO/7KgJPZlOiGwlWPBNy33BquqSSaLp36GIEbDbr28z+Jcy25WEogECFfb49Q== X-Received: by 2002:a2e:449c:: with SMTP id b28-v6mr2826969ljf.47.1542108979711; Tue, 13 Nov 2018 03:36:19 -0800 (PST) Received: from vostro ([83.145.235.201]) by smtp.gmail.com with ESMTPSA id y24-v6sm3282873ljd.20.2018.11.13.03.36.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 03:36:19 -0800 (PST) Date: Tue, 13 Nov 2018 13:36:14 +0200 From: Timo Teras To: Marian Buschsieweke Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/py-cryptography: Update 2.3.1 -> 2.4.1 Message-ID: <20181113133614.33312065@vostro> In-Reply-To: <20181113101241.75df8151@faultier2go> References: <20181112083040.5605-1-marian.buschsieweke@ovgu.de> <20181112103416.7278a508@vostro> <20181113101241.75df8151@faultier2go> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/gcsKUG5p=n9jFkryyoETQ68"; protocol="application/pgp-signature" --Sig_/gcsKUG5p=n9jFkryyoETQ68 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Thanks for the report. I filed the following upstream report: https://github.com/pyca/cryptography/issues/4588 And pinged if the 'no-psk' openssl configuration is really needed: https://github.com/alpinelinux/aports/commit/abe1dc5988d12f5aca771605b10939= 0f33ce7519#commitcomment-31279291 Timo On Tue, 13 Nov 2018 10:12:41 +0100 Marian Buschsieweke wrote: > Hi, >=20 > here is how to reproduce the problem: Start gajim, which depends on > py3-cryptography and py3-openssl: >=20 > $ gajim > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > PyOpenSSL not found, falling back to Python builtin SSL objects > (insecure). > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > Traceback (most recent call last): File > "/usr/lib/python3.6/site-packages/gajim/gajim.py", line 267, in > _activate from gajim.gui_interface import Interface File > "/usr/lib/python3.6/site-packages/gajim/gui_interface.py", line 73, > in from gajim.groupchat_control import GroupchatControl File > "/usr/lib/python3.6/site-packages/gajim/groupchat_control.py", line > 44, in from gajim import config File > "/usr/lib/python3.6/site-packages/gajim/config.py", line 58, in > from gajim.common import connection File > "/usr/lib/python3.6/site-packages/gajim/common/connection.py", line > 64, in from gajim.common import check_X509 File > "/usr/lib/python3.6/site-packages/gajim/common/check_X509.py", line > 4, in import OpenSSL.SSL File > "/usr/lib/python3.6/site-packages/OpenSSL/__init__.py", line 8, in > from OpenSSL import crypto, SSL File > "/usr/lib/python3.6/site-packages/OpenSSL/crypto.py", line 16, in > from OpenSSL._util import ( File > "/usr/lib/python3.6/site-packages/OpenSSL/_util.py", line 6, in > from cryptography.hazmat.bindings.openssl.binding import > Binding File > "/usr/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/bi= nding.py", > line 14, in from cryptography.hazmat.bindings._openssl > import ffi, lib ImportError: Error > relocating /usr/lib/python3.6/site-packages/cryptography/hazmat/bindings/= _openssl.abi3.so: > SSL_CTX_set_psk_client_callback: symbol not found >=20 > The affected file is owned by py3-cryptography. When compiled against > libressl, this problem does not occur. >=20 > Kind regards, > Marian >=20 > ------------------------------------------------------------- > M.Sc. Marian Buschsieweke > Dept. Communication and Networked Systems (ComSys) > Institute for Intelligent Cooperating Systems (IKS) > Otto-von-Guericke-University of Magdeburg > Universit=C3=A4tsplatz 2, Building 29, Room 314 > 39106 Magdeburg > Germany >=20 > http://www.comsys.ovgu.de/Team/Marian+Buschsieweke.html > Tel.: +49 - 391 - 67 - 52673 > Fax: +49 - 391 - 67 - 41161 >=20 > ------------------------------------------------------------- >=20 > On Mon, 12 Nov 2018 10:34:16 +0200 > Timo Teras wrote: >=20 > > On Mon, 12 Nov 2018 09:30:40 +0100 > > Marian Buschsieweke wrote: > > =20 > > > Also replaced dependency "openssl-dev" by "libressl-dev". =20 > >=20 > > Why? Edge has been migrated to openssl.1.1. We are trying to get > > rid of libressl. > >=20 > > See the discussion threads: > > http://lists.alpinelinux.org/alpine-devel/6308.html > > http://lists.alpinelinux.org/alpine-devel/6334.html > >=20 > > Timo > > =20 > > > --- > > > main/py-cryptography/APKBUILD | 8 ++++---- > > > 1 file changed, 4 insertions(+), 4 deletions(-) > > >=20 > > > diff --git a/main/py-cryptography/APKBUILD > > > b/main/py-cryptography/APKBUILD index 6fa72d66b1..3847713f20 > > > 100644 --- a/main/py-cryptography/APKBUILD > > > +++ b/main/py-cryptography/APKBUILD > > > @@ -2,14 +2,14 @@ > > > # Maintainer: August Klein > > > pkgname=3Dpy-cryptography > > > _pkgname=3D${pkgname#py-} > > > -pkgver=3D2.3.1 > > > -pkgrel=3D1 > > > +pkgver=3D2.4.1 > > > +pkgrel=3D0 > > > pkgdesc=3D"A package which provides cryptographic recipes and > > > primitives" url=3D"https://pypi.python.org/pypi/cryptography" > > > arch=3D"all" > > > license=3D"Apache-2.0" > > > depends=3D"py-cffi py-idna py-asn1crypto py-six" > > > -makedepends=3D"python2-dev python3-dev py-setuptools libffi-dev > > > openssl-dev" +makedepends=3D"python2-dev python3-dev py-setuptools > > > libffi-dev libressl-dev" subpackages=3D"py3-$_pkgname:_py3 > > > py2-$_pkgname:_py2" > > > source=3D"https://files.pythonhosted.org/packages/source/${_pkgname:0= :1}/$_pkgname/$_pkgname-$pkgver.tar.gz" > > > builddir=3D"$srcdir/$_pkgname-$pkgver" @@ -51,4 +51,4 @@ _py3() { > > > _py python3 > > > } > > > =20 > > > -sha512sums=3D"384581238b5669dbf31fd1b1385ec2ff9c6d76e2b7612efb15f255= e17a11a38474f84668e62ceaa39a146260f46cac743575c0a8ffedc1e40c7b2f90d7cb00b1 > > > cryptography-2.3.1.tar.gz" > > > +sha512sums=3D"dd018fca4b3dbc2c576f643df0df2a534f9fdd4af464ae6ee77b07= 02bfd4dfa7e89943a89fe5126094f7f23e349a32774e91bb074735014efa49fe5390cc6b4c > > > cryptography-2.4.1.tar.gz" =20 > > =20 >=20 --Sig_/gcsKUG5p=n9jFkryyoETQ68 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEMFbxI+htokjmnosIJeI3SXQya/sFAlvqty4ACgkQJeI3SXQy a/tNww//Wwqm3j8sQM2PGMx7SfsAszCVH6ESE6SXg6TkE4xK4owMgt37OuyfVyHz k7Ag1ikCN0vjA7uVXPXynlDKErSP/brW0YvMGr+RevP+Ocnr/lKAiVRiBYQ/tdQT VH4vxofSNktEvqkoIwRIVw3crF0rY5afZ+jp+D4WKjDzw3K9Dsvr+cgG/45JTItI KZ4TwwF0arw/9eWDQ6ibufcv0ods3iQ50In1ZoIU0ZsbiaXApec0IO/9EgZ3EZn6 ufkybqppc0OFqZPrIBSsbZpGlT3kBamLEJJZY5E4GLTZNnHHiR9idflqCEX2Wxhy 5xbxBZrEocVzylxRk536QTjKFOgO7pXRN5EayVslKNXJQUUDOowm4YMBI3EQwsAA fYgJ/BfvwIdXCOi9maNwoPr+iL9lFngdLQqwsH2Td05B7uye9k0NvQzOIj0OB8E2 7SSJ77zHis0rq6msL0nATE1CqZl2f3MXTCQprhUMz5cxc/QFNIqy8KP8qggq7sCm AtXmu3m9eimjpBGnFpeaWNxIlo+44bJM6/Lde3Z7Of1H9F9XTryWqxOnRn3t+rto aNimHhoBt+zTEkav+Iq1o37lIOKOXcDId9MViW5mRl4CKgIzV3ackRCAI6adfct/ FpiiyGbJwcMNHQvT6Ax6dmQ9XGvahdjpLjFwT7RTEI7hrRHodHs= =WWNQ -----END PGP SIGNATURE----- --Sig_/gcsKUG5p=n9jFkryyoETQ68-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---