1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 19:38:09 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
Pavol Rusnak
98ec2f096c
bootloader: small changes to ui, replace vendor string 2019-01-27 15:06:05 +01:00
Pavol Rusnak
79779f4da6
replace all usage of memset(_, 0, _) with memzero 2019-01-23 17:00:01 +01:00
Pavol Rusnak
9cd261c81a
layout: parse and show OMNI transactions 2018-11-13 16:50:10 +01:00
Pavol Rusnak
f0eb7629bc
layout: NO BACKUP => SEEDLESS 2018-11-05 21:43:13 +01:00
Pavol Rusnak
781d4c24c1
layout: don't split short addresses in layoutAddress 2018-10-23 17:49:12 +02:00
Pavol Rusnak
e1700c2ce1
layout: use "address" instead of "account" for EthereumGetAddress 2018-10-22 15:17:57 +02:00
Pavol Rusnak
8e6369e1ba
layout: treat address as accounts for EthereumGetAddress dialogs 2018-10-22 15:15:15 +02:00
Pavol Rusnak
cb9182166e
reset: fix setting of needs_backup flag 2018-10-04 18:36:36 +02:00
Pavol Rusnak
4a0f0259d1
firmware: introduce seedless setup (aka no_backup) 2018-10-04 17:19:37 +02:00
Pavol Rusnak
8fb6beb314
layout: refactor split_message_hex, use it where possible 2018-09-19 18:45:50 +02:00
matejcik
c17cec93f7
firmware: use flattened protobuf symbols 2018-09-06 18:47:36 +02:00
Pavol Rusnak
a6de54520d
layout2: refactor is_valid_ascii function 2018-09-06 17:42:03 +02:00
Pavol Rusnak
a3555b9c7c
layout: fix VerifyMessage dialog (use nonproportional font for addresses) 2018-09-06 14:37:42 +02:00
Pavol Rusnak
0febd07dfc
firmware: update code to use new nested messages in trezor-common 2018-07-10 17:21:11 +02:00
Pavol Rusnak
217d5dd01d
firmware: refactor Stellar code; update trezor-common 2018-06-11 19:13:34 +02:00
Pavol Rusnak
0ae5e91fcb
nem: check length in layoutNEMTransferPayload 2018-05-25 16:34:06 +02:00
Pavol Rusnak
a83c64fbdb
protob: don't return coins in Features message 2018-05-22 18:40:15 +02:00
Jochen Hoenicke
059555039c
cashaddr: Don't show coin prefix on the display.
While technically part of the address, the coin prefix, e.g., bitcoincash:
is implicit and doesn't need to be checked by the user.  We still
include it in the QR-code though.

Also set case-insensitive flag for QR-code.
2018-04-05 11:28:06 +02:00
Pavol Rusnak
399706ae22
storage: implement unfinished_backup flag 2018-04-04 12:42:52 +02:00
Pavol Rusnak
2a4a298d58
firmware: refactor fsm_getDerivedNode to include fingerprint 2018-03-07 14:04:37 +01:00
Jochen Hoenicke
d5e49556c5 Indicate own dest address in send dialog
If the destination address is controlled by the TREZOR (the wallet set
the address_n field), show the path to the address on the confirm output
dialog in the same format as the "show on Trezor" dialog indicates the
path.
2018-03-03 22:25:20 +01:00
Jochen Hoenicke
c574c0a497
Updated confirmOutput dialog
Build it manually (to allow not indenting the address and using a
different font).
2018-02-20 18:23:14 +01:00
Jochen Hoenicke
63c6f95400
Fit 21 characters per line 2018-02-20 18:23:14 +01:00
Jochen Hoenicke
b9b36e0768
Remove duplicated code 2018-02-20 18:22:47 +01:00
Jochen Hoenicke
83a69a0334
Added fixed-width font and multi-font support 2018-02-20 18:22:47 +01:00
Pavol Rusnak
cd763b979b
layout: fix last commit 2018-01-15 18:56:57 +01:00
Pavol Rusnak
f70772fb58
rework ConfirmOutput layout (fixes #289) 2018-01-15 18:40:54 +01:00
Pavol Rusnak
94fcc8c9a4
add bip84 (native segwit) 2018-01-04 22:30:40 +01:00
Saleem Rashid
ba5b44d0c5 emulator: Initial commit 2017-12-18 20:09:59 +01:00
Tomas Susanka
a82bbbb30d layout: encode -> encrypt typo
updates #252
2017-11-29 13:48:29 +01:00
Pavol Rusnak
a713fca857
layout: recognize known bip44/bip49 paths in GetAddress dialog 2017-11-16 18:34:59 +01:00
Pavol Rusnak
54659d49d8
layout: op_return now requires confirmation by user 2017-11-15 15:42:56 +01:00
Pavol Rusnak
de3b78bd0b
layout: print bip32 path in GetAddress dialog 2017-11-14 17:53:17 +01:00
Jochen Hoenicke
0f50b816e6
Wrap long addresses in three lines 2017-11-05 19:28:07 +01:00
Jochen Hoenicke
97581928de
Enable Segwit Bech32 addresses
Increase the size of the addresses in protobuf.
Fix layout2.c to handle longer addresses.
Add a field bech32_prefix to coins.h
Adapted the coins-gen script.
Added bech32 support in signing.c and transaction.c
2017-11-05 19:28:07 +01:00
Jochen Hoenicke
b5fa8a266a New CoinInfo separated from protobuf structures
Having CoinType using the protobuf structures has several disadvantages.
- We always need to change trezor-common if we need a new field (like
  bech32 prefix)
- Every time Trezor initializes it sends all this information out and
  nobody cares.
- The protobuf structures add storage overhead due to their fixed size.

I also removed most of the `has_` fields except for forkid:
- `has_segwit` was merged with segwit
- `has_coin_shortcut` can be replaced by test for NULL if necessary.

The fields were reordered for better padding.
2017-11-05 19:23:34 +01:00
Pavol Rusnak
18d8cb3c56
add project website (trezor.io) to license header 2017-11-05 17:47:23 +01:00
Pavol Rusnak
fa02dec704
layout2: use macro for layoutSwipe 2017-11-03 18:56:55 +01:00
Saleem Rashid
eebd53fd09 layout2: Disable oledSwipeLeft with DEBUG_LINK (#239)
This greatly reduces time for device tests
2017-11-03 18:54:02 +01:00
Pavol Rusnak
5831e53854
layout2: refactor and fix layoutCosiCommitSign 2017-10-09 23:02:42 +02:00
Pavol Rusnak
b56da1e4b4
layout: show path for CoSi commit/sign if following SLIP-0018 2017-10-09 21:16:39 +02:00
Pavol Rusnak
83db3c098f
fsm: implement CoSi messages 2017-10-03 13:26:38 +02:00
Saleem Rashid
1f20625bbc nem2: Refactor for new bn_format 2017-10-01 13:24:13 +01:00
Saleem Rashid
327736ca96 nem_mosaics: Whitelist networks 2017-10-01 13:24:13 +01:00
Saleem Rashid
17e33d5517 nem2: Handle Mosaic Definition Creation transactions 2017-10-01 13:24:13 +01:00
Saleem Rashid
8dbd6182fb nem_mosaics: Initial commit 2017-10-01 13:24:13 +01:00
Saleem Rashid
563723a55f nem2: Handle multisig transactions 2017-10-01 13:24:13 +01:00
Saleem Rashid
19033a459d fsm: Add NEMSignTx 2017-10-01 13:24:13 +01:00
Pavol Rusnak
30367bfad1
reset: refactor code into layoutResetWord 2017-09-04 08:12:33 +02:00
Saleem Rashid
11d424cdef vendor: Update trezor-crypto 2017-07-27 18:11:26 +02:00