fix(#346): extract signing cert SHA-256 by shape, not label
First live signing run (#345) failed at APK cert verification. The APK signed correctly, but the label parse (grep "Signer #1 certificate SHA-256 digest" | awk) returned empty on the runner's apksigner, whose output labels that line differently than the local build-tools. Empty != expected produced a false mismatch. The release correctly did NOT publish (fail-safe held). Now extracts by shape: the cert SHA-256 is the only 64-hex string in the output (SHA-1 is 40, MD5 is 32), so grep -ioE '[0-9a-f]{64}' is label-independent. Verified against a real signed APK (e7da8cd5…). Echoes the raw apksigner + keytool output for diagnosability, and hardens the AAB parse the same way (it was skipped last run, so its runner format is still unconfirmed — the echo will show it). Part of epic #312. Agent: SapphireCompass (session 8d755b5e)feat/355-migration-merge
parent
7482f4166a
commit
1267b91770
Loading…
Reference in new issue