Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read the computer's RSA key fingerprint from Android

I want to read the fingerprint of the computer. That fingerprint is shown when you connect it for the first time with your computer.

I googled a lot but I found nothing related. Do you have an idea or a helpful resource?

like image 338
rekire Avatar asked Sep 02 '14 14:09

rekire


People also ask

How to find computer's RSA key fingerprint in Android mobile?

It seems that the keys are stored in /data/misc/adb/adb_keys . The "fingerprint" is just an MD5 hash of the computer's public key, which is stored in ~/. android/adbkey.

What is my RSA key fingerprint?

A host key fingerprint is also known as RSA key, host key, and key fingerprint. Every SSH server is configured to use a host key to verify that the client is connecting to the correct host. The SSH server administrator provides the host key fingerprint to the various clients.


1 Answers

Enter this in your terminal:

awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c 

Works just as it should for me. =)

From: https://android.stackexchange.com/questions/50922/how-can-i-see-the-fingerprint-of-my-adbkey?newreg=7d7d931b67d442019d3ba60ed114be04

which references the original source: http://nelenkov.blogspot.de/2013/02/secure-usb-debugging-in-android-422.html

like image 100
pd12 Avatar answered Sep 23 '22 09:09

pd12