Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add test for bare PING-PONG protocol over TLS handle #55

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

pinkforest
Copy link
Contributor

Testing against OpenSSL server with rustls-rustcrypto client

Perhaps I should organise some of this stuff as I wrote this quickly into self-contained thingy with minimal deps

@tarcieri tarcieri merged commit 9d86cdb into RustCrypto:master Apr 19, 2024
5 checks passed
@tarcieri
Copy link
Member

Hmm, this broke the build on master:

https://github.com/RustCrypto/rustls-rustcrypto/actions/runs/8755797614/job/24030745531

called Result::unwrap() on an Err value: Custom { kind: InvalidData, error: InvalidCertificate(Expired) }

Certs either need to be generated on-the-fly so this doesn't happen, or configured with an expiration date far enough in the future it doesn't cause a (frequent) problem

tarcieri added a commit that referenced this pull request Apr 24, 2024
This reverts commit 9d86cdb.

These tests aren't working because the certificate they use is expired.

It either needs to be longer-lived or generated automatically as part of
the test suite to ensure it isn't expired.
tarcieri added a commit that referenced this pull request Apr 24, 2024
)

This reverts commit 9d86cdb.

These tests aren't working because the certificate they use is expired.

It either needs to be longer-lived or generated automatically as part of
the test suite to ensure it isn't expired.
@tarcieri
Copy link
Member

Reverted in #63 due to the cert expiry issue

pinkforest added a commit to pinkforest/rustls-rustcrypto that referenced this pull request Apr 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants