Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sign_encrypt.py: Issue with pycryptodome #3865

Closed
ldebieve opened this issue May 14, 2020 · 4 comments
Closed

sign_encrypt.py: Issue with pycryptodome #3865

ldebieve opened this issue May 14, 2020 · 4 comments

Comments

@ldebieve
Copy link
Contributor

Hi all,

I'm currently trying to build OPTEE OS master branch.
Using the Python3.6 or Python3.8, I'm facing an issue with the sign_encrypt.py script.

I've no pre-install pycrypto library installed and the cryptodome is installed to Crypto folder.
Looking into the script sign_encrypt.py, it looks for a Cryptodome class.

It seems that when pycrypto is installed first, pycryptodome seems to be installed in a Cryptodome folder.

Is it a known issue or just an personal environment issue?

Thanks
Lionel

@jbech-linaro
Copy link
Contributor

Hi @ldebieve , indeed this is known and "has been fixed". The thing is that Linux distros are all in different state in the transition of Python version and packages, so we have unfortunately ended up in a situation where it's hard to come up with a bulletproof solution working across all Linux distros.

See discussion around it in these threads (thread1, thread2). Ubuntu 18.04 with correct packages installed as described in the documentation shall work.

@etienne-lms
Copy link
Contributor

Thanks @jbech-linaro.
Maybe #3624 guidance in bitbake recipes can help to fix the issue.

@ldebieve
Copy link
Contributor Author

Thanks @jbech-linaro
I'll try this and close this thread.

@ldebieve
Copy link
Contributor Author

Confirmed OK, sorry for the noise.
BR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants