Commit Graph

12 Commits

Author SHA1 Message Date
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