Skip to content

Instantly share code, notes, and snippets.

@obfusk
Last active December 30, 2024 15:51
Show Gist options
  • Save obfusk/46c1700ed448b4e48c1997b485f986d4 to your computer and use it in GitHub Desktop.
Save obfusk/46c1700ed448b4e48c1997b485f986d4 to your computer and use it in GitHub Desktop.
verify-apk.sh
#!/bin/bash
set -euo pipefail
apksigner verify -v --print-certs "$@" 2>&1 \
| ( grep -av '^WARNING: META-INF/.* not protected by signature' || true ) | cat -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment