Commit Graph

1667 Commits

Author SHA1 Message Date
François Beutin
8adb2da008 Merge pull request #513 from LedgerHQ/fbe/further_reduce_stack
Further reduce stack usage
2023-12-11 15:28:02 +01:00
Francois Beutin
c353982405 During signature, move parsing and swap fields checking away from main flow 2023-12-08 17:26:56 +01:00
Francois Beutin
b3d96d1b86 Use standard app crypto helper to simplify io_seproxyhal_touch_tx_ok 2023-12-08 17:11:22 +01:00
Victor Forgeoux
794d266f23 Add Stax icons for EVM chains (#512)
* add 64 px stax icons for evm chains in network.c

* fix chain_id 9001 filename
2023-12-08 16:43:18 +01:00
apaillier-ledger
427f25006f Merge pull request #511 from LedgerHQ/sdk/update-submodule
Update the SDK submodule
2023-12-07 17:00:51 +01:00
apaillier-ledger
98e1041020 [create-pull-request] automated change 2023-12-07 16:59:07 +01:00
apaillier-ledger
97f17b28cf Merge pull request #510 from LedgerHQ/fix/apa/standard_plugin_variant
Fix standard plugin variant + null-check on parameters
2023-12-07 16:52:40 +01:00
Alexandre Paillier
cce38525a0 Updated plugin SDK changelog 2023-12-07 16:41:17 +01:00
Alexandre Paillier
0cf5a25896 Added a null-check in the plugin SDK's dispatch_call 2023-12-07 16:35:55 +01:00
Alexandre Paillier
bb2c8412ac Fix standard plugin makefile improperly setting variant value 2023-12-07 16:15:24 +01:00
Sarah Gliner
0c263ca2b5 Merge pull request #509 from LedgerHQ/fix-app-tester
client: add symlink to install dependencies from ragger folder
2023-12-07 15:38:02 +01:00
Sarah GLINER
eb00fca1f4 client: add symlink to install dependencies from ragger folder 2023-12-07 15:11:13 +01:00
apaillier-ledger
277b505fd8 Merge pull request #508 from LedgerHQ/sdk/update-submodule
Update the SDK submodule
2023-12-06 15:40:48 +01:00
apaillier-ledger
266dae0c71 [create-pull-request] automated change 2023-12-06 15:38:09 +01:00
apaillier-ledger
70cc0a87ff Merge pull request #507 from LedgerHQ/fix/apa/standard_plugin_mk_with_ledger_assert
Fix standard plugin build with ledger_assert
2023-12-06 15:29:58 +01:00
Alexandre Paillier
6c1567ae92 Updated plugin SDK changelog 2023-12-06 15:20:33 +01:00
Alexandre Paillier
0f2d026b40 Renamed plugin SDK utils to plugin_utils to prevent filename conflicts in plugins 2023-12-06 14:41:56 +01:00
Alexandre Paillier
180f321eb4 Fixed plugin SDK compatibility with ledger_assert 2023-12-06 09:35:36 +01:00
François Beutin
ac7b6e1dde Merge pull request #501 from LedgerHQ/fbe/decrease_ram_usage_in_lib_mode
Decrease ram usage in lib mode
2023-12-04 18:07:36 +01:00
Francois Beutin
1723386985 Split clone main and ethereum main, add comments and remove unnecessary lines 2023-12-04 14:41:46 +01:00
Francois Beutin
f64addc0d2 Remove THROW from lib mode handlers and remove associated TRY CATCH context 2023-12-04 14:40:52 +01:00
Francois Beutin
8e3fd4233a Add STACK_CANARY for Ethereum and clones not using standard path 2023-12-04 11:25:35 +01:00
François Beutin
f1859ac5de Merge pull request #506 from LedgerHQ/fbe/align_swap_behavior
Return to Exchange when failing to sign in swap mode
2023-12-04 11:24:59 +01:00
Francois Beutin
60d1d97667 Return to Exchange when failing to sign in swap mode 2023-12-01 19:50:07 +01:00
François Beutin
93712e2928 Merge pull request #505 from LedgerHQ/fbe/fix_api_level_14_fix
Hotfix fix for API_LEVEL_14 fix
2023-12-01 18:52:27 +01:00
Francois Beutin
cc0f963b51 Hotfix fix for API_LEVEL_14 fix 2023-12-01 18:44:16 +01:00
apaillier-ledger
fe25c8d41c Merge pull request #504 from LedgerHQ/fix/apa/python_client_changelog
Python client changelog
2023-12-01 17:32:51 +01:00
Alexandre Paillier
774efda4e4 Fixed date format in client changelog 2023-12-01 17:29:35 +01:00
Alexandre Paillier
5a488f1d0a Updated the client changelog 2023-12-01 17:29:33 +01:00
François Beutin
6696fdab34 Merge pull request #503 from LedgerHQ/fbe/fix_stax_build
Fix stax build for API_LEVEL < 14
2023-12-01 17:05:00 +01:00
Francois Beutin
ec7e385d78 Fix stax build for API_LEVEL < 14 2023-12-01 16:49:58 +01:00
François Beutin
1a3f58d1be Merge pull request #502 from LedgerHQ/add/manifest
`ledger_app.toml` manifest
2023-12-01 16:49:38 +01:00
Lucas PASCAL
9ba04468a0 [add] ledger_app.toml manifest 2023-12-01 16:15:48 +01:00
apaillier-ledger
4bf26a7c6c Merge pull request #498 from LedgerHQ/feat/apa/python_client_improvements
Python client & tests improvements
2023-12-01 16:12:08 +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
711b083f69 flake8 fixes 2023-11-29 18:25:42 +01:00
Alexandre Paillier
f30546f8f5 Updated ENS tests to use the new sign function 2023-11-29 18:25:42 +01:00
Alexandre Paillier
b90d660a69 Improved NFT tests
Now uses the ERC 721/1155 ABIs, gets selector automatically, and actually verifies the signature
2023-11-29 18:25:42 +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
Alexandre Paillier
de82990e14 Added the Web3.py library as a dependency to the python client 2023-11-27 11:16:54 +01:00
abonnaudet-ledger
d8da84da65 Stax: Adapt for API LEVEL 14 (#499) 2023-11-21 16:59:31 +01:00
apaillier-ledger
6212f2eeaa Merge pull request #479 from LedgerHQ/fbe/apply_remarks_from_review
Fbe/apply remarks from review
2023-11-17 17:57:18 +01:00