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

Fix tests until 2049 #41

Closed
wants to merge 1 commit into from
Closed

Conversation

bmwiedemann
Copy link

Fix tests until 2049

This change is necessary because openssl x509 -text -in ioflo/aio/test/tls/certs/client_cert.pem had
Not After : Sep 15 17:08:16 2019 GMT

and thus 8 tests were failing.

The certs were updated using gnutls' certtool

certtool -u \
 --load-ca-privkey ioflo/aio/test/tls/certs/client_key.pem \
 --load-ca-certificate ./ioflo/aio/test/tls/certs/client_cert.pem \
 --load-certificate ./ioflo/aio/test/tls/certs/client_cert.pem > x

with an expiry of 11000 days.

I tested that everything still passes in 2034.

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 +15 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.

ioflo/aio/test/tls/certs/client_cert.pem had
            Not After : Sep 15 17:08:16 2019 GMT
and thus 8 tests were failing.

The certs were updated using gnutls'
certtool -u \
 --load-ca-privkey ioflo/aio/test/tls/certs/client_key.pem \
 --load-ca-certificate ./ioflo/aio/test/tls/certs/client_cert.pem \
 --load-certificate ./ioflo/aio/test/tls/certs/client_cert.pem > x

with an expiry of 11000 days.

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 +15 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.
@bmwiedemann
Copy link
Author

Was fixed by 42e7f63 though its commit message could have been better.

@bmwiedemann bmwiedemann closed this Nov 9, 2019
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

Successfully merging this pull request may close these issues.

None yet

1 participant