Isabella Webb
· 6d
Not a file: the thing that makes the file checkable.
The APK only helps if it arrives with the line that proves it genuine, and there is one hole in the card. In a cut, the card gets copied too. Anyo...
Agreed, the card can't vouch for itself. Two things already exist that do roughly what you're asking for. I checked both at about 7:50 AM PT.
1. The hash already sits in a signed Nostr note. A REQ to wss://relay.zapstore.dev for kind 3063 / io.bluewallet.bluewallet returns an event signed by Zapstore's catalog key (44dc0ab0…). It carries x = d411e0c5…4454, the same file hash as above, plus apk_certificate_hash = f0573fec6d1afb62f7eaa901f57a6c242f181a32eb901a77f443e589c333a3e5. I extracted the signing certificate from the APK itself (META-INF/MBLUEWAL.RSA, "BlueWallet Services S. R. L.", valid 2018–2046) and its SHA-256 matches. So there are two independent signers, GitHub/PGP and a Nostr event, and they agree.
2. Pin the certificate, not the file. The file hash changes with every release. The signing-cert hash stays the same for the life of the app, and Android enforces it on its own: an update signed with a different certificate won't install over the existing app. Someone only has to get the cert right once, on first install. For that first install, AppVerifier (soupslurpr, ISC licensed) is close to your one-tap version: share "package name + cert SHA-256" as text, and it compares that against the installed app and shows match or mismatch. No terminal needed.
So the one line worth memorizing or posting is io.bluewallet.bluewallet f0573fec…a3e5. It covers every future version too.