Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 11:48:51 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Kristof Provost <kp@FreeBSD.org>
Cc:        Po-Chuan Hsieh <sunpoet@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, Li-Wen Hsu <lwhsu@freebsd.org>
Subject:   Re: git: f5711e95bcd1 - main - security/py-cryptography: Update to 38.0.1
Message-ID:  <Y0kwg3LC7jMCTp1O@talos>
In-Reply-To: <6F326A05-EECD-4E4D-AB89-DEFD86C035B9@FreeBSD.org>
References:  <202210091540.299Fe7pQ046030@gitrepo.freebsd.org> <6F326A05-EECD-4E4D-AB89-DEFD86C035B9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--M6ZA3qS/Ov+mP0el
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Looks like you need
https://github.com/secdev/scapy/commit/31ee7b9f750a28cb7d4a17a3dda5b903977b=
cf81
and
https://github.com/secdev/scapy/commit/bb1ed01d469a2b155910f4b689cb1d0c7837=
225e

On 22-10-14 11:40:46, Kristof Provost wrote:
> On 9 Oct 2022, at 17:40, Po-Chuan Hsieh wrote:
> > The branch main has been updated by sunpoet:
> >
> > URL:=20
> > https://cgit.FreeBSD.org/ports/commit/?id=3Df5711e95bcd17b154bdd697cb3f=
1650a788fdf3c
> >
> > 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:       =20
> > https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
> >                  https://cryptography.io/en/latest/changelog/
> > ---
>=20
> It looks like this broke scapy too, which in turn breaks a large subset=
=20
> of the freebsd-ci regression tests.
>=20
> 	(kp@nut)  ~ % scapy                                                    =
=20
>                                                                          =
                                   [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.
>=20
> 	                     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   |=20
> 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=20
> Skappee.
> 	       scccccp///pSP///p          p//Y   | OK? Merci.
> 	      sY/////////y  caa           S//P   |             -- Sebastien=20
> Chabal
> 	       cayCyayP//Ya              pY/Ya   |
> 	        sY/PsY////YCc          aC//Yp
> 	         sc  sccaCY//PCypaapyCP//YSs
> 	                  spCPY//////YPSps
> 	                       ccaacs
>=20
> 	>>>
> 	now exiting InteractiveConsole...
> 	(kp@nut)  ~ % sudo pkg install py39-cryptography                       =
=20
>                                                                          =
                                   [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):
>=20
> 	Installed packages to be UPGRADED:
> 		py39-cryptography: 3.4.8 -> 38.0.1
>=20
> 	Number of packages to be upgraded: 1
>=20
> 	361 KiB to be downloaded.
>=20
> 	Proceed with this action? [y/N]: y
> 	[1/1] Fetching py39-cryptography-38.0.1.pkg: 100%  361 KiB 369.6kB/s   =
=20
> 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                                                    =
=20
>                                                                          =
                                   [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:=20
> CryptographyDeprecationWarning: Blowfish has been deprecated
> 	  cipher=3Dalgorithms.Blowfish,
> 	/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py:485:=20
> 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=20
> 163, in _load
> 	    mod =3D importlib.import_module(module)
> 	  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in=20
> import_module
> 	    return _bootstrap._gcd_import(name[level:], package, level)
> 	  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
> 	  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> 	  File "<frozen importlib._bootstrap>", line 986, in=20
> _find_and_load_unlocked
> 	  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
> 	  File "<frozen importlib._bootstrap_external>", line 850, in=20
> exec_module
> 	  File "<frozen importlib._bootstrap>", line 228, in=20
> _call_with_frames_removed
> 	  File "/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py",=
=20
> line 490, in <module>
> 	    from cryptography.hazmat.primitives.hmac import HMAC
> 	  File=20
> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/hm=
ac.py",=20
> line 12, in <module>
> 	    from cryptography.hazmat.backends.openssl.hmac import _HMACContext
> 	  File=20
> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/open=
ssl/__init__.py",=20
> line 6, in <module>
> 	    from cryptography.hazmat.backends.openssl.backend import backend
> 	  File=20
> "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/open=
ssl/backend.py",=20
> line 13, in <module>
> 	    from cryptography import utils, x509
> 	  File=20
> "/usr/local/lib/python3.9/site-packages/cryptography/x509/__init__.py",=
=20
> line 6, in <module>
> 	    from cryptography.x509 import certificate_transparency
> 	  File=20
> "/usr/local/lib/python3.9/site-packages/cryptography/x509/certificate_tra=
nsparency.py",=20
> line 10, in <module>
> 	    from cryptography.hazmat.bindings._rust import x509 as rust_x509
> 	ImportError: cannot import name 'x509' from=20
> 'cryptography.hazmat.bindings._rust' (unknown location)
> 	WARNING: IPython not available. Using standard Python shell instead.
> 	AutoCompletion, History are disabled.
>=20
> 	                     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   |=20
> 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=20
> your last
> 	       scccccp///pSP///p          p//Y   | day on earth.
> 	      sY/////////y  caa           S//P   |                      --=20
> Lao-Tze
> 	       cayCyayP//Ya              pY/Ya   |
> 	        sY/PsY////YCc          aC//Yp
> 	         sc  sccaCY//PCypaapyCP//YSs
> 	                  spCPY//////YPSps
> 	                       ccaacs
>=20
> 	>>>
> 	now exiting InteractiveConsole...
>=20
> Best regards,
> Kristof

--M6ZA3qS/Ov+mP0el
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmNJMIMACgkQelmbhSCD
nJ2PCQ//UJXWnoMHsx+FMxW5Qxh+EehfnRqjHtO90i7YK5RfbqCZnLYy6Fm2QHD0
oc5GKN3tOEbnaSGvPLz21sR2P+WVGVVHfhD4eDuRIZqfqg121l0he4UY2f7soMtS
TLjf22VJkwtTd4d3XjmQydeGrap18OIju3E5CHo8TaihpGepwHWvPf3Stpu9NPYC
jJw13a1lCBq6McWJG+QF0qAIZn6rNAC8/6UM+A2MYhMge6SMG3z5B+GTrZ2aDW+l
LRP01O4t2YK6WTgFbv6m7GiTp0WbZ8SNLr9AN3pBAxtGx1P7QUODd1wrc8ZdavaY
RviJh83TJYKDtyjj9V/nfOU0Pq+Qb9dHskzkxiyueBnswwytTVEVwsYJYGEUaqoE
+eF51f2BEZbgav/Z71PonllwOEgzngcOnnSFRsM4SrqzYBBfA8gc18g6951dQInL
PPTA3Ad2WFzR7xUG+T3PC073HhcqLPGp8B/Dd7RI1DOn+IVpEpUjCDk5CrLM7yHg
fkDviZdD8IgZyV2NQgb2ha5M3FxCmfqCM7CyfmeNVqqjDVn+WbUWDqurKbSX10e0
wdl2nhiE+WaTmV69DpyUs2A9r2cmChA+xvZzGscWIS4cjK8v4rcn/d+QunNp2Ir1
P9TXpik8VBuEV4f+l1c5+UgM778DNL/D/Po9S64hWAepnXoikBY=
=nFn1
-----END PGP SIGNATURE-----

--M6ZA3qS/Ov+mP0el--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y0kwg3LC7jMCTp1O>