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

Improve Android compatibility #636

Merged
merged 2 commits into from
Oct 20, 2020

Commits on Oct 6, 2020

  1. Loop through security providers to check for BC

    Instead of only counting BouncyCastle as being registered if it
    is set as the explicit security provider used by SSHJ, count it as
    registered if it is available as a provider.
    
    This commit improves Android compatibility, which requires not
    specifying an explicit provider.
    fmeum committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    397b77f View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. Generify BC-specific curve specifiers

    The ECNamendCurveGenParameterSpec is a BC-specific workaround for
    missing curve tables in Java 1.4 and earlier. For the sake of Android
    compatibility, where Conscrypt can't deal with this custom spec class,
    replace it with the standard ECGenParameterSpec and update the curve
    names to the standard identifiers.
    fmeum committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    a21a2fc View commit details
    Browse the repository at this point in the history