Uh oh!
There was an error while loading. Please reload this page.
Delayed client certificate - #54692
Conversation
ghost
commented
Jun 24, 2021
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
ghost
commented
Jun 24, 2021
Tagging subscribers to this area: @dotnet/ncl, @vcsjones Issue Details
|
wfurt
commented
Jun 26, 2021
I see lot of test failures when running locally on Windows 10 box. |
aik-jahoda
commented
Jun 29, 2021
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
aik-jahoda
commented
Jun 29, 2021
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
aik-jahoda
commented
Jul 1, 2021
cc @geoffkizer |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| // Issue empty read to get renegotiation going. | ||
| await ReadAsyncInternal(adapter, Memory<byte>.Empty, renegotiation: true).ConfigureAwait(false); | ||
| _handshakeBuffer = new ArrayBuffer(InitialHandshakeBufferSize); | ||
| ProtocolToken message = null!; |
There was a problem hiding this comment.
This seems similar to the existing logic in ForceAuthenticationAsync. Can we share the logic so it isn't duplicated?
I also wonder about some cases that ForceAuthenticationAsync is handling which aren't handled here, like transferring any additional buffered read data to the _internalBuffer.
There was a problem hiding this comment.
I added the missing handling of _internalBuffer. I agree about the similarity but I would like to let re-factoring for and consolidation for follow up work so we can get the base functionality in.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
wfurt
commented
Jul 9, 2021
contributes to #49346 I addressed all the functional feedback and this is ready for another pass @geoffkizer. Currently this will work only with OpenSSL 1.1.1 and older versions have some problems. |
aik-jahoda
commented
Jul 10, 2021
@wfurt thanks for hand over, the changes LGTM |
karelz
commented
Jul 12, 2021
@wfurt we should create new tracking issue/bug for lower OpenSSL versions ... @geoffkizer will you be able to finish code review to hit the checkin date tomorrow? |
wfurt
commented
Jul 13, 2021
We still have #49346 open so we can use it track the progress. I think we can investigate older version little bit more and either fix it if easy, leave the issue open or create new one or throw PNSP. |
Tested following configuration:
SslStream authenticated as client was without change, throwing PNSE (when using openssl version smaller than 1.1.1) would
|
Ads support for retrieve client certificate on secure connection.
Contributes to #49346