optee-os: replace old pycrypto with pycryptodome - a drop-in replacement
PATCH 1/1 optee-os: replace old pycrypto with pycryptodome - a drop-in replacement
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-security/optee/optee-os_git.bb +1 -1
@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-native python3-pycryptodomex-native" +DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native" SRCREV = "023e33656e2c9557ce50ad63a98b2e2c9b51c118" SRC_URI = " \
Signature · 1 line
2.7.4
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>
Quoted 24 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
Quoted 5 lines · Diego Sueiro
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Quoted 8 lines
Quoted 6 lines
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>
Pulled in to the master branch.
Thanks,
Jon
Quoted 27 lines
Quoted 25 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
Quoted 11 lines · Jon Mason
Quoted 10 lines · Diego Sueiro
Quoted 8 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Quoted 29 lines
Quoted 26 lines
Quoted 24 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · Jon Mason
Quoted 12 lines · Diego Sueiro
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Reviewed-by Diego Sueiro <[email protected]>Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Ping.
Quoted 32 lines
Quoted 29 lines
Quoted 26 lines
Quoted 24 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Jon Mason
Quoted 13 lines · Diego Sueiro
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Ping.
Just wanted to check if there are any concerns with this backport. Thanks.
Denys
Quoted 35 lines
Quoted 32 lines
Quoted 29 lines
Quoted 26 lines
Quoted 24 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
Quoted 23 lines · Denys Dmytriyenko
Quoted 22 lines · Denys Dmytriyenko
Quoted 21 lines · Denys Dmytriyenko
Quoted 11 lines · Jon Mason
Quoted 10 lines · Diego Sueiro
Quoted 8 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Ping.
Just wanted to check if there are any concerns with this backport. Thanks.
Denys
Terribly sorry in the delay. This caused a discussion internally and got lost in the shuffle. I'll sanity check agin shortly, but there was no issues on dunfell with the patch. However in testing it, we found that there are still python dependencies in master. So, I think we can apply to dunfell, but need to revert in master. I'm currently looking for alternatives to the revert in master.
Thanks,
Jon
Quoted 40 lines
Quoted 37 lines
Quoted 34 lines
Quoted 31 lines
Quoted 28 lines
Quoted 26 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
Quoted 30 lines · Jon Mason
Quoted 29 lines · Denys Dmytriyenko
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Jon Mason
Quoted 13 lines · Diego Sueiro
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Ping.
Just wanted to check if there are any concerns with this backport. Thanks.
Quoted 8 lines
Quoted 1 line
Denys
Terribly sorry in the delay. This caused a discussion internally and got lost in the shuffle. I'll sanity check agin shortly, but there was no issues on dunfell with the patch. However in testing it, we found that there are still python dependencies in master. So, I think we can apply to dunfell, but need to revert in master. I'm currently looking for alternatives to the revert in master.
Where does the dependency on meta-python in master come from? Is it still from optee? Or is there something else?
Denys
Quoted 44 lines
Thanks,
JonQuoted 40 lines
Quoted 37 lines
Quoted 34 lines
Quoted 31 lines
Quoted 28 lines
Quoted 26 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4
Quoted 40 lines · Denys Dmytriyenko
Quoted 30 lines · Jon Mason
Quoted 29 lines · Denys Dmytriyenko
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Jon Mason
Quoted 13 lines · Diego Sueiro
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
While pycryptodome is a drop-in replacement for the old pycrypto module, pycryptodomex uses a separate namespace to not confict with pycrypto. Unfortunately, optee-os uses both namespaces, hence both variants of pycryptodome and pycryptodomex are needed.
Signed-off-by Denys Dmytriyenko <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Pulled in to the master branch.
Can you please also backport this to dunfell - it is also needed to fully drop dependency on meta-python in dunfell. Thanks!
Ping.
Just wanted to check if there are any concerns with this backport. Thanks.
Quoted 8 lines
Quoted 1 line
Denys
Terribly sorry in the delay. This caused a discussion internally and got lost in the shuffle. I'll sanity check agin shortly, but there was no issues on dunfell with the patch. However in testing it, we found that there are still python dependencies in master. So, I think we can apply to dunfell, but need to revert in master. I'm currently looking for alternatives to the revert in master.
Quoted 2 lines
Where does the dependency on meta-python in master come from? Is it still from optee? Or is there something else?
TF-M and OPTEE (and GEM5, which is now its own layer). We know its an issue and will work on it.
Anyway, the patch is now in dunfell.
Thanks,
Jon
Quoted 50 lines
Denys
Quoted 44 lines
Thanks,
JonQuoted 40 lines
Quoted 37 lines
Quoted 34 lines
Quoted 31 lines
Quoted 28 lines
Quoted 26 lines
--- meta-arm/recipes-security/optee/optee-os_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-arm/recipes-security/optee/optee-os_git.bb +0
-1@@ -10,7 +10,7 @@ PV = "3.8.0+git${SRCPV}" inherit deploy python3native require optee.inc -DEPENDS = "python3-pycrypto-native python3-pyelftools-nativepython3-pycryptodomex-native"
+DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"SRCREV = "
023e33656e2c9557ce50ad63a98b2e2c9b51c118"SRC_URI= " \Signature · 1 line
2.7.4