LedgerHQ / app-ssh-agent

Simple SSH and GPG agent for Ledger Blue and Nano S
Apache License 2.0
81 stars 27 forks source link

Syntax error when running getPublicKey #9

Closed Christewart closed 7 years ago

Christewart commented 7 years ago

Just tried to run this script and got an error:

$ python3 getPublicKey.py
  File "getPublicKey.py", line 69
    if ((keyX[31] & 1)<>0):
                       ^
SyntaxError: invalid syntax
btchip commented 7 years ago

Yes, it only works with Python 2 - I'd also suggest using https://github.com/romanz/trezor-agent as a client as it supports more use cases.