Jorge Martins
7e2cef182b
UX_INIT() works for bagl an nbgl
2023-07-27 10:45:04 +02:00
Alexandre Paillier
116a320df3
Removed ticker end space from hardcoded tokens
2023-07-06 15:41:24 +02:00
Alexandre Paillier
34ea137c1a
network.c functions cleanup
2023-07-06 14:45:29 +02:00
Francois Beutin
8082bd7f8b
Return in Exchange after a successful swap
2023-07-04 12:24:20 +02:00
Francois Beutin
6ec26db053
Add Spinner when starting in Swap mode on Stax
2023-06-30 14:06:09 +02:00
Francois Beutin
02cdc23751
Rename called_from_swap to G_called_from_swap
2023-06-30 14:05:46 +02:00
Alexandre Paillier
52e6c29aae
BLE handling for all BLE-enabled devices
2023-05-16 18:58:50 +02:00
Alexandre Paillier
5f7cc79f16
Limit caller_type struct handling for only Stax
2023-05-16 18:58:42 +02:00
Alexandre Paillier
4cce06ca2c
Fix compilation warnings
2023-05-16 11:42:31 +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
Clement Bouvet
0414a043c8
rework plugin start so name and icon can be passed to eth
2023-05-16 11:42:30 +02:00
Alexandre Paillier
b5c58b59cf
network: cleanup
2023-05-16 11:42:29 +02:00
Clement Bouvet
be029c642d
stax: add UI implementation
2023-05-16 11:42:29 +02:00
Clement Bouvet
b275067f47
common_ui: remove non implemented function
2023-05-16 11:42:29 +02:00
Francois Beutin
5c7614b2d9
Reset BSS section at the start of the app in swap mode for signature
2023-04-28 16:57:20 +02:00
Alexandre Paillier
504747aba2
Improve finalizeParsing() checking in swap context
...
Simplify code in logic_signTx.c
2023-04-24 11:27:13 +02:00
Alexandre Paillier
ceacee00a7
Provide domain name APDU implementation
2023-03-29 18:09:42 +02:00
Alexandre Paillier
f17104312b
Challenge implementation
2023-03-29 15:16:23 +02:00
tjulien-ledger
45c049fd04
Oasys ( #413 )
...
* correcting ticker
* modifying conf file
* updating main.c
* updating chainConfig.h
* Removed last bits of EWC
* correcting arbitrum
* adding oasys conf file
* adding oasys icons
* remaining changes for oasys
* removing trailing space
---------
Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr >
2023-03-10 18:41:35 +01:00
Alexandre Paillier
27392c20de
Better context checks when processing EIP-191 APDUs
2023-02-09 11:44:21 +01:00
tjulien-ledger
160fed7348
renaming EWC to EWT ( #397 )
...
* correcting ticker
* modifying conf file
* updating main.c
* updating chainConfig.h
* Removed last bits of EWC
---------
Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr >
2023-02-03 15:54:07 +01:00
Alexandre Paillier
098f328b99
Plugin interface version bump
2023-01-10 14:12:43 +01:00
Alexandre Paillier
74f880dce9
Removes useless space at the end of tickers
2023-01-10 14:12:39 +01:00
Alexandre Paillier
0d09d31dba
Small reordering to save 4 bytes on tokenContext_t struct padding
2022-12-01 15:09:53 +01:00
Alexandre Paillier
3e750e8419
Fix device crash caused by improper memory alignment of the plugin context buffer
2022-12-01 15:09:51 +01:00
Benjyskan
071c96ea13
change dataContext.tokenContext.fieldIndex to uint16_t to avoid plugin's 'context->parameterOffset' overflow on large tx ( #228 )
2022-11-23 14:25:49 +01:00
Alexandre Paillier
529a67b9dd
Fix uninitialized verbose EIP712 setting
2022-11-18 17:57:01 +01:00
tjulien-ledger
795140015d
adding id4good
2022-11-16 18:59:52 +01:00
Alexandre Paillier
309c09b599
Added new public CAL testing key in app
2022-11-16 17:03:30 +01:00
Jorge Martins
51db776de6
add const to parameters
2022-11-08 09:57:24 +01:00
Jorge Martins
b120fc6565
fix code style
2022-11-08 09:56:00 +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
Alexandre Paillier
c158c3e502
Better split between business logic & UI code for EIP-712
2022-10-24 10:18:51 +02:00
Alexandre Paillier
c803322f3c
Review fixes
2022-10-17 11:57:16 +02:00
Alexandre Paillier
2474bdb81a
Merge remote-tracking branch 'origin/develop' into HEAD
2022-10-17 11:44:28 +02:00
Jorge Martins
fa44edaeeb
Merge pull request #348 from LedgerHQ/plugin-error-handling
...
Abort signing process ETH_PLUGIN_QUERY_*
2022-10-07 17:11:04 +02:00
Jorge Martins
4c78d485a1
Abort signing process ETH_PLUGIN_QUERY_*
...
Before was not possible to abort the signing process even if the plugin
return an error code. According to the docs any return code besides
ETH_PLUGIN_RESULT_OK should abort the signing process.
2022-10-07 16:40:27 +02:00
Alexandre Paillier
f43d9c4dc7
Fix EIP-191 UI split
2022-10-06 15:11:30 +02:00
Lucas PASCAL
3ff15a16e3
[clean] Removing compound-related plugin code
2022-10-03 14:49:54 +02:00
Lucas PASCAL
3f294f9582
Minor fixes after review
2022-09-16 14:43:51 +02:00
Alexandre Paillier
50dd4f5965
Linting + updated to clang-format 12.0.1
2022-09-15 16:49:19 +02:00
Alexandre Paillier
eec44e994a
Removed duplicated function signature of ui_idle
2022-09-15 16:49:19 +02:00
Alexandre Paillier
493ce85c3b
New implementation
2022-09-15 13:25:08 +02:00
Alexandre Paillier
ab67ae1cb3
Merge remote-tracking branch 'origin/develop' into HEAD
2022-09-14 17:27:25 +02:00
Alexandre Paillier
a58d2ababb
Removed unused bagl type references in EIP-191 code
2022-09-14 11:08:10 +02:00
tjulien-ledger
a0d16023d5
Light integration ( #334 )
...
* adding XDC
* adding meter
* adding multivac
* adding id4good
* adding tecracoin
* minor typo
* adding apothem
* adding apothem 2
* apothem and tecratestnet on network.c
* fix nettwork.c
* 1st additions
* last additions
* adding fix from develop
* update apothem coin name
* removing id4good
* adding Cronos
2022-09-14 10:50:57 +02:00
Alexandre Paillier
ed479128fd
EIP712 Filtering count checking
2022-09-14 09:41:39 +02:00
Alexandre Paillier
93b0bb08f7
Better handling of missing EIP721 error codes + add a missing one for EIP712 filtering signature checking
2022-09-14 09:41:38 +02:00
Alexandre Paillier
3f02bf672c
Updated linter to clang-format 12.0.1
2022-09-14 09:41:38 +02:00
apaillier-ledger
95a0c8896b
Revert "[clean] Removing compound-related plugin code"
2022-09-12 14:42:57 +02:00