Skip to contentSkip to conversation

python3-rsa: Upgrade 4.6 -> 4.7

PATCH In review Leon Anavi 2 participants 4 messages Jan 12, 2021 – Jan 14, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-rsa: Upgrade 4.6 -> 4.7

Upgrade to release 4.7:

- Fix: CVE-2020-25658 - Bleichenbacher-style timing oracle in PKCS#1 v1.5 decryption code
- Add padding length check as described by PKCS#1 v1.5
- Reuse of blinding factors to speed up blinding operations
- Declare & test support for Python 3.9

---
 .../python/{python3-rsa_4.6.bb => python3-rsa_4.7.bb}          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-rsa_4.6.bb => python3-rsa_4.7.bb} (88%)
meta-python/recipes-devtools/python/python3-rsa_4.7.bb renamed from meta-python/recipes-devtools/python/python3-rsa_4.6.bb +1 -2
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-rsa_4.6.bb
rename to meta-python/recipes-devtools/python/python3-rsa_4.7.bb
index d2b108635..c4c36020f 100644
@@ -4,8 +4,7 @@ AUTHOR = "Sybren A. Stuvel"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
 
-SRC_URI[md5sum] = "bbf1c954865319bd542600ab07f92aca"
-SRC_URI[sha256sum] = "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa"
+SRC_URI[sha256sum] = "69805d6b69f56eb05b62daea3a7dbd7aa44324ad1306445e05da8060232d00f4"
 
 inherit pypi setuptools3 update-alternatives
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 python3-pyjwt: Upgrade 1.7.1 -> 2.0.0

Upgrade to release 2.0.0:

- Drop support for Python 2 and Python 3.0-3.5
- Drop support for PyCrypto and ECDSA
- Improve typings
- Introduce better experience for JWKs
- Support for JWKs containing ECDSA keys
- Add support for Ed25519 / EdDSA

---
 .../python/{python3-pyjwt_1.7.1.bb => python3-pyjwt_2.0.0.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyjwt_1.7.1.bb => python3-pyjwt_2.0.0.bb} (76%)
meta-python/recipes-devtools/python/python3-pyjwt_2.0.0.bb renamed from meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb +1 -2
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb
rename to meta-python/recipes-devtools/python/python3-pyjwt_2.0.0.bb
index d2f7be46c..aa6531ea3 100644
@@ -5,8 +5,7 @@ HOMEPAGE = "http://github.com/jpadilla/pyjwt"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c"
 
-SRC_URI[md5sum] = "a4712f980c008696e13e09504120b2a0"
-SRC_URI[sha256sum] = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"
+SRC_URI[sha256sum] = "7a2b271c6dac2fda9e0c33d176c4253faba2c6c6b3a99c7f28a32c3c97522779"
 
 PYPI_PACKAGE = "PyJWT"
 inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 2/2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-pyjwt: Upgrade 1.7.1 -> 2.0.0

Quoted 8 lines · Leon Anavi

- Drop support for Python 2 and Python 3.0-3.5
- Drop support for PyCrypto and ECDSA
- Improve typings
- Introduce better experience for JWKs
- Support for JWKs containing ECDSA keys
- Add support for Ed25519 / EdDSA

Quoted 25 lines
---
  .../python/{python3-pyjwt_1.7.1.bb => python3-pyjwt_2.0.0.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyjwt_1.7.1.bb => python3-pyjwt_2.0.0.bb} (76%)

meta-python/recipes-devtools/python/python3-pyjwt_2.0.0.bb renamed from meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb +1 -2
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb
rename to meta-python/recipes-devtools/python/python3-pyjwt_2.0.0.bb
index d2f7be46c..aa6531ea3 100644
@@ -5,8 +5,7 @@ HOMEPAGE = "http://github.com/jpadilla/pyjwt"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c"
 
-SRC_URI[md5sum] = "a4712f980c008696e13e09504120b2a0"
-SRC_URI[sha256sum] = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"
+SRC_URI[sha256sum] = "7a2b271c6dac2fda9e0c33d176c4253faba2c6c6b3a99c7f28a32c3c97522779"
 
  PYPI_PACKAGE = "PyJWT"
  inherit pypi setuptools3
Acked-by on v1 1/2
#3 lore raw
In reply to Leon Anavi
Quoted 7 lines · Leon Anavi

- Fix: CVE-2020-25658 - Bleichenbacher-style timing oracle in PKCS#1 v1.5 decryption code
- Add padding length check as described by PKCS#1 v1.5
- Reuse of blinding factors to speed up blinding operations
- Declare & test support for Python 3.9

Quoted 25 lines
---
  .../python/{python3-rsa_4.6.bb => python3-rsa_4.7.bb}          | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-rsa_4.6.bb => python3-rsa_4.7.bb} (88%)

meta-python/recipes-devtools/python/python3-rsa_4.7.bb renamed from meta-python/recipes-devtools/python/python3-rsa_4.6.bb +1 -2
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-rsa_4.6.bb
rename to meta-python/recipes-devtools/python/python3-rsa_4.7.bb
index d2b108635..c4c36020f 100644
@@ -4,8 +4,7 @@ AUTHOR = "Sybren A. Stuvel"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
 
-SRC_URI[md5sum] = "bbf1c954865319bd542600ab07f92aca"
-SRC_URI[sha256sum] = "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa"
+SRC_URI[sha256sum] = "69805d6b69f56eb05b62daea3a7dbd7aa44324ad1306445e05da8060232d00f4"
 
  inherit pypi setuptools3 update-alternatives