17 Commits

Author SHA1 Message Date
Alexandre Paillier
c50943e4ca Port EIP712 to the new NBGL streaming use case
Fixes the Flex navigation issue
2024-05-24 15:17:06 +02:00
Alexandre Paillier
ec2e17b8b4 EIP-712 v0 small cleanup 2024-05-24 13:58:05 +02:00
Alexandre Paillier
7ad2e89d23 Fix NBGL EIP-712 v0
Was using the streaming review use case when it did not have to
2024-05-23 15:12:18 +02:00
Charles-Edouard de la Vergne
c0d19fdf6d Update ethereum plugin-sdk 2024-05-13 14:33:10 +02:00
Charles-Edouard de la Vergne
9e4b43e513 Replace nbgl_layoutTagValueXX by nbgl_contentTagValueXX 2024-05-07 16:24:02 +02:00
Charles-Edouard de la Vergne
0421deb5c7 Port typed message review steps to 'nbgl_useCaseStreamingReview' in ui_sign_712_v0.c 2024-05-07 16:24:01 +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
Francois Beutin
3d9da0dd16 Move basic utility functions from ethUtils to main utils file 2024-02-02 11:23:28 +01:00
Jorge Martins
2c2d933043 No need to set nbMaxLinesForValue to 0, use NB_MAX_LINES_IN_REVIEW 2023-07-27 10:45:04 +02:00
Alexandre Paillier
f3075b7124 Moved message signing rejection cancellation from nbgl_useCaseChoice to nbgl_useCaseConfirm 2023-07-18 11:39:57 +02:00
Alexandre Paillier
779fc4b61d Now uses macros for NBGL contstant texts 2023-07-18 11:35:27 +02:00
Alexandre Paillier
9396ae81d7 EIP-712 now has proper resume position 2023-07-18 11:35:27 +02:00
Alexandre Paillier
61015e3840 NBGL message signing refactoring 2023-07-18 11:35:26 +02:00
Alexandre Paillier
e0bb1225fe Unified nbgl layoutTagValue variable naming 2023-05-16 11:42:32 +02:00
Alexandre Paillier
8881471a8e EIP-712 fixes
- Now displays a Review page before showing the fields
- Now asks for confirmation before rejecting
- Now does not refresh the screen twice after a signature approval/rejection
- Both EIP-712 implementations on par UX-wise
- Fixed v0 approve/reject status word mismatch
- Unified NBGL UI of both implementations
2023-05-16 11:42:30 +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
be029c642d stax: add UI implementation 2023-05-16 11:42:29 +02:00