Skip to contentSkip to conversation

python3-ecdsa: Upgrade 0.15 -> 0.16.0

PATCH In review Leon Anavi 2 participants 10 messages Aug 28, 2020 – Sep 2, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-ecdsa: Upgrade 0.15 -> 0.16.0

Upgrade to release 0.16.0:

- Support for reading and writing private keys in PKCS#8 format.
- to_pem and to_der now accept new parameter, format, to specify the format of the encoded files, either the dafault, legacy "ssleay", or the new pkcs8 to use PKCS#8. Note that only unencrypted PKCS#8 files are supported
- Add allow_truncate to verify in VerifyingKey, it defaults to True, when specified as False, use of large hashes smaller than curves will be disallowed (as it was in 0.14.1 and earlier)
- Correctly calculate signatures for private keys equal to n-1
- Make PointJacobi and thus SigningKey and VerifyingKey pickleable
- to_pem functions return bytes not str, document them as such
- from_pem and from_pem in SigningKey returns SigningKey, document them as such
- Ensure that version checks will work with Python 4.
- Format the source with black.
- Fix uses of assert_ in test suite.
- Use newer Ubuntu in Travis to test against OpenSSL 1.1.1 (and thus test the interoperability of ECDH code in Travis).

---
 .../python/{python3-ecdsa_0.15.bb => python3-ecdsa_0.16.0.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-ecdsa_0.15.bb => python3-ecdsa_0.16.0.bb} (69%)
meta-python/recipes-devtools/python/python3-ecdsa_0.16.0.bb renamed from meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb +2 -1
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb
rename to meta-python/recipes-devtools/python/python3-ecdsa_0.16.0.bb
index aba62f3ef..36bb246fd 100644
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d"
 DEPENDS += "python3-pip python3-pbr"
 
 PYPI_PACKAGE = "ecdsa"
-SRC_URI[sha256sum] = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277"
+SRC_URI[md5sum] = "d593df1ab57da611dca76f7328c47b21"
+SRC_URI[sha256sum] = "494c6a853e9ed2e9be33d160b41d47afc50a6629b993d2b9c5ad7bb226add892"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-luma-core: Upgrade 1.15.0 -> 1.16.0

Upgrade to release 1.16.0:

- Embedded font parallel device (for upcoming HD44780, Winstar character devices)

---
 ...ython3-luma-core_1.15.0.bb => python3-luma-core_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-luma-core_1.15.0.bb => python3-luma-core_1.16.0.bb} (75%)
meta-python/recipes-devtools/python/python3-luma-core_1.16.0.bb renamed from meta-python/recipes-devtools/python/python3-luma-core_1.15.0.bb +2 -2
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-luma-core_1.15.0.bb
rename to meta-python/recipes-devtools/python/python3-luma-core_1.16.0.bb
index 17445e727..ce1e7ba03 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
 
 inherit pypi setuptools3
 
-SRC_URI[md5sum] = "9c890fa8e387a035ff0d1ae96a0715f1"
-SRC_URI[sha256sum] = "e0e14c762695fb8758e8b15cfd28cd4c1618bf2fd93157c8770a2e8e0e254ae5"
+SRC_URI[md5sum] = "52ab2cdce4222aa71d9ac254a806dccc"
+SRC_URI[sha256sum] = "ca523f606f8fff2c9843d48b415a0a748bb2c96270eccac97d9caa9ae6810c94"
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-luma-core: Upgrade 1.15.0 -> 1.16.0

Quoted 6 lines · Leon Anavi

Upgrade to release 1.16.0:

- Embedded font parallel device (for upcoming HD44780, Winstar character devices)

Quoted 25 lines
---
  ...ython3-luma-core_1.15.0.bb => python3-luma-core_1.16.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-luma-core_1.15.0.bb => python3-luma-core_1.16.0.bb} (75%)

meta-python/recipes-devtools/python/python3-luma-core_1.16.0.bb renamed from meta-python/recipes-devtools/python/python3-luma-core_1.15.0.bb +2 -2
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-luma-core_1.15.0.bb
rename to meta-python/recipes-devtools/python/python3-luma-core_1.16.0.bb
index 17445e727..ce1e7ba03 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
 
  inherit pypi setuptools3
 
-SRC_URI[md5sum] = "9c890fa8e387a035ff0d1ae96a0715f1"
-SRC_URI[sha256sum] = "e0e14c762695fb8758e8b15cfd28cd4c1618bf2fd93157c8770a2e8e0e254ae5"
+SRC_URI[md5sum] = "52ab2cdce4222aa71d9ac254a806dccc"
+SRC_URI[sha256sum] = "ca523f606f8fff2c9843d48b415a0a748bb2c96270eccac97d9caa9ae6810c94"
 
  CLEANBROKEN = "1"
 
author
#3 lore raw

PATCH 3/5 python3-cryptography-vectors: Upgrade 3.0 -> 3.1

In reply to Leon Anavi

Upgrade to release 3.1:

- BACKWARDS INCOMPATIBLE: Removed support for idna based :term:U-label parsing in various X.509 classes. This support was originally deprecated in version 2.1 and moved to an extra in 2.5.
- Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by the OpenSSL project. The next version of cryptography will drop support for it.
- Deprecated support for Python 3.5. This version sees very little use and will be removed in the next release.
- backend arguments to functions are no longer required and the default backend will automatically be selected if no backend is provided.
- Added initial support for parsing certificates from PKCS7 files
- Calling update or update_into on :class:~cryptography.hazmat.primitives.ciphers.CipherContext with data longer than 231 bytes no longer raises an OverflowError. This also resolves the same issue in :doc:/fernet.

---
 ...phy-vectors_3.0.bb => python3-cryptography-vectors_3.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.0.bb => python3-cryptography-vectors_3.1.bb} (73%)
meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.0.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.0.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
index 26f1a2389..59347c94e 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0 | BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "689e44b945870a2ed197c0c35e4a0330"
-SRC_URI[sha256sum] = "52eff0457b3148ebbdc16dc7ad569bb88ccb2578414936c8b2137a3ddf334239"
+SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
+SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#4 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-cryptography-vectors: Upgrade 3.0 -> 3.1

Quoted 21 lines · Leon Anavi

Upgrade to release 3.1:

- BACKWARDS INCOMPATIBLE: Removed support for idna based :term:U-label parsing in various X.509 classes. This support was originally deprecated in version 2.1 and moved to an extra in 2.5.
- Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by the OpenSSL project. The next version of cryptography will drop support for it.
- Deprecated support for Python 3.5. This version sees very little use and will be removed in the next release.
- backend arguments to functions are no longer required and the default backend will automatically be selected if no backend is provided.
- Added initial support for parsing certificates from PKCS7 files
- Calling update or update_into on :class:~cryptography.hazmat.primitives.ciphers.CipherContext with data longer than 231 bytes no longer raises an OverflowError. This also resolves the same issue in :doc:/fernet.

Quoted 1 line
Quoted 25 lines
---
  ...phy-vectors_3.0.bb => python3-cryptography-vectors_3.1.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

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

meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.0.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.0.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
index 26f1a2389..59347c94e 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0 | BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "689e44b945870a2ed197c0c35e4a0330"
-SRC_URI[sha256sum] = "52eff0457b3148ebbdc16dc7ad569bb88ccb2578414936c8b2137a3ddf334239"
+SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
+SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
 
  PYPI_PACKAGE = "cryptography_vectors"
 
author
#5 lore raw

PATCH 4/5 python3-google-api-python-client: Upgrade 1.10.1 -> 1.11.0

In reply to Leon Anavi

Upgrade to release 1.11.0:

- Add support for mtls env variables

---
 ...t_1.10.1.bb => python3-google-api-python-client_1.11.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.10.1.bb => python3-google-api-python-client_1.11.0.bb} (69%)
meta-python/recipes-devtools/python/python3-google-api-python-client_1.11.0.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.10.1.bb +2 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.10.1.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.11.0.bb
index b52dd467b..c14b17254 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "016caa49075275f02f9b8f199dc96a75"
-SRC_URI[sha256sum] = "aa8740103774c2b7859f73ba6f55211e794ed7a374c5c427b583869b6bfe9e6c"
+SRC_URI[md5sum] = "b9a09d60cffda35887a8e09b600a73b0"
+SRC_URI[sha256sum] = "caf4015800ef1a18d06d117f47f0219c0c0641f21978f6b1bb5ede7912fab97b"
 
 inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-google-api-python-client: Upgrade 1.10.1 -> 1.11.0

Quoted 5 lines · Leon Anavi

Upgrade to release 1.11.0:

- Add support for mtls env variables

Quoted 24 lines
---
  ...t_1.10.1.bb => python3-google-api-python-client_1.11.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.10.1.bb => python3-google-api-python-client_1.11.0.bb} (69%)

meta-python/recipes-devtools/python/python3-google-api-python-client_1.11.0.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.10.1.bb +2 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.10.1.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.11.0.bb
index b52dd467b..c14b17254 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "016caa49075275f02f9b8f199dc96a75"
-SRC_URI[sha256sum] = "aa8740103774c2b7859f73ba6f55211e794ed7a374c5c427b583869b6bfe9e6c"
+SRC_URI[md5sum] = "b9a09d60cffda35887a8e09b600a73b0"
+SRC_URI[sha256sum] = "caf4015800ef1a18d06d117f47f0219c0c0641f21978f6b1bb5ede7912fab97b"
 
  inherit pypi setuptools3
author
#7 lore raw

PATCH 5/5 python3-flask-user: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../python/python-flask-user.inc              | 17 -----------------
 .../python/python3-flask-user_0.6.19.bb       | 19 ++++++++++++++++++-
 2 files changed, 18 insertions(+), 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-flask-user.inc
meta-python/recipes-devtools/python/python-flask-user.inc deleted +0 -17
deleted file mode 100644
index adef32cc8..000000000
@@ -1,17 +0,0 @@
-SUMMARY = "Customizable user account management for Flask"
-DESCRIPTION = "Customizable User Account Management for Flask; Register \
-Confirm email, Login, Change username, Change password, Forgot Password \
-and more."
-HOMEPAGE = " https://github.com/lingthio/Flask-User"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a"
-
-SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f"
-SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302"
-
-PYPI_PACKAGE = "Flask-User"
-
-RDEPENDS_${PN} = "${PYTHON_PN}-flask \
-    ${PYTHON_PN}-flask-login \
-    ${PYTHON_PN}-flask-mail \
-    ${PYTHON_PN}-babel"
meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +18 -1
index 251017f81..a59019af8 100644
@@ -1,2 +1,19 @@
+SUMMARY = "Customizable user account management for Flask"
+DESCRIPTION = "Customizable User Account Management for Flask; Register \
+Confirm email, Login, Change username, Change password, Forgot Password \
+and more."
+HOMEPAGE = " https://github.com/lingthio/Flask-User"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a"
+
+SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f"
+SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302"
+
+PYPI_PACKAGE = "Flask-User"
+
 inherit pypi setuptools3
-require python-flask-user.inc
+
+RDEPENDS_${PN} = "${PYTHON_PN}-flask \
+    ${PYTHON_PN}-flask-login \
+    ${PYTHON_PN}-flask-mail \
+    ${PYTHON_PN}-babel"
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-flask-user: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 56 lines
---
  .../python/python-flask-user.inc              | 17 -----------------
  .../python/python3-flask-user_0.6.19.bb       | 19 ++++++++++++++++++-
  2 files changed, 18 insertions(+), 18 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-flask-user.inc

meta-python/recipes-devtools/python/python-flask-user.inc deleted +0 -17
deleted file mode 100644
index adef32cc8..000000000
@@ -1,17 +0,0 @@
-SUMMARY = "Customizable user account management for Flask"
-DESCRIPTION = "Customizable User Account Management for Flask; Register \
-Confirm email, Login, Change username, Change password, Forgot Password \
-and more."
-HOMEPAGE = " https://github.com/lingthio/Flask-User"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a"
-
-SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f"
-SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302"
-
-PYPI_PACKAGE = "Flask-User"
-
-RDEPENDS_${PN} = "${PYTHON_PN}-flask \
-    ${PYTHON_PN}-flask-login \
-    ${PYTHON_PN}-flask-mail \
-    ${PYTHON_PN}-babel"
meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +18 -1
index 251017f81..a59019af8 100644
@@ -1,2 +1,19 @@
+SUMMARY = "Customizable user account management for Flask"
+DESCRIPTION = "Customizable User Account Management for Flask; Register \
+Confirm email, Login, Change username, Change password, Forgot Password \
+and more."
+HOMEPAGE = " https://github.com/lingthio/Flask-User"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a"
+
+SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f"
+SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302"
+
+PYPI_PACKAGE = "Flask-User"
+
  inherit pypi setuptools3
-require python-flask-user.inc
+
+RDEPENDS_${PN} = "${PYTHON_PN}-flask \
+    ${PYTHON_PN}-flask-login \
+    ${PYTHON_PN}-flask-mail \
+    ${PYTHON_PN}-babel"
Acked-by on v1 1/5
#9 lore raw
In reply to Leon Anavi
Quoted 21 lines · Leon Anavi

Upgrade to release 0.16.0:

- Support for reading and writing private keys in PKCS#8 format.
- to_pem and to_der now accept new parameter, format, to specify the format of the encoded files, either the dafault, legacy "ssleay", or the new pkcs8 to use PKCS#8. Note that only unencrypted PKCS#8 files are supported
- Add allow_truncate to verify in VerifyingKey, it defaults to True, when specified as False, use of large hashes smaller than curves will be disallowed (as it was in 0.14.1 and earlier)
- Correctly calculate signatures for private keys equal to n-1
- Make PointJacobi and thus SigningKey and VerifyingKey pickleable
- to_pem functions return bytes not str, document them as such
- from_pem and from_pem in SigningKey returns SigningKey, document them as such
- Ensure that version checks will work with Python 4.
- Format the source with black.
- Fix uses of assert_ in test suite.
- Use newer Ubuntu in Travis to test against OpenSSL 1.1.1 (and thus test the interoperability of ECDH code in Travis).

Quoted 1 line
Quoted 24 lines
---
  .../python/{python3-ecdsa_0.15.bb => python3-ecdsa_0.16.0.bb}  | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-ecdsa_0.15.bb => python3-ecdsa_0.16.0.bb} (69%)

meta-python/recipes-devtools/python/python3-ecdsa_0.16.0.bb renamed from meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb +2 -1
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb
rename to meta-python/recipes-devtools/python/python3-ecdsa_0.16.0.bb
index aba62f3ef..36bb246fd 100644
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d"
  DEPENDS += "python3-pip python3-pbr"
 
  PYPI_PACKAGE = "ecdsa"
-SRC_URI[sha256sum] = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277"
+SRC_URI[md5sum] = "d593df1ab57da611dca76f7328c47b21"
+SRC_URI[sha256sum] = "494c6a853e9ed2e9be33d160b41d47afc50a6629b993d2b9c5ad7bb226add892"
 
  inherit pypi setuptools3