Commit Graph
222 Commits
Author SHA1 Message Date
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 MartinsandGitHub 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 PASCALandAlexandre Paillier 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-ledgerandGitHub 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-ledgerandGitHub 95a0c8896b Revert "[clean] Removing compound-related plugin code" 2022-09-12 14:42:57 +02:00
Alexandre Paillier 770bd9c39d Replaced the signature key used for EIP712 tests by the CAL testing one 2022-08-31 18:09:38 +02:00
Clement Bouvet 89eeaa7b7d eth: split ux from rest of source 2022-08-24 10:35:16 +02:00
Alexandre Paillier de9e895ad9 EIP-712 code linting 2022-08-05 18:15:59 +02:00
Alexandre Paillier 7dad477413 Moved EIP 712 commands handling into their own file & renamed some things 2022-08-05 18:15:50 +02:00
Alexandre Paillier 12b97d91db Added a global apdu response code variable 2022-08-05 18:15:48 +02:00
Alexandre Paillier 1b00038859 Fixed compilation warning 2022-08-05 18:15:46 +02:00
Alexandre Paillier 8dcb4bc74f New EIP-712 verbose in-app setting + small refactoring & naming unification 2022-08-05 18:15:42 +02:00
Alexandre Paillier a24f621ce3 EIP712 filtering, added new APDUs 2022-08-05 18:15:41 +02:00
Alexandre Paillier d5603857b3 Fix UI display of signed negative integers smaller than 256 bits 2022-08-05 18:15:38 +02:00
Alexandre Paillier bbcfe5abc3 Added a util function to convert from byte buffer to uint128_t 2022-08-05 18:15:38 +02:00
Alexandre Paillier f3e307423e EIP712 now displays integers differently if signed or unsigned 2022-08-05 18:15:38 +02:00
Alexandre Paillier 10fbb8d5bc Unify all the hex digits used in the app 2022-08-05 18:15:37 +02:00
Alexandre Paillier 59d8ace99e Split the uint256 lib into multiple more meaningful files 2022-08-05 18:15:36 +02:00
Alexandre Paillier 31aff6a95f Removed unused custom strchr function 2022-08-05 18:15:35 +02:00
Alexandre Paillier 2fa6379470 Now only compiles full EIP-712 support for capable devices 2022-08-05 17:52:47 +02:00
Alexandre Paillier c0eaf8d106 Proper cleanup after EIP712 message 2022-08-05 17:52:46 +02:00
Alexandre Paillier 9cd39e2c02 Now uses some of the old EIP712 code as common code between the two implementations + approve/reject button now works 2022-08-05 17:52:45 +02:00
Alexandre Paillier 9f29a7caa2 UI handling WIP 2022-08-05 17:52:44 +02:00
Alexandre Paillier 3095d54394 Now initializes the eip712 context 2022-08-05 17:52:42 +02:00
Alexandre Paillier 9f8b2da74c WIP integration in app 2022-08-05 17:52:41 +02:00
Alexandre Paillier b25eaa1b48 Renamed the existing EIP712 implementation folder 2022-08-05 17:52:22 +02:00
Alexandre Paillier 895c37e1fa Change apdu payload length to proper size (8 bits) 2022-08-05 17:52:20 +02:00
Jorge Martins 143d0e54f6 Fix function signature 2022-07-15 12:51:30 +02:00
Jorge Martins 53520d23c2 Fix code style 2022-07-15 12:42:09 +02:00
Jorge Martins 2811917658 Mark pointer to databuffer/workbuffer as const 2022-07-15 12:33:19 +02:00
Jorge Martins 9ea16d9098 Mark dataBuffer pointer as const 2022-07-15 11:38:07 +02:00
Jorge Martins e0218520d8 Fix multiple vulnerabilities 2022-07-08 11:12:50 +02:00
Lucas PASCAL 653b64d6f7 [clean] Removing compound-related plugin code 2022-06-21 15:38:51 +02:00
Alexandre Paillier b483804ff4 adding astar&shiden 2022-06-15 13:35:46 +02:00
Alexandre Paillier 785cfdc2ea cube 2022-06-15 13:35:44 +02:00
Alexandre Paillier d1eb4ccc92 okc 2022-06-15 12:07:14 +02:00
Alexandre Paillier 8bc541b994 Increased display value buffer size for LNX & LNS+ 2022-06-08 11:45:20 +02:00