From nobody Fri Oct 14 09:40:46 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MphGB0tvxz4g317; Fri, 14 Oct 2022 09:40:50 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MphGB0jvgz3jt8; Fri, 14 Oct 2022 09:40:50 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665740450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=THd3O6rj821NH6xrRzxVNF0ZQl+nW6MkDH1oqxGW3eQ=; b=NR54rzf9eh8SRnXEcxcGoTnltlBU31aWRLcKx5QxywOkeZ9dC1teTmFkfATE+pqCMZZYnk K8Ji39Wp6VPg5rPjIMN3cUxRXYhUtrX7sh7xQazJhuW+sh++njOi2cqyGBI90J3sHmzPiJ cugw21po/RC/y90bOKV2S8Q2AFxEai9n+3zsazU5BhqVckn8Dk6py9DikFVh5j39Sjl1/4 v1y3QOwxmIYodF76rnxVYKVtN8u5qqoNRuCHz8pYCkc/mDPLBTw/O8tL5QNnCKuHFjta44 YbRXhghK8i9PHIiRyIlFTVl0BdXszciE8GagUWx31bptjp51j6VCC/OBnYkEgA== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MphG95Ymbz1Ccb; Fri, 14 Oct 2022 09:40:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 6DD852585F; Fri, 14 Oct 2022 11:40:47 +0200 (CEST) From: Kristof Provost To: Po-Chuan Hsieh Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, Li-Wen Hsu Subject: Re: git: f5711e95bcd1 - main - security/py-cryptography: Update to 38.0.1 Date: Fri, 14 Oct 2022 11:40:46 +0200 X-Mailer: MailMate (1.14r5918) Message-ID: <6F326A05-EECD-4E4D-AB89-DEFD86C035B9@FreeBSD.org> In-Reply-To: <202210091540.299Fe7pQ046030@gitrepo.freebsd.org> References: <202210091540.299Fe7pQ046030@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_2D9560B7-D3C2-443C-A1C8-AD33C6CC9917_=" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665740450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=THd3O6rj821NH6xrRzxVNF0ZQl+nW6MkDH1oqxGW3eQ=; b=TLe3zBT98jNkDCDYfWjMzuf9x1f1cPFbW4n+jfvCNgUtSFfeGFzO7HG3LSC2RGqYPP5Hqs x+PlcyOn4iD633xkxmXu390aMXSpSoVlDoFWYGPvbO45QXNGk4Y5LhksdN82lgJzJ/HyV7 6wbLvGMNayZka/ERdhNiepmsxKQWUccMI2gmZvNVK6iNCgJWoD5DR7v1OU58WlHpmSjVHL C0JLYyC39nV9m+UdzPwThCFJGTPf2sVRPNDJNEYHiWuSYiJAh2d3e8PuXPswCAIuSRpNsg jDrlBBrDX1w6razOrq/sA707yR3Ty4/X7D8banbetv///MwhD4+mLgbUSJwVdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665740450; a=rsa-sha256; cv=none; b=SOo8RIZonrNtdRfXzpM4IxqV3o1CK1ZgBF0z2LcESeMYbDdodVe/kv4BjgSkU5lHINl8n5 htKzHFEi2pXymF7uD03GkyPHguy7qebpAu+5J0Qn0XzOAgEDj2LiB28P9OCJ0ci3joSnkt gvzWNCWAacGhrfEinuF787jYbURUIsmRlbQ1Datx57pDM/+nrKF+57sPWDzCqtcIj5kB5G HLbmfmhLgfC2L5EMmdIDH+hECfzgWG3Yc8AEJvAkIVS6xGUbHF0BxX2Q+shunQs+pd3baj 2j/LuoK9FNfTNQkT4OzSWeeVMFoUmcVo3i4nE1Y5GpV0ic+HntO0X9NX5ud8UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --=_MailMate_2D9560B7-D3C2-443C-A1C8-AD33C6CC9917_= Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable On 9 Oct 2022, at 17:40, Po-Chuan Hsieh wrote: > The branch main has been updated by sunpoet: > > URL: = > https://cgit.FreeBSD.org/ports/commit/?id=3Df5711e95bcd17b154bdd697cb3f= 1650a788fdf3c > > commit f5711e95bcd17b154bdd697cb3f1650a788fdf3c > Author: Po-Chuan Hsieh > AuthorDate: 2022-10-09 15:32:23 +0000 > Commit: Po-Chuan Hsieh > CommitDate: 2022-10-09 15:37:58 +0000 > > security/py-cryptography: Update to 38.0.1 > > Changes: = > https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst > https://cryptography.io/en/latest/changelog/ > --- It looks like this broke scapy too, which in turn breaks a large subset = of the freebsd-ci regression tests. (kp@nut) ~ % scapy = = [11:36] INFO: Can't import matplotlib. Won't be able to plot. INFO: Can't import PyX. Won't be able to use psdump() or pdfdump(). WARNING: No IPv4 address found on bnxt1 ! WARNING: No IPv4 address found on cc0 ! WARNING: more No IPv4 address found on vcc0 ! WARNING: IPython not available. Using standard Python shell instead. AutoCompletion, History are disabled. aSPY//YASa apyyyyCY//////////YCa | sY//////YSpcs scpCY//Pp | Welcome to Scapy ayp ayyyyyyySCP//Pp syY//C | Version 2.4.5 AYAsAYYYYYYYY///Ps cY//S | pCCCCY//p cSSps y//Y | = https://github.com/secdev/scapy SPPPP///a pP///AC//Y | A//A cyP////C | Have fun! p///Ac sC///a | P////YCpc A//A | We are in France, we say = Skappee. scccccp///pSP///p p//Y | OK? Merci. sY/////////y caa S//P | -- Sebastien = Chabal cayCyayP//Ya pY/Ya | sY/PsY////YCc aC//Yp sc sccaCY//PCypaapyCP//YSs spCPY//////YPSps ccaacs >>> now exiting InteractiveConsole... (kp@nut) ~ % sudo pkg install py39-cryptography = = [11:36] Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: py39-cryptography: 3.4.8 -> 38.0.1 Number of packages to be upgraded: 1 361 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching py39-cryptography-38.0.1.pkg: 100% 361 KiB 369.6kB/s = 00:01 Checking integrity... done (0 conflicting) [1/1] Upgrading py39-cryptography from 3.4.8 to 38.0.1... [1/1] Extracting py39-cryptography-38.0.1: 100% (kp@nut) ~ % scapy = = [11:37] INFO: Can't import matplotlib. Won't be able to plot. INFO: Can't import PyX. Won't be able to use psdump() or pdfdump(). WARNING: No IPv4 address found on bnxt1 ! WARNING: No IPv4 address found on cc0 ! WARNING: more No IPv4 address found on vcc0 ! /usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py:471: = CryptographyDeprecationWarning: Blowfish has been deprecated cipher=3Dalgorithms.Blowfish, /usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py:485: = CryptographyDeprecationWarning: CAST5 has been deprecated cipher=3Dalgorithms.CAST5, ERROR: Loading module scapy.layers.ipsec Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/scapy/main.py", line = 163, in _load mod =3D importlib.import_module(module) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in = import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in = _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in = exec_module File "", line 228, in = _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py", = line 490, in from cryptography.hazmat.primitives.hmac import HMAC File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/hm= ac.py", = line 12, in from cryptography.hazmat.backends.openssl.hmac import _HMACContext File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/open= ssl/__init__.py", = line 6, in from cryptography.hazmat.backends.openssl.backend import backend File = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/open= ssl/backend.py", = line 13, in from cryptography import utils, x509 File = "/usr/local/lib/python3.9/site-packages/cryptography/x509/__init__.py", = line 6, in from cryptography.x509 import certificate_transparency File = "/usr/local/lib/python3.9/site-packages/cryptography/x509/certificate_tra= nsparency.py", = line 10, in from cryptography.hazmat.bindings._rust import x509 as rust_x509 ImportError: cannot import name 'x509' from = 'cryptography.hazmat.bindings._rust' (unknown location) WARNING: IPython not available. Using standard Python shell instead. AutoCompletion, History are disabled. aSPY//YASa apyyyyCY//////////YCa | sY//////YSpcs scpCY//Pp | Welcome to Scapy ayp ayyyyyyySCP//Pp syY//C | Version 2.4.5 AYAsAYYYYYYYY///Ps cY//S | pCCCCY//p cSSps y//Y | = https://github.com/secdev/scapy SPPPP///a pP///AC//Y | A//A cyP////C | Have fun! p///Ac sC///a | P////YCpc A//A | Craft packets like it is = your last scccccp///pSP///p p//Y | day on earth. sY/////////y caa S//P | -- = Lao-Tze cayCyayP//Ya pY/Ya | sY/PsY////YCc aC//Yp sc sccaCY//PCypaapyCP//YSs spCPY//////YPSps ccaacs >>> now exiting InteractiveConsole... Best regards, Kristof --=_MailMate_2D9560B7-D3C2-443C-A1C8-AD33C6CC9917_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

On 9 Oct 2022, at 17:40, Po-Chuan Hsieh wrote:

The branch main has been updated by= sunpoet:

URL: https://cgit.FreeBSD.org/por= ts/commit/?id=3Df5711e95bcd17b154bdd697cb3f1650a788fdf3c

commit f5711e95bcd17b154bdd697cb3f1650a788fdf3c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:32:23 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:58 +0000

security/py-cryptography: Update to 38.0.1

Changes: https://github.com/pyca/cryptography/= blob/main/CHANGELOG.rst
https://cryptography.io/en/latest/changelog/
---

It looks like this broke scapy too, which in turn breaks = a large subset of the freebsd-ci regression tests.

(k=
p@nut)  ~ % scapy                                                        =
                                                                         =
                               [11:36]
INFO: Can't import matplotlib. Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: No IPv4 address found on bnxt1 !
WARNING: No IPv4 address found on cc0 !
WARNING: more No IPv4 address found on vcc0 !
WARNING: IPython not available. Using standard Python shell instead.
AutoCompletion, History are disabled.

                     aSPY//YASa
             apyyyyCY//////////YCa       |
            sY//////YSpcs  scpCY//Pp     | Welcome to Scapy
 ayp ayyyyyyySCP//Pp           syY//C    | Version 2.4.5
 AYAsAYYYYYYYY///Ps              cY//S   |
         pCCCCY//p          cSSps y//Y   | https://github.com/secdev/scap=
y
         SPPPP///a          pP///AC//Y   |
              A//A            cyP////C   | Have fun!
              p///Ac            sC///a   |
              P////YCpc           A//A   | We are in France, we say Skapp=
ee.
       scccccp///pSP///p          p//Y   | OK? Merci.
      sY/////////y  caa           S//P   |             -- Sebastien Chaba=
l
       cayCyayP//Ya              pY/Ya   |
        sY/PsY////YCc          aC//Yp
         sc  sccaCY//PCypaapyCP//YSs
                  spCPY//////YPSps
                       ccaacs

>>>
now exiting InteractiveConsole...
(kp@nut)  ~ % sudo pkg install py39-cryptography                         =
                                                                         =
                                 [11:36]
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	py39-cryptography: 3.4.8 -> 38.0.1

Number of packages to be upgraded: 1

361 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching py39-cryptography-38.0.1.pkg: 100%  361 KiB 369.6kB/s    0=
0:01
Checking integrity... done (0 conflicting)
[1/1] Upgrading py39-cryptography from 3.4.8 to 38.0.1...
[1/1] Extracting py39-cryptography-38.0.1: 100%
(kp@nut)  ~ % scapy                                                      =
                                                                         =
                                 [11:37]
INFO: Can't import matplotlib. Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: No IPv4 address found on bnxt1 !
WARNING: No IPv4 address found on cc0 !
WARNING: more No IPv4 address found on vcc0 !
/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py:471: Cryptog=
raphyDeprecationWarning: Blowfish has been deprecated
  cipher=3Dalgorithms.Blowfish,
/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py:485: Cryptog=
raphyDeprecationWarning: CAST5 has been deprecated
  cipher=3Dalgorithms.CAST5,
ERROR: Loading module scapy.layers.ipsec
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/scapy/main.py", =
line 163, in _load
    mod =3D importlib.import_module(module)
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 1=
27, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gc=
d_import
  File "<frozen importlib._bootstrap>", line 1007, in _fi=
nd_and_load
  File "<frozen importlib._bootstrap>", line 986, in _fin=
d_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _loa=
d_unlocked
  File "<frozen importlib._bootstrap_external>", line 850=
, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _cal=
l_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py=
", line 490, in <module>
    from cryptography.hazmat.primitives.hmac import HMAC
  File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/p=
rimitives/hmac.py", line 12, in <module>
    from cryptography.hazmat.backends.openssl.hmac import _HMACContext
  File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/b=
ackends/openssl/__init__.py", line 6, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/b=
ackends/openssl/backend.py", line 13, in <module>
    from cryptography import utils, x509
  File "/usr/local/lib/python3.9/site-packages/cryptography/x509/__i=
nit__.py", line 6, in <module>
    from cryptography.x509 import certificate_transparency
  File "/usr/local/lib/python3.9/site-packages/cryptography/x509/cer=
tificate_transparency.py", line 10, in <module>
    from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError: cannot import name 'x509' from 'cryptography.hazmat.bindings=
=2E_rust' (unknown location)
WARNING: IPython not available. Using standard Python shell instead.
AutoCompletion, History are disabled.

                     aSPY//YASa
             apyyyyCY//////////YCa       |
            sY//////YSpcs  scpCY//Pp     | Welcome to Scapy
 ayp ayyyyyyySCP//Pp           syY//C    | Version 2.4.5
 AYAsAYYYYYYYY///Ps              cY//S   |
         pCCCCY//p          cSSps y//Y   | https://github.com/secdev/scap=
y
         SPPPP///a          pP///AC//Y   |
              A//A            cyP////C   | Have fun!
              p///Ac            sC///a   |
              P////YCpc           A//A   | Craft packets like it is your =
last
       scccccp///pSP///p          p//Y   | day on earth.
      sY/////////y  caa           S//P   |                      -- Lao-Tz=
e
       cayCyayP//Ya              pY/Ya   |
        sY/PsY////YCc          aC//Yp
         sc  sccaCY//PCypaapyCP//YSs
                  spCPY//////YPSps
                       ccaacs

>>>
now exiting InteractiveConsole...

Best regards,
Kristof

--=_MailMate_2D9560B7-D3C2-443C-A1C8-AD33C6CC9917_=--