Commit Graph

27 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
bfff5f1083 Adapt tree to take into account Flex 2024-05-07 10:15:09 +02:00
Charles-Edouard de la Vergne
1ddd0e9671 Cleanup src_plugin_sdk directory
- No need to copy local files
- No need to keep local copy of 'etherum-plugin-sdk' files
- Select needed files directly from the Makefile
2024-04-15 13:55:48 +02:00
Alexandre Paillier
9b1b9f78bf Optimize Stax icons table code generation
Now detects symlinks between glyphs to prevent duplicates
2024-02-14 16:39:57 +01:00
Francois Beutin
b3b9046a63 Update plugin sdk build script to only copy files instead of cherry-picking functions 2024-02-02 11:23:32 +01:00
Francois Beutin
5bf5023e35 Merge nft and tokens into a single asset header 2024-02-02 11:23:31 +01:00
Francois Beutin
3bcf12ce1d Rename utils to common_utils 2024-02-02 11:23:30 +01:00
Francois Beutin
39b02b82e5 Move functions and API needed by the plugins to the src_common directory 2024-02-02 11:23:30 +01:00
Francois Beutin
294f88195b Extract data for external plugins from internal plugin file 2024-02-02 11:23:29 +01:00
Francois Beutin
ca9d5c9c77 Remove data needed by plugins from shared_context file 2024-02-02 11:23:29 +01:00
Francois Beutin
3d9da0dd16 Move basic utility functions from ethUtils to main utils file 2024-02-02 11:23:28 +01:00
Francois Beutin
04d0fde47a Move network features out of ethUtils 2024-02-02 11:23:27 +01:00
Francois Beutin
4d04d5113d Extract data needed by plugin from ethUstream.h 2024-02-02 11:23:26 +01:00
Francois Beutin
6430c8f463 Read RUN_APPLICATION from sdk 2024-02-02 11:23:25 +01:00
Francois Beutin
6fe2d92d3b Remove unused files from plugin-sdk generation 2024-02-02 11:23:25 +01:00
Francois Beutin
5e48f0cf5d Decommision src_common prior to reintroducing it for files common between eth and plugins 2024-02-02 11:23:24 +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
dd1bb56ac7 Added a standard plugin Makefile 2023-11-07 14:58:51 +01:00
Alexandre Paillier
bdec1cdc8c Added missing plugin SDK changes 2023-10-19 11:47:50 +02:00
apaillier-ledger
5d913f3a15 Merge pull request #449 from LedgerHQ/tdj/eth_plugin_sdk_update
Update plugins SDK framework
2023-10-19 11:26:32 +02:00
Alexandre Paillier
31f0d7f034 App now has all the network icons and can use them when needed 2023-10-18 16:45:58 +02:00
Alexandre Paillier
6126bb6513 Added a find_selector function to the plugin SDK 2023-10-10 16:42:25 +02:00
Alexandre Paillier
3e09ee0cff Moved more of the plugins main.c code to the SDK + updated SDK script
Also fixed flake8 warnings
2023-10-10 16:42:25 +02:00
tdejoigny-ledger
eeb52344df ETH plugin SDK : Move some parts from plugin boilerplate to Eth plugin SDK to ease the plugins development, remove throw and fix the CI issues 2023-10-10 16:42:19 +02:00
Alexandre Paillier
8361e349b7 Now has a separate struct for caller app name & icon
- New home screen wording
- Removed duplicate RUN_APPLICATION macro
2023-05-16 11:42:30 +02:00
Alexandre Paillier
60fc9c1417 Add missing function return type to SDK generation script for consistency 2022-11-15 18:11:03 +01:00
Jorge Martins
ead85a0aaa Add funcs to avoid tricking user when using plugin
Usually the length of an array is sent in a parameter.
Most of the times the developer simply uses U2BE/U4BE to get this length. It
is possible to forge a tx with a `length > sizeof(uint16_t/uint32_t)` and trick the
user into signing something different from what is shown.

For instance consider the following parameter:
00 ... 01 00 00 00 01

if the developer uses U2BE/U4BE, it is possible that this length is shown to the user
and if it is, the user will see the length as 1.
2022-11-08 09:44:37 +01:00
Lucas PASCAL
0864a4f282 [add] Job to generate a new SDK and creating a commit in SDK repository 2022-02-17 08:57:37 +01:00