-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After latest Trezor firmware update, not possible to sign TX. #34
Comments
@ep0x you probably upgraded the trezor firmware right? Trezor.net needs to upgrade. You can help by regenerating the protobuf code. You can get that from Satoshi labs. Otherwise I will do it eventually |
@MelbourneDeveloper Correct, all our devices has been updated and we encounter problems with signing TX. |
@ep0x yes. Time to learn! Here is an old article about it. It's out of date but it's a starting point. Otherwise you can wait for me. |
@ep0x the other option is that you can pay me to fix it. |
@MelbourneDeveloper I didn't ask for payment from your side in this case MelbourneDeveloper/KeepKey.Net#6 |
@ep0x you donated? Sorry, can you point me to the transaction please? If you sent $400 that's a big donation. |
@ep0x please DM me through my website or Twitter and we can negotiate |
@MelbourneDeveloper I sent an email to you from prev conversation :) u have tx in email ;) but sure for your work i will donate again. |
@MelbourneDeveloper my mistake, around 60$ was donation. Sorry whole transaction was around 500$ |
Edited by Christian
@ep0x is correct. The latest version of the firmware is incompatible with the current version of Trezor.Net
I've tried a few times to get it working. You can see my very poor attempt here:
Trezor.Net/src/Trezor.Net.UWPUnitTest/UnitTestBase.cs
Line 223 in 5a3df32
Which comes from a python example here:
https://github.com/trezor/python-trezor/blob/2813522b05cef4e0e545a101f8b3559a3183b45b/trezorlib/btc.py#L161
If you want to have a go at this, I recommend joining the Trezor dev community on gitter.
This is some documentation about signing transactions:
https://wiki.trezor.io/Developers_guide:Message_Workflows#SignTx
We have problem to sign tx for both models.
Far as i inspected issue, i found :
While sending TxRequest to Trezor One, new requirement is needed such as TxRequest.RequestType.Txmeta ( TXMETA).
Also while doing debugging in our service we noticed when we send TxRequest to device, before device ask us for TXMETA data, now in request.Details.TxHash is not empty like before. There is new things happening now that we need to change.
Now we need to verify prevHas or something. I did a bit inspection in https://github.com/trezor/trezor-firmware/blob/82c0c403677a14bde56c1a6b440a46593a57267d/python/src/trezorlib/btc.py and i found out there is changes in code for txmeta and tx.bin.output added python: Add get_ownership_id() and get_ownership_proof() to trezorlib.
In TrezorLib, inputs value(amount) is not mandatory now if i understand python correctly...
About TX_META
And here is trick with request for TXOUTPUT. Now he is checking if there is request.Details.TxHash and if is has is presented then bin_outputs must be set...
In Trezor Model T there is error in firmware message when you try to sign TX.
I am willing to help but idk from where to start...
I noticed there is a lot problems with new firmware for many wallets and services like Wasabi and BtcPayServer, but idk did he fixed issue, he used HWI for his Wasabi project.
I am willing to help if i can in anyway.
It would be awesome if we can join all together and maintain one Lib for Trezor instead 5 different libs at once and having the same issue...
I'd be glad if we could join this project, our respected colleagues like @NicolasDorier and @lontivero @bitcoinbrisbane
Any help are welcome!
Thank you in advance.
The text was updated successfully, but these errors were encountered: