Skip to contentSkip to conversation

python3-cryptography: Upgrade 3.1.1 -> 3.2

PATCH Superseded Leon Anavi 2 participants 9 messages Oct 26, 2020 – Nov 4, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-cryptography: Upgrade 3.1.1 -> 3.2

Upgrade to release 3.2:

- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via :class:~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder.

---
 ...hon3-cryptography_3.1.1.bb => python3-cryptography_3.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography_3.1.1.bb => python3-cryptography_3.2.bb} (91%)
meta-python/recipes-devtools/python/python3-cryptography_3.2.bb renamed from meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb +2 -2
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography_3.2.bb
index 1d6a9b32e0..cec37b0276 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
 
 LDSHARED += "-pthread"
 
-SRC_URI[md5sum] = "c3807891d36aa9de8187e9db8b2bb457"
-SRC_URI[sha256sum] = "9d9fc6a16357965d282dd4ab6531013935425d0dc4950df2e0cf2a1b1ac1017d"
+SRC_URI[md5sum] = "1e476287399bae923514e19429804155"
+SRC_URI[sha256sum] = "e4789b84f8dedf190148441f7c5bfe7244782d9cbb194a36e17b91e7d3e1cca9"
 
 SRC_URI += " \
     file://run-ptest \
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-cryptography: Upgrade 3.1.1 -> 3.2

Upgrade to release 3.2:

- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via :class:~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder.

---
 ...y-vectors_3.1.1.bb => python3-cryptography-vectors_3.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.1.bb => python3-cryptography-vectors_3.2.bb} (73%)
meta-python/recipes-devtools/python/python3-cryptography-vectors_3.2.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.2.bb
index 9486fe2350..2e7ed81696 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0 | BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
-SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
+SRC_URI[md5sum] = "20976284d12ed99e31d38814be038ac1"
+SRC_URI[sha256sum] = "785f06ffd0bbc73bdd69d0b164d72a7a7827c7c3bbf79ae9a235d7126afd98e4"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw
Quoted 12 lines · Leon Anavi

- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via :class:~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder.

Quoted 1 line

This is actually python3-cryptography-vectors, but built OK.

Quoted 26 lines
---
  ...y-vectors_3.1.1.bb => python3-cryptography-vectors_3.2.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.1.bb => python3-cryptography-vectors_3.2.bb} (73%)

meta-python/recipes-devtools/python/python3-cryptography-vectors_3.2.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.2.bb
index 9486fe2350..2e7ed81696 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0 | BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
-SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
+SRC_URI[md5sum] = "20976284d12ed99e31d38814be038ac1"
+SRC_URI[sha256sum] = "785f06ffd0bbc73bdd69d0b164d72a7a7827c7c3bbf79ae9a235d7126afd98e4"
 
  PYPI_PACKAGE = "cryptography_vectors"
 
author
#3 lore raw

PATCH 3/5 python3-u-msgpack-python: Upgrade 2.7.0 -> 2.7.1

In reply to Leon Anavi

Upgrade to release 2.7.1:

- Add Ext type value validation to Ext class and ext_serializable() decorator
- Change string formatting from % to .format() throughout codebase

---
 ...pack-python_2.7.0.bb => python3-u-msgpack-python_2.7.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-u-msgpack-python_2.7.0.bb => python3-u-msgpack-python_2.7.1.bb} (77%)
meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.1.bb renamed from meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.0.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.0.bb
rename to meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.1.bb
index 4797a3535f..c5524d152e 100644
@@ -3,8 +3,8 @@ DESCRIPTION = "A portable, lightweight MessagePack serializer and deserializer w
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb4691bcb66360acee473a8cf75f594"
 
-SRC_URI[md5sum] = "231609d87aa58459a1491c8f5df4e4cd"
-SRC_URI[sha256sum] = "996e4c4454771f0ff0fd2a7566b1a159d305d3611cd755addf444e3533e2bc54"
+SRC_URI[md5sum] = "8691cea6bc7b44bce6e2115260a54323"
+SRC_URI[sha256sum] = "b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551"
 
 inherit pypi setuptools3 ptest
 
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#4 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-u-msgpack-python: Upgrade 2.7.0 -> 2.7.1

Quoted 5 lines · Leon Anavi

- Add Ext type value validation to Ext class and ext_serializable() decorator
- Change string formatting from % to .format() throughout codebase

Quoted 26 lines
---
  ...pack-python_2.7.0.bb => python3-u-msgpack-python_2.7.1.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-u-msgpack-python_2.7.0.bb => python3-u-msgpack-python_2.7.1.bb} (77%)

meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.1.bb renamed from meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.0.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.0.bb
rename to meta-python/recipes-devtools/python/python3-u-msgpack-python_2.7.1.bb
index 4797a3535f..c5524d152e 100644
@@ -3,8 +3,8 @@ DESCRIPTION = "A portable, lightweight MessagePack serializer and deserializer w
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb4691bcb66360acee473a8cf75f594"
 
-SRC_URI[md5sum] = "231609d87aa58459a1491c8f5df4e4cd"
-SRC_URI[sha256sum] = "996e4c4454771f0ff0fd2a7566b1a159d305d3611cd755addf444e3533e2bc54"
+SRC_URI[md5sum] = "8691cea6bc7b44bce6e2115260a54323"
+SRC_URI[sha256sum] = "b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551"
 
  inherit pypi setuptools3 ptest
 
author
#5 lore raw

PATCH 4/5 python3-luma-core: Upgrade 1.17.2 -> 1.17.3

In reply to Leon Anavi

Upgrade to release 1.17.3:

- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add missing cmdline interfaces: "noop" & "gpio_cs_spi"
- Legacy proportional font wrapper raises user-friendly error message when character is not in the font table

License-Update: Update year

---
 ...hon3-luma-core_1.17.2.bb => python3-luma-core_1.17.3.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-luma-core_1.17.2.bb => python3-luma-core_1.17.3.bb} (62%)
meta-python/recipes-devtools/python/python3-luma-core_1.17.3.bb renamed from meta-python/recipes-devtools/python/python3-luma-core_1.17.2.bb +3 -3
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-luma-core_1.17.2.bb
rename to meta-python/recipes-devtools/python/python3-luma-core_1.17.3.bb
index 97786ff456..8301d7f77a 100644
@@ -2,12 +2,12 @@ SUMMARY = "A component library to support SBC display drivers"
 DESCRIPTION = "A component library to support SBC display drivers"
 HOMEPAGE = "https://github.com/rm-hull/luma.core"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=db07e3d471938ea7d7fd2135f88ac9a1"
 
 inherit pypi setuptools3
 
-SRC_URI[md5sum] = "4e4a5e85ccf19eba001d11d95b33b174"
-SRC_URI[sha256sum] = "d66b98e23470f023a6423273e9632180a1a941849f1417c69a708ca51861c993"
+SRC_URI[md5sum] = "c13303a123c32c1a8dc5bc089a920822"
+SRC_URI[sha256sum] = "1c928ad8e42af5fd395260176f89eb68a8af61911971f94124fabc9c6b550689"
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-luma-core: Upgrade 1.17.2 -> 1.17.3

Quoted 8 lines · Leon Anavi

- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add missing cmdline interfaces: "noop" & "gpio_cs_spi"
- Legacy proportional font wrapper raises user-friendly error message when character is not in the font table

License-Update: Update year

Quoted 31 lines
---
  ...hon3-luma-core_1.17.2.bb => python3-luma-core_1.17.3.bb} | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-luma-core_1.17.2.bb => python3-luma-core_1.17.3.bb} (62%)

meta-python/recipes-devtools/python/python3-luma-core_1.17.3.bb renamed from meta-python/recipes-devtools/python/python3-luma-core_1.17.2.bb +3 -3
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-luma-core_1.17.2.bb
rename to meta-python/recipes-devtools/python/python3-luma-core_1.17.3.bb
index 97786ff456..8301d7f77a 100644
@@ -2,12 +2,12 @@ SUMMARY = "A component library to support SBC display drivers"
  DESCRIPTION = "A component library to support SBC display drivers"
  HOMEPAGE = "https://github.com/rm-hull/luma.core"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=db07e3d471938ea7d7fd2135f88ac9a1"
 
  inherit pypi setuptools3
 
-SRC_URI[md5sum] = "4e4a5e85ccf19eba001d11d95b33b174"
-SRC_URI[sha256sum] = "d66b98e23470f023a6423273e9632180a1a941849f1417c69a708ca51861c993"
+SRC_URI[md5sum] = "c13303a123c32c1a8dc5bc089a920822"
+SRC_URI[sha256sum] = "1c928ad8e42af5fd395260176f89eb68a8af61911971f94124fabc9c6b550689"
 
  CLEANBROKEN = "1"
 
author
#7 lore raw

PATCH 5/5 python3-luma-oled: Upgrade 3.6.0 -> 3.7.0

In reply to Leon Anavi

Upgrade to release 3.7.0:

- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add support for SSD1351 128x96 display
- Pin luma.core to 1.x.y line only, in anticipation of performance improvements in upcoming major release

---
 ...{python3-luma-oled_3.6.0.bb => python3-luma-oled_3.7.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-luma-oled_3.6.0.bb => python3-luma-oled_3.7.0.bb} (77%)
meta-python/recipes-devtools/python/python3-luma-oled_3.7.0.bb renamed from meta-python/recipes-devtools/python/python3-luma-oled_3.6.0.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-luma-oled_3.6.0.bb
rename to meta-python/recipes-devtools/python/python3-luma-oled_3.7.0.bb
index ae14aff366..8c9d195baa 100644
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249"
 
 inherit pypi setuptools3
 
-SRC_URI[md5sum] = "ff45a3067658434339da2586a97e526b"
-SRC_URI[sha256sum] = "dbd8ebce1c0b10feabb725b321d4a7f9f7353fe16878c8145ca332a173c193c9"
+SRC_URI[md5sum] = "dd661f869180c5b306628cc6ade04d60"
+SRC_URI[sha256sum] = "fa710ea5d46f731033dbbcf4330f264d653a9a21d60b29dfc53355f72f355e17"
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-luma-oled: Upgrade 3.6.0 -> 3.7.0

Quoted 6 lines · Leon Anavi

- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add support for SSD1351 128x96 display
- Pin luma.core to 1.x.y line only, in anticipation of performance improvements in upcoming major release

Quoted 26 lines
---
  ...{python3-luma-oled_3.6.0.bb => python3-luma-oled_3.7.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-luma-oled_3.6.0.bb => python3-luma-oled_3.7.0.bb} (77%)

meta-python/recipes-devtools/python/python3-luma-oled_3.7.0.bb renamed from meta-python/recipes-devtools/python/python3-luma-oled_3.6.0.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-luma-oled_3.6.0.bb
rename to meta-python/recipes-devtools/python/python3-luma-oled_3.7.0.bb
index ae14aff366..8c9d195baa 100644
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249"
 
  inherit pypi setuptools3
 
-SRC_URI[md5sum] = "ff45a3067658434339da2586a97e526b"
-SRC_URI[sha256sum] = "dbd8ebce1c0b10feabb725b321d4a7f9f7353fe16878c8145ca332a173c193c9"
+SRC_URI[md5sum] = "dd661f869180c5b306628cc6ade04d60"
+SRC_URI[sha256sum] = "fa710ea5d46f731033dbbcf4330f264d653a9a21d60b29dfc53355f72f355e17"
 
  CLEANBROKEN = "1"