Commit Graph

  • 35c77ff29c Increased EIP712 max array depth to 8 Alexandre Paillier 2022-09-01 10:19:03 +02:00
  • edac57df06 Increased memory allocator pool to 8K Alexandre Paillier 2022-09-01 10:18:41 +02:00
  • 5ce56bd53e Renamed EIP712 context files to less generic ones Alexandre Paillier 2022-08-25 10:54:34 +02:00
  • 1b46ccb190 Extract EIP-712 UI code Alexandre Paillier 2022-08-25 10:26:48 +02:00
  • ab67ae1cb3 Merge remote-tracking branch 'origin/develop' into HEAD Alexandre Paillier 2022-09-14 17:27:25 +02:00
  • a58d2ababb Removed unused bagl type references in EIP-191 code Alexandre Paillier 2022-08-30 10:16:39 +02:00
  • a0d16023d5 Light integration (#334) tjulien-ledger 2022-09-14 10:50:57 +02:00
  • a27826dcf6 Fix EIP712 type_hash function description Alexandre Paillier 2022-08-24 14:42:27 +02:00
  • ed479128fd EIP712 Filtering count checking Alexandre Paillier 2022-08-19 18:31:00 +02:00
  • 93b0bb08f7 Better handling of missing EIP721 error codes + add a missing one for EIP712 filtering signature checking Alexandre Paillier 2022-08-23 12:01:32 +02:00
  • 3f02bf672c Updated linter to clang-format 12.0.1 Alexandre Paillier 2022-08-19 12:13:24 +02:00
  • 9e4df4b655 Updated EIP712 filtering signature specs to start with a magic number Alexandre Paillier 2022-08-17 10:45:43 +02:00
  • 3ee1fa419a Now supports EIP-712 filtering with missing chain id & contract address Alexandre Paillier 2022-08-16 18:44:28 +02:00
  • 089de9e28f EIP712 tests - Renamed -test.json files into -data.json Alexandre Paillier 2022-08-16 16:19:06 +02:00
  • fd93495096 CI - Add ragger tests Alexandre Paillier 2022-08-11 13:54:03 +02:00
  • 78172cdd61 CI - Changed build workflow to compile release applications instead; remove the artifacts upload since they were not used Alexandre Paillier 2022-09-13 18:20:19 +02:00
  • 829a694b78 Merge pull request #340 from LedgerHQ/revert-319-purge/compound_plugin apaillier-ledger 2022-09-12 15:12:23 +02:00
  • 95a0c8896b Revert "[clean] Removing compound-related plugin code" apaillier-ledger 2022-09-12 14:42:57 +02:00
  • 3e89610499 Ragger tests now take CLI arguments for device model and elfs location Alexandre Paillier 2022-08-11 15:50:05 +02:00
  • 770bd9c39d Replaced the signature key used for EIP712 tests by the CAL testing one Alexandre Paillier 2022-08-10 18:31:23 +02:00
  • 384c16c3d0 Merge pull request #338 from LedgerHQ/eth-ux-split apaillier-ledger 2022-08-24 17:32:47 +02:00
  • 89eeaa7b7d eth: split ux from rest of source Clement Bouvet 2022-08-24 09:25:01 +02:00
  • ed7b6541c0 EIP712 - Extra fixes from security review Alexandre Paillier 2022-08-10 15:52:45 +02:00
  • 98889e2642 Moved EIP712 filtering argument switch from P1 to P2, more in line with other EIP712 APDUs Alexandre Paillier 2022-08-10 11:47:05 +02:00
  • f278221537 Add two new EIP712 filters Alexandre Paillier 2022-08-09 17:49:47 +02:00
  • 3c321a04ea Split ragger ethereum client into multiple smaller files Alexandre Paillier 2022-08-09 17:49:05 +02:00
  • c6ae3480a7 Updated ragger requirements file Alexandre Paillier 2022-08-08 16:36:02 +02:00
  • af277c9c40 Removed dead code in EIP712 JSON handling python test code Alexandre Paillier 2022-08-05 17:14:50 +02:00
  • e8f58bdce7 Ragger tests now have EIP721 filtering Alexandre Paillier 2022-08-04 18:25:02 +02:00
  • 0d38bea388 Ragger tests - Refactored the handling of the app settings Alexandre Paillier 2022-08-04 17:00:55 +02:00
  • 5e9b426b3e EIP-712 tests now have reference response signatures they can check against Alexandre Paillier 2022-08-03 11:56:26 +02:00
  • ca04b5e213 Now properly handles UI clicks in EIP712 automated tests Alexandre Paillier 2022-08-02 16:31:11 +02:00
  • 341b7c2adf Modified all the nominal eip712 test input files Alexandre Paillier 2022-08-02 16:30:10 +02:00
  • 243f33bbb7 Fix initial state of buffer in BIP32 formatting function Alexandre Paillier 2022-08-01 11:22:51 +02:00
  • 311c266084 Fixes problem with field values too long for one APDU Alexandre Paillier 2022-07-28 17:29:10 +02:00
  • fe13260140 EIP712 feeder script ragger support Alexandre Paillier 2022-07-27 18:12:23 +02:00
  • ef7f2e128a Ragger tests now target all devices Alexandre Paillier 2022-07-26 16:56:13 +02:00
  • aef491fdee Added a ragger ethereum client with EIP712 support Alexandre Paillier 2022-07-26 11:23:06 +02:00
  • 6758453dfa Merge remote-tracking branch 'origin/develop' into apr/feature/eip712 Alexandre Paillier 2022-08-09 14:05:14 +02:00
  • 7c831dd067 Merge pull request #336 from jmartins-ledger/bug-fix Jorge Martins 2022-08-09 12:35:50 +02:00
  • d384007912 Fix feesToString buffer overflow Jorge Martins 2022-08-09 11:09:51 +02:00
  • 3e3dade0b4 Security review code linting Alexandre Paillier 2022-08-08 13:55:45 +02:00
  • b2ec3eff0a Security review (#331) Jorge Martins 2022-08-08 13:53:41 +02:00
  • ff68de5bb7 Fix compound tests Alexandre Paillier 2022-08-05 18:39:56 +02:00
  • de9e895ad9 EIP-712 code linting Alexandre Paillier 2022-07-19 11:49:18 +02:00
  • 0cf21cdf73 Better EIP-712 array error-handling on APDU parsing Alexandre Paillier 2022-07-18 16:18:19 +02:00
  • 5e5b3c3621 EIP712 STRUCT FIELD IMPL now checks the APDU payload bounds Alexandre Paillier 2022-07-18 11:31:46 +02:00
  • 38f199e46b Now only writes to EIP-712 UI buffers data that should be show Alexandre Paillier 2022-07-13 18:47:36 +02:00
  • b4fe42cd78 EIP712 STRUCT FIELD DEF now checks the APDU payload bounds Alexandre Paillier 2022-07-13 18:33:29 +02:00
  • 0cc75edf69 EIP712 code Doxygen comments pass Alexandre Paillier 2022-07-11 17:12:58 +02:00
  • 0cfb16759c Add missing APDU return code Alexandre Paillier 2022-07-12 10:24:46 +02:00
  • fcc375a9aa Small refactoring to EIP712 typed data functions Alexandre Paillier 2022-07-11 14:59:54 +02:00
  • 1eaba306e1 Add missing information to EIP712 send struct def APDU in doc Alexandre Paillier 2022-07-11 11:54:37 +02:00
  • cfb45a795b Better EIP712 field implementation error handling, including hidden ones Alexandre Paillier 2022-07-11 09:38:20 +02:00
  • 58d1b40c79 UI 712 logic refactoring Alexandre Paillier 2022-07-08 18:06:18 +02:00
  • bce0a3114d WIP path refactoring Alexandre Paillier 2022-07-08 15:59:23 +02:00
  • 832bbbf24c Cleaned up the EIP712 field hash code Alexandre Paillier 2022-07-07 17:52:01 +02:00
  • 04d78eaaa9 Refactored/Split up EIP712 set struct field function Alexandre Paillier 2022-07-07 11:20:42 +02:00
  • 3ed8b3b0ef Removed mentions about un-needed multi-APDU EIP712 SEND STRUCT DEFINITION Alexandre Paillier 2022-07-07 10:20:46 +02:00
  • b35fc03a64 Small simplification/refactoring of EIP712 solidity typenames matching Alexandre Paillier 2022-07-06 18:04:29 +02:00
  • f0764545ae Small simplification/refactoring of EIP712 typed data Alexandre Paillier 2022-07-06 17:51:57 +02:00
  • aeb8072cf0 Removed solidity typenames from EIP712 context structure Alexandre Paillier 2022-07-06 15:09:31 +02:00
  • d1d1aa73e6 Made all EIP712 code use the same function for response APDUs Alexandre Paillier 2022-07-06 10:03:42 +02:00
  • 47c1f73736 Removed unused EIP712 get_struct function Alexandre Paillier 2022-07-05 18:31:14 +02:00
  • a375e5b07d Moved the memory allocator and its util functions out of the EIP712 subdirectory and gave it its own compilation flag Alexandre Paillier 2022-07-05 17:49:45 +02:00
  • 7dad477413 Moved EIP 712 commands handling into their own file & renamed some things Alexandre Paillier 2022-07-05 17:18:22 +02:00
  • 399b865e5c Moved EIP712 filtering related code into its own file Alexandre Paillier 2022-07-05 14:38:04 +02:00
  • cd77ca5152 Small refactoring on EIP712 set_struct_name function Alexandre Paillier 2022-07-05 11:53:22 +02:00
  • b782a69137 Moved all typed data in RAM related code into its own file Alexandre Paillier 2022-07-05 11:41:46 +02:00
  • 0100eed1fd EIP712 code now uses the global apdu response code; error handling improvements Alexandre Paillier 2022-07-19 11:04:16 +02:00
  • 12b97d91db Added a global apdu response code variable Alexandre Paillier 2022-07-04 15:05:07 +02:00
  • 01179730a1 Updated the EIP-712 filtering signature specs; Update the verification implementation to now handle field path intead of only the field key name Alexandre Paillier 2022-07-01 18:23:35 +02:00
  • 4574c223f2 Clean up mem allocation alignment macro usage + small refactoring of the typehash dependencies search Alexandre Paillier 2022-06-30 18:43:01 +02:00
  • 339d24445e Merge the duplicated EIP-712 filtering function Alexandre Paillier 2022-06-29 18:39:47 +02:00
  • ee660317aa EIP712 signatures now computed on schema hash Alexandre Paillier 2022-06-29 15:08:43 +02:00
  • 188a75ffff App now computes EIP-712 schema identifier Alexandre Paillier 2022-06-29 14:51:37 +02:00
  • 5450f0c46f Refactored some type EIP712 formatting and hashing code to re-use it Alexandre Paillier 2022-06-29 14:08:08 +02:00
  • 1b00038859 Fixed compilation warning Alexandre Paillier 2022-06-28 16:49:29 +02:00
  • 47e47dd818 EIP712 signatures now computed on chain ID Alexandre Paillier 2022-06-27 18:51:57 +02:00
  • 559e729188 Better UI for verbose EIP-712, now shows the review struct screen even on inner structures Alexandre Paillier 2022-06-24 18:12:55 +02:00
  • 032d74e301 Now checks the EIP712Domain chain ID Alexandre Paillier 2022-06-27 17:01:07 +02:00
  • 1a4149e836 EIP-712 hidden fields now share the shown fields logic Alexandre Paillier 2022-06-27 09:53:28 +02:00
  • d8321d422d Renamed EIP-712 UI function Alexandre Paillier 2022-06-24 18:12:07 +02:00
  • 9884fadefc Updated EIP-712 filtering APDU doc to include the chain ID in the sig Alexandre Paillier 2022-06-24 18:18:09 +02:00
  • ca37612f61 Fix io_exchange exception Alexandre Paillier 2022-06-24 11:25:13 +02:00
  • 447e7b9277 Verbose EIP-712 setting now ignores filtering APDUs Alexandre Paillier 2022-06-23 14:39:06 +02:00
  • 8dcb4bc74f New EIP-712 verbose in-app setting + small refactoring & naming unification Alexandre Paillier 2022-06-21 11:44:15 +02:00
  • b1f2e933c0 Added an EIP712 test key Alexandre Paillier 2022-06-23 10:03:16 +02:00
  • b7a4c0d93b EIP-712 filtering UI adjustments; Removed half-blind special compilation flag Alexandre Paillier 2022-06-20 15:15:58 +02:00
  • a24f621ce3 EIP712 filtering, added new APDUs Alexandre Paillier 2022-06-13 12:50:55 +02:00
  • 56e0875979 Made the hacky 712 generic step redraw a function Alexandre Paillier 2022-06-16 17:52:08 +02:00
  • 07aca18ab1 New EIP-712 UX set title/value functions Alexandre Paillier 2022-06-14 10:06:52 +02:00
  • 9bc3f5255e Add documentation on EIP712 filtering APDU Alexandre Paillier 2022-05-31 18:10:37 +02:00
  • 7e63bd8435 Now copies the EIP712 contract address into memory so it can be used later Alexandre Paillier 2022-06-09 15:21:27 +02:00
  • f480d5091e Now uses an eip712 context struct instead of having multiple global variables => reduced bss footprint Alexandre Paillier 2022-06-09 12:00:42 +02:00
  • 8ea34f9f00 Fix hashing of signed negative integers smaller than 256 bits Alexandre Paillier 2022-06-08 18:31:16 +02:00
  • d5603857b3 Fix UI display of signed negative integers smaller than 256 bits Alexandre Paillier 2022-06-08 18:30:25 +02:00
  • bbcfe5abc3 Added a util function to convert from byte buffer to uint128_t Alexandre Paillier 2022-06-08 11:38:08 +02:00
  • f3e307423e EIP712 now displays integers differently if signed or unsigned Alexandre Paillier 2022-06-07 15:07:54 +02:00
  • 10fbb8d5bc Unify all the hex digits used in the app Alexandre Paillier 2022-06-07 14:44:01 +02:00