镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

onTamperDetected is executed when running on physical device #12

Closed

Description

@neroaCu

Hi,

Can you tell me under what conditions this plugin would detect it as a tampering case?

I enabled this onTamperDetected feature in android and found that it was invoked on a physical device (developer mode is enable) and simulator as well. Is this expected behaviour? for example, it restricts the app must be download from google/Apple Store?

Or does it means I did something else wrong? like the expectedSigningCertificateHash is wrong?

Please help. Thanks

Activity

  1. talsec-app commented on Mar 7, 2022

    @talsec-app
    Member

    Hello,

    application is considered tampered if it has incorrect package name or if it was signed/resigned with an unknown signing key (signing certificate mismatch). If the application is installed from an untrusted application store, onUntrustedInstallationDetected is triggered. Please verify, that your expectedSigningCertificateHash is correct. You can use this link for Base64 -> Hex conversion: https://base64.guru/converter/decode/hex
    We will try to add expectedSigningCertificateHash checks to the next version of Talsec.

    Talsec Team

  2. pinned this issue on Mar 8, 2022
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