How to test and see if your Ledger Nano S is legit from a third party like Amazon
Intro
If you were in a pinch and could not wait nor pay more money for shipping in purchasing your Ledger Nano S from Ledger's HQ in Paris, France... this quick how-to will help you test your Ledger Nano S that you have purchased from a third-party like Amazon.com.
Python tools for Ledger Nano S
https://github.com/LedgerHQ/blue-loader-python
Install pip
$ sudo easy_install pip
Install virtualenv
$ sudo pip install virtualenv
Create a virtualenv for Ledger
$ virtualenv ledger
Activate the virtualenv
$ source ledger/bin/activate
Install ledgerblue within newly created virtualenv
$ pip install ledgerblue
Run attestation test
$ python -m ledgerblue.checkGenuine --targetId 0x31100002
Deactivate the virtualenv
$ deactivate
Other ways to test for genuinity
More about Python and OS X
http://docs.python-guide.org/en/latest/starting/install3/osx/
Like this post?
You may donate what you can to help me gather resources for future ones below. Mucho thanks!
BTC: 1Bah9f5bKpaJ61wwkggsouy6ANtaTgGMXd
ETH: 0x626d68855c2d2DDA8c5889F5A203E98175ca5A0D
Hello!
Hello!
Hi, I've tried your steps but I faced some problem by using Lubuntu, could you help me out? It seems like it has something wrong with my python version in Lubuntu but I could be wrong. This is log from lubuntu terminal: https://pastebin.com/pqYs47cd
Hmmm not too sure, but have you tried the hint in the error message?
Thanks for your reply, it seems like it was caused by this line "ECPy requires Python '>=3' but the running Python is 2.7.14", but it still fail after I typed "pip3 install ledgerblue". I think it may be caused by my operating system (Lubuntu Alternate 64-bit version on my Asus laptop), may I know which system you were using?
The above worked on OSX