So 7.12.11 is actually a higher version than 7.12.4 (11 > 4). That’s why aurora store is offering it to u as an update. As a side note, 7.12.11 appears to be 19388, not 19338, tho they do look similar at first glance.
Android uses a cryptographic signature check (assuming your phone is not rooted, otherwise all bets are off). This means when u try to update an app on ur phone (with the same package name), android checks if the signature of the new apk matches the signature of the current apk installed on ur phone (aka signed with the same key), if it does it allows the update to go through, if not it rejects the update.
So if the version of proton mail aurora store is offering u was malware, it wouldn’t have the same signature as the real version of proton mail (unless the hacker stole the private keys of proton, which is very very unlikely) and thus android would reject it. So as long as the version of proton mail on ur phone is the genuine one, u don’t have to worry about aurora store installing malware, at least not as an update (it can still install apps that are not currently installed on ur phone, but if an app is already on ur phone then it must pass the signature check first).
As for what 7.12.11 is, it appears to be a future version of proton mail, maybe a beta version? Idk exactly but i found it here https://apkpure.com/proton-mail-encrypted-email/ch.protonmail.android/download/7.12.11
And to verify it with apksigner to make sure it’s not malware and it’s been truly signed by proton’s signing keys, download Termux then run:
termux-setup-storage
pkg install apksigner aapt2
apk="$HOME/storage/downloads/Proton+Mail_+Encrypted+Email_7.12.11_APKPure.apk"
apksigner verify --verbose --print-certs "$apk" &&
aapt2 dump badging "$apk" | head -n 1
Then look at the result and compare it to proton’s official sha256 fingerprint of their signing certificate which u can find here if u scroll to the bottom of the page Proton Mail APK - Android App Download
If they match then the apk is legit, if they don’t it’s (probably) malware.
Alternatively, u can use Privacy Guides’ Verified Apps app, but i haven’t used it so can’t guide u Releases · privacyguides/verified-apps-android · GitHub
U can also use Releases · RoundSalmon4/AppVerifierBG · GitHub which allows u to paste the fingerprint straight from proton’s site.
But while these apps are easier to use than termux, it’s more 1 dependancy on ur phone, so i prefer termux.
So here’s it on my phone:
As u can see it says Verifies and v3: true, so the signature is valid. Then, it says dcc9439ec1a6c6a8d0203f3423ee42bcc8b970628e53cb73a0393f398dd5b853 which is the same as proton’s just without the : DC:C9:43:9E:C1:A6:C6:A8:D0:20:3F:34:23:EE:42:BC:C8:B9:70:62:8E:53:CB:73:A0:39:3F:39:8D:D5:B8:53 meaning it matches thus it’s signed by proton and is a legitimate apk, not malware.