~/talk

Demystifying Code Signing

Talkat droidcon London 2024 · 2024-10-31..11-01· [security]
links:none on file
slides:none on file

Demonstrates using APK Signer to sign and resign an APK, unzipping the APK to show META-INF/manifest.mf contains SHA‑256 hashes of every file, and reinstalling fails when signatures differ because Android blocks updates with a different key. Explains Play App Signing: Google re‑signs AAB‑derived APKs with a Play key and treats the developer key as an upload key. Concludes signing protects the OS and ownership, not secrets, and recommends obfuscation, runtime checks, binary integrity and whitebox cryptography (Pace).

AI-written summary · about

  1. 0:00Code signing on Android
  2. 1:30What code signing is
  3. 2:33Signing an APK demo
  4. 5:06How APK signing works
  5. 7:14Why resigning fails
  6. 9:11Code signing for ownership
  7. 11:48Signing for interoperability
  8. 13:11Android Studio signing
  9. 13:56APKs vs App Bundles
  10. 14:17Classic signing flow
  11. 14:38Play App Signing changes
  12. 16:43Risks of Play certificates
  13. 17:27App Bundles with Play Signing
  14. 18:29Signing security limits
  15. 19:12Reverse engineering APK demo
  16. 20:15Beyond code signing
  17. 21:22Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.