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

[Android] Resolve Android-specific active issues in System.Net.Security and System.Security.Cryptography #104352

Conversation

simonrozsival
Copy link
Member

@simonrozsival simonrozsival commented Jul 3, 2024

Closes #68206
Closes #100224

This PR resolves Android-specific active issues in System.Net.Security and System.Security.Cryptography

  • Android/java has stricter requirements on the hostnames it allows for SNI/ALPN
  • The Android implementation of SslStream server mode doesn't handle ALPN as expected
  • Some scenarios are only partially supported on Android
  • Some scenarios are not supported on Android
  • The OCSP protocol uses plaintext HTTP and our app setup didn't allow that. This requires a change in the app manifest.

/cc @wfurt

@simonrozsival

This comment was marked as outdated.

This comment was marked as outdated.

@simonrozsival

This comment was marked as outdated.

This comment was marked as outdated.

@simonrozsival

This comment was marked as outdated.

This comment was marked as outdated.

@simonrozsival

This comment was marked as outdated.

This comment was marked as outdated.

@simonrozsival

This comment was marked as outdated.

This comment was marked as outdated.

@simonrozsival
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simonrozsival simonrozsival changed the title [Android] Resolve Android-specific System.Net.Security active issues [Android] Resolve Android-specific active issues in System.Net.Security and System.Security.Cryptography Jul 8, 2024
@simonrozsival simonrozsival marked this pull request as ready for review July 8, 2024 19:14
@simonrozsival
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left few comments. Generally looks OK to me.

@simonrozsival
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simonrozsival
Copy link
Member Author

The failing tests in runtime-extra-platforms are unrelated to this PR

@simonrozsival simonrozsival merged commit 110b5f2 into dotnet:main Jul 19, 2024
188 of 200 checks passed
@simonrozsival simonrozsival deleted the resolve-android-net-security-active-issues branch July 19, 2024 20:41
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
@karelz karelz added this to the 9.0.0 milestone Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.