-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Tests fail in 2019-11-25 #2357
Comments
Hi @bmwiedemann, thank you for the report and for making us aware that the expiry date of the test certificates is so close. 👍 We'll look into it (before 2020). Kind Regards, |
I looked at the .crt file from "Certificate verification #5" and expiry is later.
Maybe SHA1 is deprecated after 2019-11-25? Or some extra cert is involved? |
have you defined |
No, we have not defined that and it is also default-off in our 2.16.0 package. |
Thank you for the information.
This is why the crl is expired after November 25th 2019 A suggested fix is either to update the crl, or to change the test to check if the expected flag exists using a bitwise I haven't tried to reproduce this yet, as it requires to setup a VM, etc.., but I am quite positive this is the root cause for your failure. I will double confirm once I setup a VM environment. (I prefer not to skew my local machine clock at the moment) |
If setting up a VM is too much effort, maybe libfaketime could also help. That CRL indeed looks like the culprit. |
ARM Internal Ref: IOTSSL-2734 |
@bmwiedemann Thank you for the faketime tip! Indeed, the reason for failure is the CRL expiration. We will look into it. |
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
I believe that #2417 fixes this issue. |
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
Update crl.pem, as it will expire on November 25 2019. Resolves Mbed-TLS#2357.
While working towards openSUSE reproducible builds, I found that mbedtls does not build in 2020
Description
Bug
mbed TLS build:
Version: 2.14.1
OS version: any
Expected behavior
software should build anytime anywhere
Actual behavior
FAILED (486 / 518 tests (86 skipped))
See full log in
https://bugzilla.opensuse.org/show_bug.cgi?id=1081871#c6
Steps to reproduce
build mbedtls in 2020 and run its testsuite
e.g. on openSUSE or Debian
have a free openSUSE account,
have
kvm
,osc
andbuild
orobs-build
packages installed. Then runCould probably be solved similarly to https://dev.gnupg.org/T3815
with a cert that never expires (or only in the year 2999)
The text was updated successfully, but these errors were encountered: