Skip to content

Instantly share code, notes, and snippets.

@EricLarch
Last active October 18, 2016 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricLarch/788c5872d8b1be481372f5c019ae5e60 to your computer and use it in GitHub Desktop.
Save EricLarch/788c5872d8b1be481372f5c019ae5e60 to your computer and use it in GitHub Desktop.
from ledgerblue.comm import getDongle
from ledgerblue.commException import CommException
deriveString = "passphrase"
dongle = getDongle(True)
apdu = bytes("E0D00200".decode('hex')) + chr(len(deriveString)) + bytes(deriveString)
dongle.exchange(apdu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment