Skip to content

Instantly share code, notes, and snippets.

@EricLarch
Last active October 18, 2016 10:02
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/192da01581d19e0d41ae477a2027babe to your computer and use it in GitHub Desktop.
Save EricLarch/192da01581d19e0d41ae477a2027babe 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("E0D00100".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