Install of Ledger app 3.0.1 on MacOS Ventura 13.01 fails with Ledger Nano S Plus on firmware 1.0.4

Hi All,

I’m on a MacbookPro M1 Max, on MacOS Venture 13.0.1 and I am trying to install the ledger app on to my new Nano S Plus. I’ve restored it using my recovery phrase, and am now trying to install the ledger app. I’ve done a fresh install of ledger blue and ensured that everything is up to date. When running install.sh I get this error:

Generated random root public key : b'041784b90a0ce73e14b66f0b5acb98c769785306ac9992aaa4e1b9a72d153b9d1b7f6e7b85c0bb250b292a2d14479129294748b43dc35e0ff666599b3a499a5fc7'
Using test master key b'041784b90a0ce73e14b66f0b5acb98c769785306ac9992aaa4e1b9a72d153b9d1b7f6e7b85c0bb250b292a2d14479129294748b43dc35e0ff666599b3a499a5fc7' 
Using ephemeral key b'04540bb91d2e58faef1ed294cbc099863c6d893eba420a51b0cc53f00f8b3f9ba3de3a41f5bf89e007ee909647ada6d0a20df2b1bc2bde0df277d02a2253356f90'
Broken certificate chain - loading from user key
Application full hash : 9d8a891aca174644a5e55d5c2e2b8672c920a0f3e6f55c48c7baa2db9f3de160
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/loadApp.py", line 295, in <module>
    loader.commit(signature)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/hexLoader.py", line 313, in commit
    self.exchange(self.cla, 0x00, 0x00, 0x00, data)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/hexLoader.py", line 189, in exchange
    return self.scpUnwrap(bytes(self.card.exchange(apdu)))
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/comm.py", line 145, in exchange
    raise CommException("Invalid status %04x (%s)" % (sw, possibleCause), sw, response)
ledgerblue.commException.CommException: Exception : Invalid status 570b (Unknown reason)

Looking into other post it mentioned that there could be an issue with certs not being installed, so I tried that too from loadcertificates.sh and this is the error I see:

Generated random root public key : b'04b5ac66ad317345a794a1a02739e0cc6ca5555b2c19393cad20bc898954540dc163ba84b1b4ab72b1be27fc069e2c12830da991e64436a32be97ae6d7f50846c9'
Using test master key b'04b5ac66ad317345a794a1a02739e0cc6ca5555b2c19393cad20bc898954540dc163ba84b1b4ab72b1be27fc069e2c12830da991e64436a32be97ae6d7f50846c9' 
Using ephemeral key b'04b9ea8fac9caf451d7f58372cfafeb9c513436f1f0759955c2ffb9ef184cb3e0a471bbb1f06d74f9c1f3f2d09359ad1044b3ca672abb3b73ce69f6e97ac048ce1'
Broken certificate chain - loading from user key
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/setupCustomCA.py", line 60, in <module>
    loader.setupCustomCA(args.name, public)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/hexLoader.py", line 508, in setupCustomCA
    self.exchange(self.cla, 0x00, 0x00, 0x00, data)
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/hexLoader.py", line 189, in exchange
    return self.scpUnwrap(bytes(self.card.exchange(apdu)))
  File "/opt/homebrew/lib/python3.10/site-packages/ledgerblue/comm.py", line 145, in exchange
    raise CommException("Invalid status %04x (%s)" % (sw, possibleCause), sw, response)
ledgerblue.commException.CommException: Exception : Invalid status 661e (Unknown reason)

Any idea on how to solve this?

/Peter

Problem solved - as I’m using a Nano S Plus - I needed to press the left button before plugging it in to access the restore mode, and then I could install the certs and then the ledger app.

1 Like

Great news:)

Happy new year,
Concordium Tech Support