sosauce / CuteCalc

CuteCalc is a simple,lightweight and open-source calculator app for Android.
GNU General Public License v3.0
116 stars 9 forks source link

Add App Signing Certificate SHA-256 Hash to README #77

Open NarwhalPrince opened 10 hours ago

NarwhalPrince commented 10 hours ago

I would like to request that the app signing certificate SHA-256 hash be added to the GitHub README for this project. This would greatly assist with verifying the authenticity of APKs downloaded from non-trusted sources, such as directly from GitHub or other websites, compared to trusted sources like the Google Play Store or Accrescent.

By including this information, users can easily use tools like AppVerifier to confirm the APK's authenticity before installation.

Thank you for considering this request!

sosauce commented 5 hours ago

Hello, I've added the SHA-256 hash using this video : https://www.youtube.com/watch?v=xq_CxyqssiA since it's my first time dealing with SHA-256 hash. I'd also like to note that CuteApps are NOT officially avaible on the Google Play Store, only GitHub and IzzyOnDroid. Tell me if there is any problems !

NarwhalPrince commented 4 hours ago

Hey! Thanks for doing that. It doesn't look like it matches what I'm getting. Can you try using the apksigner tool with the --print-certs option https://developer.android.com/tools/apksigner#usage-verify

Also, is there anywhere else (e.g. a website) where you can have the hash posted?

The use case for this isn't for apps hosted on the Play Store, it is for obtaining apps from sources without a chain of trust. This allows us to mitigate issues with trust on first use (TOFU).

sosauce commented 4 hours ago

Signer #1 certificate SHA-256 digest: fd2d95cdb348b2f1aebedbab879ced737385ee13c305a139d6580d4cf2c0d65a

This is what I got with apksigner, is this what you also get ? I have my website : https://sosauce.github.io/ Would it be okay to put the hashes here ?

NarwhalPrince commented 3 hours ago

Yes and yes!

APK fingerprint matches and posted to your website would be best. You can just link to the page where the hash is placed.

Screenshot_20241011-130054.png

sosauce commented 2 hours ago

Great, will do ASAP!