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

Open
wants to merge 1 commit into
base: master
from

Conversation

@bmwiedemann
Copy link

commented Sep 18, 2019

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.