6

When I try to enable USB debugging on my Android device, I am prompted with this message:

The computer's RSA key fingerprint is:
FE:35:23:34:...

I see the public key in ~/.android/adbkey.pub

How can I verify that this RSA key fingerprint is correct on the computer's commandline?

Can I use adb?

2
  • You are using an USB connection. How likely is an interception attack on an USB cable?
    – Robert
    Sep 24, 2020 at 15:10
  • @Robert Although the chances are slim, they are not zero. Given that Android developers chose to deliberately show a key fingerprint, it seems only logical to verify it before accepting, no? Are you saying verification is impossible? Sep 25, 2020 at 16:32

1 Answer 1

5

Per this answer:

awk '{print $1}' < ~/.android/adbkey.pub | base64 --decode | md5sum

Not the answer you're looking for? Browse other questions tagged .