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

tests fail after 2028-07-07 #557

Open
bmwiedemann opened this issue Feb 2, 2025 · 2 comments
Open

tests fail after 2028-07-07 #557

bmwiedemann opened this issue Feb 2, 2025 · 2 comments

Comments

@bmwiedemann
Copy link

While working on reproducible builds for openSUSE, I found that
our python-aioquic 1.2.0 package fails tests after 2028-07-07, because tests/ssl_cert.pem expired.

Please mock the current time or use test certs that are valid for 1000y.

Background:
As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future.
The usual offset is +16 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.

@jlaine
Copy link
Contributor

jlaine commented Feb 2, 2025

This is a fair point. Our tests uses a mix of certificates which are generated on the fly and this hard-coded certificate. I think I'd like to try switching to "only use generated certs".

@bmwiedemann
Copy link
Author

That is also a good solution.

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

2 participants