Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 11:40:46 +0200
From:      Kristof Provost <kp@FreeBSD.org>
To:        Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        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:  <6F326A05-EECD-4E4D-AB89-DEFD86C035B9@FreeBSD.org>
In-Reply-To: <202210091540.299Fe7pQ046030@gitrepo.freebsd.org>
References:  <202210091540.299Fe7pQ046030@gitrepo.freebsd.org>

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

--=_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 <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.

	(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 "<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 =

_find_and_load_unlocked
	  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
	  File "<frozen importlib._bootstrap_external>", line 850, in =

exec_module
	  File "<frozen importlib._bootstrap>", line 228, in =

_call_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/primitives/hm=
ac.py", =

line 12, in <module>
	    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 <module>
	    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 <module>
	    from cryptography import utils, x509
	  File =

"/usr/local/lib/python3.9/site-packages/cryptography/x509/__init__.py", =

line 6, in <module>
	    from cryptography.x509 import certificate_transparency
	  File =

"/usr/local/lib/python3.9/site-packages/cryptography/x509/certificate_tra=
nsparency.py", =

line 10, in <module>
	    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

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty=
le=3D"white-space: normal;">
<p dir=3D"auto">On 9 Oct 2022, at 17:40, Po-Chuan Hsieh wrote:</p>
</div><div class=3D"plaintext" style=3D"white-space: normal;"><blockquote=
 style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136=
BCE; color: #136BCE;"><p dir=3D"auto">The branch main has been updated by=
 sunpoet:</p>
<p dir=3D"auto">URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=
=3Df5711e95bcd17b154bdd697cb3f1650a788fdf3c">https://cgit.FreeBSD.org/por=
ts/commit/?id=3Df5711e95bcd17b154bdd697cb3f1650a788fdf3c</a></p>
<p dir=3D"auto">commit f5711e95bcd17b154bdd697cb3f1650a788fdf3c
<br>
Author:     Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&gt;
<br>
AuthorDate: 2022-10-09 15:32:23 +0000
<br>
Commit:     Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&gt;
<br>
CommitDate: 2022-10-09 15:37:58 +0000</p>
<p dir=3D"auto">    security/py-cryptography: Update to 38.0.1</p>
<p dir=3D"auto">    Changes:        <a href=3D"https://github.com/pyca/cr=
yptography/blob/main/CHANGELOG.rst">https://github.com/pyca/cryptography/=
blob/main/CHANGELOG.rst</a>
<br>
                 <a href=3D"https://cryptography.io/en/latest/changelog/"=
>https://cryptography.io/en/latest/changelog/</a>;
<br>
---</p>
</blockquote></div>
<div class=3D"markdown" style=3D"white-space: normal;">
<p dir=3D"auto">It looks like this broke scapy too, which in turn breaks =
a large subset of the freebsd-ci regression tests.</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; border=
: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #=
E4E4E4;"><code style=3D"padding: 0 0.25em; background-color: #E4E4E4;">(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

&gt;&gt;&gt;
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 -&gt; 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 &quot;/usr/local/lib/python3.9/site-packages/scapy/main.py&quot;, =
line 163, in _load
    mod =3D importlib.import_module(module)
  File &quot;/usr/local/lib/python3.9/importlib/__init__.py&quot;, line 1=
27, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1030, in _gc=
d_import
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1007, in _fi=
nd_and_load
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 986, in _fin=
d_and_load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 680, in _loa=
d_unlocked
  File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 850=
, in exec_module
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 228, in _cal=
l_with_frames_removed
  File &quot;/usr/local/lib/python3.9/site-packages/scapy/layers/ipsec.py=
&quot;, line 490, in &lt;module&gt;
    from cryptography.hazmat.primitives.hmac import HMAC
  File &quot;/usr/local/lib/python3.9/site-packages/cryptography/hazmat/p=
rimitives/hmac.py&quot;, line 12, in &lt;module&gt;
    from cryptography.hazmat.backends.openssl.hmac import _HMACContext
  File &quot;/usr/local/lib/python3.9/site-packages/cryptography/hazmat/b=
ackends/openssl/__init__.py&quot;, line 6, in &lt;module&gt;
    from cryptography.hazmat.backends.openssl.backend import backend
  File &quot;/usr/local/lib/python3.9/site-packages/cryptography/hazmat/b=
ackends/openssl/backend.py&quot;, line 13, in &lt;module&gt;
    from cryptography import utils, x509
  File &quot;/usr/local/lib/python3.9/site-packages/cryptography/x509/__i=
nit__.py&quot;, line 6, in &lt;module&gt;
    from cryptography.x509 import certificate_transparency
  File &quot;/usr/local/lib/python3.9/site-packages/cryptography/x509/cer=
tificate_transparency.py&quot;, line 10, in &lt;module&gt;
    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

&gt;&gt;&gt;
now exiting InteractiveConsole...
</code></pre>
<p dir=3D"auto">Best regards,<br>
Kristof</p>

</div>
</div>
</body>

</html>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F326A05-EECD-4E4D-AB89-DEFD86C035B9>