question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better way to get the local key

See original GitHub issue

I believe there is a better and faster way to get the local key. You can open the manufacturer app, link the device and then dump the memory of the process using:

adb shell am dumpheap {package_name}

Then open this on Android Studio and search for allocations of either byte[8] or SecretKeySpec. The key will present itself.

I believe it should also work with non rooted phones but haven’t tested it

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alanfoster99commented, Aug 13, 2020

@ProPuke that seems to be the case; the developer account apparently was free previously, but I can find no way to follow the workflow described anymore, and the $300 seems required now

1reaction
ProPukecommented, Aug 9, 2020

Unless I’m mistaken the current method seems to be signing up for a developer account, which costs $300 a year after the first 3 months?

If so a better method would be much appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get local key tuya since June 2022 - Third party integrations
Hello, someone knows about how to get the local key from IOT Tuya for every single device since June 2022? I'm not able...
Read more >
How to use local ssh key to access a third computer?
One way is to Forward SSH agent. First, open ssh_config file and add two lines following: $ sudo nano /etc/ssh/ssh_config Host ...
Read more >
Local key management - Genesys Cloud Resource Center
For more information about how to create your own key management service and an example code, see https://github.com/MyPurecloud/local-key-manager.
Read more >
How to improve your local ranking on Google
Learn more about how Google sources business information for search results. Update your business info for better visibility. You may find that your...
Read more >
How to Add SSH Public Key to Server - Linux Handbook
I have used ~/.ssh/id_rsa.pub because that is the default location for the public ssh key. If you have it at some other location,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found