-
Notifications
You must be signed in to change notification settings - Fork 2
gnutls/renegotiation-with-OpenSSL: Test extension #10
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
base: master
Are you sure you want to change the base?
Conversation
why it's not added? |
It's part of the #5 PR, so I'd like to avoid creating unnecessary merge conflicts. |
gnutls_pid=$! | ||
rlRun "rlWaitForSocket -p $gnutls_pid 4433" | ||
|
||
# OpenSSL server setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
below is a client, not server
gnutls_pid=$! | ||
rlRun "rlWaitForSocket -p $gnutls_pid 4433" | ||
|
||
# OpenSSL server setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
below are settings for client
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'm not sure how it got there...
67891df
to
b2d4123
Compare
first, the I'm postponing this PR until #5 is merged |
b2d4123
to
c377062
Compare
GnuTLS on RHEL 6 has minimal TLS 1.2 implementation and most of the ciphersuites/features used in this test don't work there.
c377062
to
862d098
Compare
I've disabled this test on RHEL 6 and applied a 'workaround' for The first handshake is completed successfully, but the renegotiation fails with following error: GnuTLS (client)
OpenSSL (server)
This happens with all tested ciphersuites. |
Downstream bugs for the issue: |
Wow, nice job! I guess then we need to mark those cases as irrelevant for RHEL-7.4 and earlier (hoping for fix in 7.5). It would be nice to have a fix in Fedora before merging though, but a check for version there is probably also acceptable... |
if [[ $proto == "tls1_1" ]]; then | ||
options+=(-tls1_1) | ||
fi | ||
rlRun -s "(sleep 0.5; echo R; sleep 0.5; echo Q) | ${options[*]}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's not reliable in my experience, but let's see how it works out...
given that RHBZ#1434091 won't be fixed any time soon, I wonder if we shouldn't workaround it, merge the workarounded version and either prepare a PR that removes the workaround or just create an issue that reminds us to check if it is fixed in next RHEL |
This PR extends the gnutls/renegotiation-with-OpenSSL test with following:
Also, the same issues as in #9 apply to this PR:
TLS_DHE_DSS_WITH_AES_128_CBC_SHA
doesn't work in GNUTLS when TLS 1.2 is disabledrlGetTestState