How to test and see if your Ledger Nano S is legit from a third party like Amazon

in #crypto7 years ago (edited)

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.

Ledger Nano S - The secure hardware wallet

Python tools for Ledger Nano S

https://github.com/LedgerHQ/blue-loader-python

  1. Install pip
    $ sudo easy_install pip

  2. Install virtualenv
    $ sudo pip install virtualenv

  3. Create a virtualenv for Ledger
    $ virtualenv ledger

  4. Activate the virtualenv
    $ source ledger/bin/activate

  5. Install ledgerblue within newly created virtualenv
    $ pip install ledgerblue

  6. Run attestation test
    $ python -m ledgerblue.checkGenuine --targetId 0x31100002

  7. Deactivate the virtualenv
    $ deactivate

Other ways to test for genuinity

https://ledger.zendesk.com/hc/en-us/articles/115005321449-How-to-verify-the-security-integrity-of-my-Nano-S-

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

Sort:  

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?

If executing pip with sudo, you may want sudo's -H flag.

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