Zondax / ledger-tezos

Apache License 2.0
8 stars 5 forks source link

Unable to `--test-sign` with `tezos-client` #174

Open ghost opened 2 years ago

ghost commented 2 years ago

A certain subcommand of tezos-client triggers a test transaction that with our app is simply rejected while the legacy app shows an "unrecognized operation" prompt.

Questions:

Command output ``` ./tezos-client -E https://granadanet.api.tez.ie show ledger ledger_karrq_dev_bip25519 --test-sign Warning: This is NOT the Tezos Mainnet. Do NOT use your fundraiser keys on this network. Nov 6 04:37:02.189 - client.signer.socket: Found 1 Ledger(s) "(2c97, 1011)" Nov 6 04:37:02.189 - client.signer.socket: Processing Ledger at path [3-3.4:1.0] -> REQ 80 09 00 00 00 <- RAW PKT 01 01 05 00 00 00 0b 31 62 36 32 37 33 33 31 00 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <- RESP [Ok] 31 62 36 32 37 33 33 31 00 Nov 6 04:37:02.204 - client.signer.socket: Found a "Tezos Wallet 3.0.3" application at [3-3.4:1.0] (git-description: Nov 6 04:37:02.204 - client.signer.socket: "1b627331\000") -> REQ 80 02 00 00 09 02 80 00 00 2c 80 00 06 c1 <- RAW PKT 01 01 05 00 00 00 24 21 02 88 48 68 b5 0b cc 7f 5b f6 2d 93 3c 74 8b 5e e4 18 8b e0 c3 0a 44 a3 f9 97 6e 95 2a b9 42 3a c2 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <- RESP [Ok] 21 02 88 48 68 b5 0b cc 7f 5b f6 2d 93 3c 74 8b 5e e4 18 8b e0 c3 0a 44 a3 f9 97 6e 95 2a b9 42 3a c2 Found ledger corresponding to ledger://ironclad-labradoodle-shabby-zebu/bip25519/0h/0h: * Manufacturer: Ledger * Product: Nano S * Application: Tezos Wallet 3.0.3 (git-description: "1b627331") * Curve: `bip25519` * Path: `44h/1729h/0h/0h` [0x8000002C; 0x800006C1; 0x80000000; 0x80000000] -> REQ 80 02 00 03 11 04 80 00 00 2c 80 00 06 c1 80 00 00 00 80 00 00 00 <- RAW PKT 01 01 05 00 00 00 24 21 02 c3 95 82 36 b6 01 6f 9d 41 f8 65 4e 8a 89 5b f8 6e ce aa 8c 83 28 4e 05 9c 2d 41 40 41 91 58 7b 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <- RESP [Ok] 21 02 c3 95 82 36 b6 01 6f 9d 41 f8 65 4e 8a 89 5b f8 6e ce aa 8c 83 28 4e 05 9c 2d 41 40 41 91 58 7b * Public Key: edpkv8MsJeLCxqoKRXWFiaWnWsGfYN2MfF8Vo4UQgCPkPE29EoS4G5 * Public Key Hash: tz1duXjMpT43K7F1nQajzH5oJLTytLUNxoTZ Attempting a signature (of `00c860be673ae47ec549f9b5a01a8ccb657be75b6a`), please validate on the ledger. -> REQ 80 0f 00 03 11 04 80 00 00 2c 80 00 06 c1 80 00 00 00 80 00 00 00 <- RAW PKT 01 01 05 00 00 00 02 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <- RESP [Ok] -> REQ 80 0f 81 00 16 03 00 c8 60 be 67 3a e4 7e c5 49 f9 b5 a0 1a 8c cb 65 7b e7 5b 6a <- RAW PKT 01 01 05 00 00 00 02 69 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <- RESP [Unknown status code 0x6984] Error: Ledger Application level error (sign-with-hash): Unknown status code 0x6984 ``` :link: [zboto Link](https://app.clickup.com/t/8692qbg98)