Alexandre Paillier
3be9e1d197
Changed how EIP-712 array progression is counted
2024-05-02 18:37:30 +02:00
Alexandre Paillier
04464c2f11
Delay EIP-712 array traversal until size is received
2024-05-02 18:37:30 +02:00
Charles-Edouard de la Vergne
ddd5f3d0d9
Remove useless flag NO_CONSENT
2024-04-29 18:28:27 +02:00
Charles-Edouard de la Vergne
aa38ee9959
Code improvements / Fix warnings
...
- Fix CodeQL warnings
- Port lots of improvements/fixes from PR #225
- replace 'array_hexstr' and '%*H' format by sdk function 'format_hex'
- Add 'noreturn' attribute in 'main.c'
2024-04-26 11:09:18 +02:00
Charles-Edouard de la Vergne
85a0ebb088
Fix lib_standard_app include path
2024-04-15 13:55:47 +02:00
Charles-Edouard de la Vergne
f218fb8b92
Port current config on Standard App Makefile
2024-04-15 13:55:46 +02:00
Charles-Edouard de la Vergne
f5ea9c51c2
Fix various Linter issues and mispelling
2024-03-27 14:43:15 +01:00
Charles-Edouard de la Vergne
36ae183a1c
Fix deprecated warnings
2024-03-27 14:43:15 +01:00
Alexandre Paillier
72e26947c3
Fix blind-signing TX refusal
...
Would refuse the APDU but then start a empty signature flow on the device
Which would crash the device when accepted or rejected
2024-03-08 14:37:05 +01:00
apaillier-ledger
b2c39a17b7
Merge pull request #537 from LedgerHQ/feat/apa/remove_stark
...
Remove Starkware support
2024-02-14 14:01:47 +01:00
Alexandre Paillier
77f5c9389b
EIP-712 addresses can now be displayed as a token ticker or a trusted domain name
2024-02-14 12:10:03 +01:00
Alexandre Paillier
ea1709b0ea
Completely remove old Starkware internal "plugin"
2024-02-14 09:37:11 +01:00
Alexandre Paillier
c84794b257
get_displayable_ticker function now takes a given chain_config_t struct
2024-02-08 15:11:28 +01:00
Alexandre Paillier
bb23e7b7a5
Fix broken build for chains with extra tokens (testnets)
2024-02-06 10:52:46 +01:00
Alexandre Paillier
91352af57c
Improve error-handling of chain ID when parsing APDUs
2024-02-05 18:04:46 +01:00
Francois Beutin
e0c2ad7057
Move all public keys to dedicated header
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
e64a04da51
Remove unused big uint utilities from plugin sdk
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
294f88195b
Extract data for external plugins from internal plugin 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
ca8700f47c
Split tokens file
2024-02-02 11:23:26 +01:00
Alexandre Paillier
611587832f
Fix comparison for token ticker length being off by one
2023-12-18 17:26:53 +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
Francois Beutin
60d1d97667
Return to Exchange when failing to sign in swap mode
2023-12-01 19:50:07 +01:00
Alexandre Paillier
edad008ed1
Fix signature generation for SET_EXTERNAL_PLUGIN in client
2023-11-30 10:55:44 +01:00
Francois Beutin
84d0ce2b80
Misc modifications from previous review
2023-11-17 15:32:54 +01: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
49da32af8e
Added missing return value checks following recent changes
2023-10-10 16:42:24 +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
015842d4e5
Simplified adding new clones
...
Removed dead code from the app (was safeguarded by #ifdefs of macros
that weren't defined)
2023-10-04 18:06:52 +02:00
Francois Beutin
ad2786efe0
Add a PRINTF of amounts in ERR_SILENT_MODE_CHECK_FAILED
2023-10-04 14:51:40 +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
72c19e0222
Renamed NFT_TEST_KEY to NFT_STAGING_KEY
2023-09-07 16:08:02 +02:00
Alexandre Paillier
7efb861804
Removed chain ID restrictions from SET_PLUGIN and PROVIDE_NFT_INFORMATION apdus
2023-09-07 16:08:01 +02:00
Alexandre Paillier
b05b16143d
Now shows the network name in the Stax public address UI flow
2023-09-07 14:35:55 +02:00
Alexandre Paillier
a903e2db6e
Implemented the optional chain ID in the GET_ETH_PUBLIC_ADDRESS apdu
2023-09-07 14:35:47 +02:00
Jorge Martins
0bc9ea00ac
TLV: raise error when length = 0
2023-07-27 10:45:06 +02:00
Alexandre Paillier
17968338d8
Removed EIP712 verbose display of inner struct names
2023-07-18 17:00:35 +02:00
Alexandre Paillier
af8123ad45
Fix improper handling of empty arrays in EIP712 messages
2023-07-18 17:00:35 +02:00
Alexandre Paillier
6a04c14df0
Add back the call to ui_idle in case of EIP712 failure
...
Was removed during the Stax porting
2023-07-18 17:00:30 +02:00
Alexandre Paillier
61015e3840
NBGL message signing refactoring
2023-07-18 11:35:26 +02:00
Alexandre Paillier
c8360741a4
Activated ENS on other Ethereum-compatible chains
2023-07-06 14:45:31 +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
02cdc23751
Rename called_from_swap to G_called_from_swap
2023-06-30 14:05:46 +02:00
Benjyskan
25ace8ab6a
clean dataContext.tokenContext.data buffer between each plugin call to avoid unwanted data in last parameter when it isn't full length. ( #434 )
2023-05-31 18:33:12 +02:00