Skip to content

adb package: report installer and signing hashes (refs #4) - #10

Merged
leeguooooo merged 1 commit into
mainfrom
fix/issue-4
Nov 19, 2026
Merged

leeguooooo merged 1 commit into
mainfrom
fix/issue-4

Conversation

@leeguooooo

Copy link
Copy Markdown
Owner

Refs #4

Builds on bc7b028 (adb package / adb apps). adb package now also returns:

  • installer (installerPackageName, null when unset)
  • signatures: Android's short signing-certificate hashes from dumpsys package, enough to tell two same-label builds' signers apart

Test: extended package_dumps_are_parsed fixture; cargo test passes.

Still partial (why Refs, not Fixes):

  • label stays null: ADB cannot read app labels without aapt on the device. That needs the phone app (PackageManager.getApplicationLabel) to expose an apps endpoint; the APK can't be built here (no Android SDK 36), so not attempted.
  • Accessibility-only setups (no USB debugging) still get no package/apps info, same reason.
  • Package-beside-label in app lists depends on the label work above.
  • Signatures are Android's short hashes, not full SHA-256 cert digests.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c39cd10b-01d3-4c65-aefe-160752136d90
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@leeguooooo
leeguooooo merged commit bdd5b76 into main Nov 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant