-
Notifications
You must be signed in to change notification settings - Fork 67
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
Parsec should source mbedtls, not mbed-crypto #153
Comments
The default branch from the new repo is (unsurprisingly) not compatible with what Parsec expects. For example, there's this change mentioned somewhere: Rename |
Indeed, this is probably a follow-up part of the transition to PSA crypto v1.0 - we've updated the interface, but not our dependance on an early version of Mbed Crypto :) Don't think this was on our immediat roadmap because of other work we're focusing on at the moment (e.g. the SE driver) |
As long as you're only prototyping, you can continue to use the mbed-crypto repository in the short term. We aren't shutting it down yet. But we have stopped updating it, and it's starting to contain unfixed security vulnerabilities. The name change of |
This would fix parallaxsecond/parsec#153. Instead of wget https://github.com/ARMmbed/mbed-crypto/archive/mbedcrypto-2.0.0.tar.gz we fetch the Mbed Crypto source with: git clone https://github.com/ARMmbed/mbedtls && git checkout $MBED_COMMIT The MBED_COMMIT is specified in Cargo.toml and will be updated from time to time at least until there is a stable branch we can use. Two functions in the API have changed their names. These are renamed in psa-crypto-sys, not in psa-crypto. Signed-off-by: Edmund Grimley Evans <[email protected]>
I've patched In order to make the CI tests deterministic a particular commit is fetched. |
This would fix parallaxsecond/parsec#153. Instead of wget https://github.com/ARMmbed/mbed-crypto/archive/mbedcrypto-2.0.0.tar.gz we fetch the Mbed Crypto source with: git clone https://github.com/ARMmbed/mbedtls && git checkout $MBED_COMMIT The MBED_COMMIT is specified in Cargo.toml and will be updated from time to time at least until there is a stable branch we can use. Two functions in the API have changed their names. These are renamed in psa-crypto-sys, not in psa-crypto. Signed-off-by: Edmund Grimley Evans <[email protected]>
|
setup_mbed_crypto.sh
sources https://github.com/ARMmbed/mbed-crypto, but that repository is no longer being updated. The development of the crypto part of Mbed TLS has been wrapped back into the main repository at https://github.com/ARMmbed/mbedtls.If you don't want to waste time building the X.509 and TLS parts of the library, run
scripts/config.py crypto
orscripts/config.py crypto_full
beforemake
.The text was updated successfully, but these errors were encountered: