Skip to content

signing certificate hash #2922

Closed
Closed

Description

@unoukujou

When adding an app, there can be a setting to add a known signing certificate hash

Obtanium can use it to show if the hash matches the downloaded apk.

Image

Basically like a built-in AppVerifier, but without needing AppVerifier so you don't need to rely on another app. Because as of right now, AppVerifier does not get updates anymore and hopefully some developer will continue it but in case not, this can be integrated into obtainium for added security:

  1. Obtainium should warn a user if the hash is different from the verified hash.

  2. In case no verified hash is provided by the user, obtainium can still warn a user if a hash is changed compared to the old version and ask the user if you are sure to install the update.

If no dev will work on AppVerifier to keep it alive, then we'll need some alternative way. So I propose to integrate it into Obtainium for added security and it is a cleaner solution instead of sharing the APK to another app.

I think there's no need to maintain a list of known hashes. It's a lot of extra work for no reason. But just an option for the user to add their own verified hashes if they want to. It's optional.

And at the very least even without a verified hash, obtainium can still verify that a new app update has the same hash as the current installed version and warn if it changed before installing it. Because it's still better than nothing.

Activity

  1. unoukujou commented on May 14, 2026

    @unoukujou
    Author

    Another use case for this is when we export our Obtainium settings, all the verified hashes that we added will be included in the export. When we import our settings to a new device or after factory reset we can be sure the apk's will be verified on the 1st install

  2. flexxxxer commented on May 14, 2026

    @flexxxxer
    Contributor

    In case no verified hash is provided by the user, obtainium can still warn a user if a hash is changed compared to the old version and ask the user if you are sure to install the update.
    And at the very least even without a verified hash, obtainium can still verify that a new app update has the same hash as the current installed version and warn if it changed before installing it

    Not possible to update in that situation unless key rotation done by app developer which is easy to check. Except for that I have nothing to say but thanks for making that issue, I was thinking about making exactly same proposal :)

  3. unoukujou commented on May 14, 2026

    @unoukujou
    Author

    In case no verified hash is provided by the user, obtainium can still warn a user if a hash is changed compared to the old version and ask the user if you are sure to install the update.
    And at the very least even without a verified hash, obtainium can still verify that a new app update has the same hash as the current installed version and warn if it changed before installing it

    Not possible to update in that situation unless key rotation done by app developer which is easy to check. Except for that I have nothing to say but thanks for making that issue, I was thinking about making exactly same proposal :)

    That's true, it's not possible to update because Android will block it naturally. Still don't hurt for Obtanium to give a warning as I don't want to even attempt to install a modified or malicious file. But thanks, it's a good suggestion and I hope that the developer will consider to add this functionality to Obtanium. No need to rely on external app AppVerifier. It's much cleaner solution to add hashes to obtainium and let it handle on its own. Also, AppVerifier is no longer being worked on by the developer and if he finds somebody to continue the work, it wont have any internal maintained database of hashes anymore. Instead, it's just going to have your own user supplied hashes. So basically becomes the same thing like what I'm suggesting here. And this will only happen if someone is willing to work on appverifier because the developer will not do it. So if nobody will continue the work, then appverifier is coming to an end. So we need a solution because appverifier is already integrated into Obtanium. And it's something that Obtanium can do by itself anyway, and more clean without need to install a separate app. 👌

  4. DiagonalArg commented on May 17, 2026

    @DiagonalArg

    ... when we export our Obtainium settings, all the verified hashes that we added will be included in the export. When we import our settings to a new device or after factory reset we can be sure the apk's will be verified on the 1st install

    That's a great idea!

  5. master-bob commented on Aug 21, 2026

    @master-bob
    Contributor

    There are forks of AppVerifier which get updates and they are https://github.com/RoundSalmon4/AppVerifierBG and https://github.com/privacyguides/verified-apps-android. AppVerifierBG allows for a user database to be created, that is check hashes from a provided hash and add it to an user-database). Cheers.

  6. added
    enhancement
    TODO
    on Sep 6, 2026
  7. ImranR98 commented on Sep 13, 2026

    @ImranR98
    Owner
  8. removed
    TODO
    on Sep 13, 2026
  9. flexxxxer commented on Oct 14, 2026

    @flexxxxer
    Contributor

    Hmmm... isn't this feature request not implemented? @unoukujou looks like current Obtainium state does not do what you asked (well I also want this to be implemented), can you confirm?

  10. unoukujou commented on Oct 14, 2026

    @unoukujou
    Author

    14. Hmmm... isn't this feature request not implemented? @unoukujou looks like current Obtainium state does not do what you asked (well I also want this to be implemented), can you confirm?

    For me the feature has been implemented properly and it's working fine for me

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions