loadApp fails on MacOS with: Invalid status 6700 (Unknown reason)
See original GitHub issueOS: MacOS Sierra 10.12.6
device: Ledger Nano S
firmware: 1.4.1
Script(s): loadApp
Python: 3.6.4 (virtualenv)
command (from blue-app-btc root):
python -m ledgerblue.loadApp --appFlags 0x50 --curve secp256k1 --targetId 0x31100003 --fileName bin/app.hex --appName "Bitcoin" --path ""
Version: 0.1.17 (commit ab589175f3551133fd6e6645a9cb5d845cb9892f - ie. non pip version)
trace:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/tadhgriordan/.virtualenvs/ledger/lib/python3.6/site-packages/ledgerblue-0.1.17-py3.6.egg/ledgerblue/loadApp.py", line 248, in <module>
loader.createAppNoInstallParams(args.appFlags, appLength, args.appName, args.icon, path, None, None, args.appVersion)
File "/Users/tadhgriordan/.virtualenvs/ledger/lib/python3.6/site-packages/ledgerblue-0.1.17-py3.6.egg/ledgerblue/hexLoader.py", line 344, in createAppNoInstallParams
self.exchange(self.cla, 0x00, 0x00, 0x00, data)
File "/Users/tadhgriordan/.virtualenvs/ledger/lib/python3.6/site-packages/ledgerblue-0.1.17-py3.6.egg/ledgerblue/hexLoader.py", line 194, in exchange
return self.scpUnwrap(bytes(self.card.exchange(apdu)))
File "/Users/tadhgriordan/.virtualenvs/ledger/lib/python3.6/site-packages/ledgerblue-0.1.17-py3.6.egg/ledgerblue/comm.py", line 129, in exchange
raise CommException("Invalid status %04x (%s)" % (sw, possibleCause), sw, response)
ledgerblue.commException.CommException: Exception : Invalid status 6700 (Unknown reason)
status 6700
is incorrect length
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Open a Mac app from an unidentified developer - Apple Support
If you try to open an app by an unidentified developer and you see a warning dialog, ... This doesn't necessarily mean that...
Read more >VPP Installation issue with Monterey - Jamf Nation Community
I am seeing this behavior on macOS Monterey v12.1 with the learning Ally App. Invalid Status Code is the error message the pops...
Read more >Solved: SSL VPN: Windows Works, MacOS does not!
The correct user/pass generates no messages. It connects but then for reasons unknown gets disconnected. Fortigate Logs: [263:root:42]got SNI server name: vpn.
Read more >How do I fix the invalid certificate error on Mac? - MacPaw
Some certificates use custom settings. If these custom settings are set incorrectly, it can cause macOS to display an invalid certificate error.
Read more >The blue-loader-python from LedgerHQ - Coder Social Home
When running loadApp, it fails on installing to Ledger Nano S running firmware 1.55. ... loadApp fails on MacOS with: Invalid status 6700...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ended up having to load using the
--tlv
flag, didn’t catch it in the docs. Working fine though now, thanks!ok, closing