-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
28 lines (15 loc) · 1.04 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export BOLOS_ENV=/home/erik/projects/ledger/bolos-devenv
export BOLOS_SDK=/home/erik/projects/ledger/authorization/repos/nanos-secure-sdk
cp bin/app.elf ~/projects/ledger/speculos/apps/ecdsasig.elf
./speculos.py apps/ecdsasig.elf
./speculos.py -d apps/ecdsasig.elf & ./tools/debug.sh apps/ecdsasig.elf
LEDGER_PROXY_ADDRESS=127.0.0.1 LEDGER_PROXY_PORT=9999 python ./test_example.py
LEDGER_PROXY_ADDRESS=127.0.0.1 LEDGER_PROXY_PORT=9999 python ./test_ecdsasig.py
===
./test_example.py
ledgerblue.commException.CommException: Exception : Invalid status 6700 (Unknown reason)
-> ecdsasig app is not open
ledgerblue.commException.CommException: Exception : Invalid status 6d00 (Unexpected state of device: verify that the right application is opened?)
-> wrong app (in this case, Bitcoin) is open
ledgerblue.commException.CommException: Exception : Invalid status 6804 (Unknown reason)
-> ? I get this error with the device connected and the ecdsasig app open. For some reason the command works against the emulator but not against a physical device.