TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does https://flash.android.com access my locally stored adb keys

4 pointsby greatjack613almost 5 years ago
Hi everyone,<p>I noticed that https:&#x2F;&#x2F;flash.android.com is able to access my local adb keys stored on my local filesystem in ~&#x2F;.android&#x2F;adbkey . It does this after pressing Get Started on the page above and clicking agree to the dialog asking you if it can access you adb keys.<p>How is this possible? Is there some hidden api in chrome that google is using to access the local file system, or is there a more mundane explanation involving some unknown api?<p>Thanks all.

2 comments

dylzalmost 5 years ago
You need to preinstall the Android USB driver, and approve access:<p>My guess is WebUSB API: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;USB" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;USB</a>
greatjack613almost 5 years ago
Another addendum is that it does not trigger the authorize keys dialog on my android device, which is further proof that it is reading keys that are already authorized from the computer