46 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
1a555d0996 Fix client 'settings_toggle' offset computation 2024-08-07 14:41:42 +02:00
Charles-Edouard de la Vergne
fbbd1f41a4 Add PKI class in client 2024-08-07 14:41:41 +02:00
Charles-Edouard de la Vergne
fee187d90e Improve client using ragger defined firmware instead of strings 2024-07-22 15:27:55 +02:00
Alexandre Paillier
9e78a40262 Fix pixel offsets for settings page for Stax in client 2024-07-16 16:48:34 +02:00
Alexandre Paillier
f1eab34f52 Ragger tests 2024-06-25 15:44:55 +02:00
Alexandre Paillier
9c426dc0c6 Ragger tests fix
Also lower the EIP-712 autonext delay but slow it down for golden runs
2024-06-20 13:31:14 +02:00
Alexandre Paillier
78cc02d22b Fix client compatibility with Python 3.9 2024-06-20 13:30:53 +02:00
Alexandre Paillier
4057aa3183 Client support 2024-06-20 10:40:00 +02:00
Alexandre Paillier
b111de39e1 Add date/time support in client 2024-05-24 17:36:38 +02:00
Alexandre Paillier
1a73a2ebfc Add amount-join support in client
Also adapted existing EIP-712 filters test files
2024-05-24 17:35:35 +02:00
Alexandre Paillier
c68b4186ed Simplify type conversions function in python client 2024-05-24 17:35:34 +02:00
Alexandre Paillier
19d71ffe77 Revert "Update client to reduce delay (no more slow speculos for Stax)"
This reverts commit 186186ab91.

+ new delay for stax/flex
2024-05-24 14:22:29 +02:00
Charles-Edouard de la Vergne
186186ab91 Update client to reduce delay (no more slow speculos for Stax) 2024-05-07 16:23:56 +02:00
Charles-Edouard de la Vergne
5fde5cd6cd Update client to add command for 'Perform Privacy Operation' 2024-05-07 16:23:55 +02:00
Charles-Edouard de la Vergne
647ffa3b25 Update client to adapt 'settings' 2024-05-07 16:23:55 +02:00
Alexandre Paillier
02efe1df14 Normalizes EIP-712 fixed-length bytes in Ragger client
Also some type-hinting and simplified the integer encoding
2024-05-02 18:37:35 +02:00
Charles-Edouard de la Vergne
140ecc75fb Adapt 'ledger_app_clients'
- Add 'send_raw' function
- Add error code 'EXCEPTION_OVERFLOW'
2024-04-10 19:03:43 +02:00
Francois Beutin
8d9e79ba0a Use sync or async exchange calls in ethereum client 2024-03-28 16:54:57 +01:00
Alexandre Paillier
b71e591da1 Normalize VRS for eth_account requirements in client 2024-03-12 17:40:59 +01:00
Alexandre Paillier
1783900cb1 Fix EIP-155 V reconstruction for ecrecover in client 2024-03-12 17:40:52 +01:00
Alexandre Paillier
d5e48aea80 Removed EIP-155 calculation on V for EIP-1559 ecrecover in client 2024-03-12 17:40:40 +01:00
Alexandre Paillier
63da10e20e Fix recover_transaction function in Ragger client for non-legacy transactions 2024-02-26 15:09:42 +01:00
Alexandre Paillier
faa2d3aabf Ragger tests 2024-02-14 12:10:16 +01:00
Alexandre Paillier
4ff2e4e1c7 Added provide_token_metadata to client 2024-02-14 12:10:15 +01:00
Lucas PASCAL
99ba4a9eed [ci][client] Eth Python client automatically infer its version from tags 2024-02-07 13:45:39 +01:00
Alexandre Paillier
67a472d270 Bumped python client version 2023-11-30 10:55:45 +01:00
Alexandre Paillier
c65db6f307 Removed old type hinting 2023-11-30 10:55:45 +01:00
Alexandre Paillier
edad008ed1 Fix signature generation for SET_EXTERNAL_PLUGIN in client 2023-11-30 10:55:44 +01:00
Alexandre Paillier
58ea0e5cab Added EIP-191 to the client 2023-11-30 10:55:44 +01:00
Alexandre Paillier
620167633b Modified EIP712 function to take dictionaries directly instead of filenames 2023-11-30 10:55:34 +01:00
Alexandre Paillier
ceb1cfaf4b New util functions in python client
- recover_message / recover_transaction
- get_selector_from_data
2023-11-29 18:25:39 +01:00
Alexandre Paillier
bd41a1460d Added the RLP weakness workaround in client 2023-11-27 11:17:14 +01:00
Alexandre Paillier
8bab762147 Now returns public address as bytes 2023-11-27 11:17:11 +01:00
Alexandre Paillier
eaf9cf8b16 New sign method that uses Web3.py
Removed old ones
2023-11-27 11:17:07 +01:00
Alexandre Paillier
62215e3e5f Now uses Web3.py to get function selectors 2023-11-27 11:17:03 +01:00
Francois Beutin
cc4becdaec Bump eth python client version 2023-10-30 13:07:49 +01:00
Francois Beutin
a82b61ff8e Fix mypy and flake8 2023-10-27 17:28:29 +02:00
tdejoigny-ledger
d7bf69b56c take into account PR remarks on Ethereum python client 2023-10-10 16:42:24 +02:00
tdejoigny-ledger
5d1d16c2de Update the ragger app client to support "set external plugin" APDU and take into account PR review remarks 2023-10-10 16:42:23 +02:00
Alexandre Paillier
171b31d3a3 Added SET_PLUGIN and PROVIDE_NFT_METADATA to Ragger client + a function signature to selector helper function 2023-09-07 16:11:49 +02:00
Alexandre Paillier
96ae8222ee Ragger app client now has proper generic sign methods 2023-09-07 16:08:05 +02:00
Alexandre Paillier
60b73eeab1 New NFT metadata test key 2023-09-07 16:08:03 +02:00
Alexandre Paillier
684e19b06f New SET_PLUGIN test key 2023-09-07 16:08:03 +02:00
Alexandre Paillier
0461928355 Updated Ragger client for get pub key 2023-09-07 14:35:56 +02:00
Lucas PASCAL
54b979186d [clean] Linter / typing fixes 2023-08-07 13:55:45 +02:00
Lucas PASCAL
e5c82d910e [add] Python client packaging first draft 2023-08-07 11:52:12 +02:00