Skip to content

Could you implement ProviderInstaller #504

Closed

Activity

  1. voidstarstar commented on Oct 7, 2018

    @voidstarstar
    Contributor

    This issue should probably get more attention for a couple of reasons:

    1. This is a security issue.
    2. As servers and apps are updated (including official Google apps), they will deprecate old insecure protocols causing apps to simply stop working without this fix (including older versions of the app).

    (For example, many servers are disallowing TLS 1.0 and requiring TLS 1.2+, yet this is unsupported on older versions of Android.)

    It looks like there are already some Google apps that try to update the providers as seen in the logcats reported in #72 and #86.

    Details can be found here: https://developer.android.com/training/articles/security-gms-provider

    If conscrypt is included as a dependency, would something as simple as this be enough to fix the issue?

    Security.insertProviderAt(Conscrypt.newProvider(), 1);
    
  2. voidstarstar commented on Oct 8, 2018

    @voidstarstar
    Contributor

    This may be of use: https://pastebin.com/NaisKQTb

    (This was obtained by using the Jadx decompiler on classes2.dex in PrebuiltGmsCore.apk in the stock variant of Open GApps.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions