Commit Graph

712 Commits (1280073c044fd082a1808cd720f7169b2b7db21a)

Author SHA1 Message Date
Pavol Rusnak ce6dca8ed5
trezor.io: rework for new structure
7 years ago
Pavol Rusnak acb68dc429
trezor.config: rework for new structure
7 years ago
Jan Pochyla 3318ed22f5 trezor.ui.confirm: content is required
7 years ago
Jan Pochyla bcd94ecbc1 trezor.ui: rework HoldToConfirmDialog
7 years ago
Jan Pochyla c94e02b0eb apps.fido_u2f: more type annotations
7 years ago
Pavol Rusnak 365fd404b1
src: fix style
7 years ago
Jan Pochyla 5b9ef8813a trezor.utils: fix for mypy, remove genfunc
7 years ago
Jan Pochyla 803c47dca8 extmod: use lowercase names
7 years ago
Pavol Rusnak 73b2ea6c85
travis: add make style (using flake8)
7 years ago
Jan Pochyla 98e82e3cd5 code style
7 years ago
Jan Pochyla 6e15b37205 trezor.wire: less logs
7 years ago
Jan Pochyla e94d8cc277 trezor.ui.keyboard: complete suggestion on click
7 years ago
Jan Pochyla b15d60383e main: disable u2f, enable wire
7 years ago
Jan Pochyla c422453e82 const_delay: remove
7 years ago
Pavol Rusnak 845a3a7e0d
tests: add partial pylint support
7 years ago
Jan Pochyla a18b883249 apps.fido_u2f: remember user confirmation only for 10 secs
7 years ago
Jan Pochyla a56877bef3 apps.fido_u2f: remove needless async/await
7 years ago
Jan Pochyla e7ea22839d apps.fido_u2f: recognize bogus app_id
7 years ago
Jan Pochyla ed8cfe0399 apps.fido_u2f: unify reg/auth state
7 years ago
Jan Pochyla c4c27de0d5 apps.fido_u2f: remove legacy layout
7 years ago
Jan Pochyla 2bb872ae19 apps.fido_u2f: code style
7 years ago
Jan Pochyla c6545b9b6d trezor: code style
7 years ago
Jan Pochyla 3cb89f3ae7 trezor.ui: send -> touch
7 years ago
Jan Pochyla dc87e14334 trezor.workflow: reset backlight when starting workflow
7 years ago
Jan Pochyla 7783763e92 apps.fido_u2f: workaround for sync send problems
7 years ago
Jan Pochyla a865c94339 apps.fido_u2f: add WIP ui/button support
7 years ago
Jan Pochyla d8bb5acb19 apps.fido_u2f: mute verbose logging
7 years ago
Jan Pochyla 7a5377e385 apps.fido_u2f: fix authenticate
7 years ago
Jan Pochyla 36fc87bd46 apps.fido_u2f: first impl of msg_authenticate
7 years ago
Jan Pochyla 479ff127fc apps.fido_u2f: small changes in msg_register
7 years ago
Jan Pochyla 5a41b4497b apps.fido_u2f: fix docs
7 years ago
Jan Pochyla 136514da5c apps.fido_u2f: make register sign with correct privkey
7 years ago
Jan Pochyla ce915749de apps.fido_u2f: use exact sizes in response descriptor
7 years ago
Jan Pochyla 89e18c4d52 apps.fido_u2f: simulate button press after 2 secs
7 years ago
Jan Pochyla 1a98400ff8 apps.fido_u2f: check apdu length
7 years ago
Jan Pochyla a1d3eda2ca apps.fido_u2f: return correct cid on chan cancellation
7 years ago
Jan Pochyla 2f40fa5363 apps.fido_u2f: handle init cont frame
7 years ago
Jan Pochyla 9f352959ee apps.fido_u2f: fix data length, handle channel reset
7 years ago
Jan Pochyla fab5b9a98c apps.fido_u2f: remove exception classes
7 years ago
Jan Pochyla 4a6dcfe9c1 main: disable wire, enable u2f
7 years ago
Jan Pochyla a015853f85 apps.fido_u2f: add basic handling of REGISTER msg
7 years ago
Jan Pochyla cb9a856484 apps.common.seed: add get_root_without_passphrase
7 years ago
Jan Pochyla e0fc5fb5a5 trezor.main: disable periodic mem stats
7 years ago
Jan Pochyla d9170740a5 trezor.loop: export syscalls also in lowercase
7 years ago
Pavol Rusnak ae0c5b3cbc
apps.debug implement DebugLinkMemoryRead/Write
7 years ago
Pavol Rusnak 3fcbf7179b
remove trezor.debug usage
7 years ago
Pavol Rusnak 4d4364f0b5
TrezorUi -> TrezorUI
7 years ago
Pavol Rusnak 3765fb734b
remove trezor.debug module, add trezor.io module
7 years ago
Pavol Rusnak b98c98e6e8
coins: bump bitcoin maxfee
7 years ago
Pavol Rusnak e3b2001c89
rebuild coins
7 years ago
Jan Pochyla 4bb7ad1727 main: reorg usb init
7 years ago
Jan Pochyla fb398d07cb touch: change iface num to 255
7 years ago
Pavol Rusnak 16c7284e98
apps.common: introduce cache module instead of caching in global variables
7 years ago
Pavol Rusnak 5e410a3b59
apps.wallet: implement GetEntropy
7 years ago
Pavol Rusnak e6d93c5933
wallet: fix GetPublicKey msg, regenerate protobuf
7 years ago
Pavol Rusnak b7c043df66
apps.wallet: fix sign_identity for ed25519 curves
7 years ago
Pavol Rusnak 92b2deb932
coins: add cointype.segwit
7 years ago
Pavol Rusnak 9587563c77
apps.common: update coins
7 years ago
Pavol Rusnak 07693277a4
apps.common: update coins.py + its generator to add new fields
7 years ago
Jan Pochyla 8a67ad4672 main: reformat usb init
8 years ago
Jan Pochyla 403d5344e2 trezor.msg: support new modtrezormsg API
8 years ago
Jan Pochyla 46f748205d modtrezormsg: WIP python USB API
8 years ago
Pavol Rusnak a7e17f07ee
tests: finish sign_identity workflow, update run_tests_python_trezor.sh to reflect current state
8 years ago
Pavol Rusnak e7bcaae3d4
src.apps.common: update coins.py
8 years ago
Pavol Rusnak 393ead9beb
src: remove boot.py
8 years ago
Peter Jensen 76705dde5b trezor.ui: change failure pin msg
8 years ago
Pavol Rusnak eef147d810
modtrezorcrypto: add crypto.rfc6979 class
8 years ago
Pavol Rusnak 9257d44b7a
firmware: homescreen shows trezor.io/start when storage not initialized
8 years ago
Pavol Rusnak f13c122561
rebase micropython, min_time -> peektime
8 years ago
Pavol Rusnak 8a6b78187e
modtrezorconfig: don't use mock anymore
8 years ago
Peter Jensen 3daa18a5f1 trezor.ui: fading on swipe up
8 years ago
Peter Jensen 38c37da0c3 trezor.ui: reset device redesign
8 years ago
Peter Jensen d47e9fb855 trezor.ui: prototype of seed setup
8 years ago
Peter Jensen 3e6631b5ef trezor.ui: reposition QR to center
8 years ago
Peter Jensen 5cc87ecdce trezor.ui: fix container
8 years ago
Peter Jensen 36637c23f6 trezor.ui: remove PM colors and other visuals changes
8 years ago
Peter Jensen 4c206be585 trezor.ui: fix of fix confirmation
8 years ago
Peter Jensen 0723f6c198 trezor.ui: fix confirm
8 years ago
Peter Jensen 80b83add73 trezor.ui: text as widget
8 years ago
Peter Jensen 96020a4953 micro fix
8 years ago
Peter Jensen 8d4cd85659 minor design changes
8 years ago
Jan Pochyla 78d82386d1 trezorhal: adjust to new structure
8 years ago
Pavol Rusnak 9c3c19959b
modtrezorcrypto: add Blake2b
8 years ago
Jan Pochyla bf878ff15e trezor.loop: support re-using Sleep and Wait objects
8 years ago
Jan Pochyla a8f5738398 trezor.ui.keyboard: suggest more accurately
8 years ago
Jan Pochyla 4c8d3e4a35 trezor.ui.keyboard: add two keyboard prototypes
8 years ago
Jan Pochyla d939cabcb5 trezor.ui.button: add disabled state
8 years ago
Jan Pochyla e4af95e11b trezor.ui.confirm: support Widget content
8 years ago
Jan Pochyla 910033d71c trezor.ui: add Widget
8 years ago
Jan Pochyla e86924d645 trezor.wire: fix unexpected message error
8 years ago
Jan Pochyla 943d77ba32 apps.debug: hack around PIN lock, add reset_device fields
8 years ago
Jan Pochyla 1ed4dfa516 apps.management: implement T1 reset device workflow
8 years ago
Jan Pochyla fd9361ce77 apps.common.storage: make config ids public
8 years ago
Jan Pochyla 5da3e67a0c apps.homescreen: handle Ping.passphrase_protection
8 years ago
Jan Pochyla 059315feb4 apps.common: add protect_by_passphrase
8 years ago
Jan Pochyla d13006ebbe apps.homescreen: brighten the display after swipe
8 years ago
Jan Pochyla bd514c4732 apps.homescreen: optimize logo display
8 years ago
Jan Pochyla fed8838545 trezor.ui.confirm: fix HoldToConfirmDialog
8 years ago
Jan Pochyla ec49c2d97a trezor.wire: unexpected message should interrupt workflow silently
8 years ago
Jan Pochyla 4ab469d02d apps.wallet: add qr code to get_address
8 years ago
Jan Pochyla 9914b0db2b main: temporary hack, keep apps.common.storage loaded
8 years ago
Jan Pochyla 984f088519 apps.common: fix request_pin
8 years ago
Pavol Rusnak 6eaea34c8c
-> trezor.io
8 years ago
Jan Pochyla 8bdd59642f trezor.wire: print session ID as hex
8 years ago
Jan Pochyla d30e565cb3 trezor.main: fix for new loop
8 years ago
Jan Pochyla 5173a87f3e trezor.loop: rewrite for utimeq, document
8 years ago
Jan Pochyla 666018ec57 apps.management.change_pin: ask event if unlocked
8 years ago
Jan Pochyla 59feeed3cb apps.common.request_pin: add at_least_once
8 years ago
Jan Pochyla 96ead03e03 apps: fix for change_pin and debug
8 years ago
Jan Pochyla e73ff1f3c2 apps: improve language getters/setters
8 years ago
Jan Pochyla 3f657775e9 main: boot debug app earlier
8 years ago
Jan Pochyla 8811814867 apps.management: add change_pin workflow
8 years ago
Jan Pochyla 64dad27abe apps.homescreen: handle Ping.pin_protection
8 years ago
Jan Pochyla b45fd349f5 apps.management: protect by pin earlier
8 years ago
Jan Pochyla c03924c05f apps.common.request_pin: fix client cancel
8 years ago
Jan Pochyla 2a58ca986f apps.common.storage: fix device_id init
8 years ago
Jan Pochyla e111f6338c apps.homescreen: display device label
8 years ago
Jan Pochyla 2cff58f4f0 boot: comment out, usb init will be in C for now
8 years ago
Jan Pochyla 58612f14d2 trezor.config: fix for stmhal
8 years ago
Jan Pochyla b8968e7387 minor perf changes
8 years ago
Jan Pochyla 53c73b3b5c apps: accomodate latest seed changes
8 years ago
Jan Pochyla d2e31e24ee apps.common.seed: simplify, remove root caching
8 years ago
Jan Pochyla 146410856d apps.wallet: move sign_tx workflow to __init__
8 years ago
Jan Pochyla 3e1b821b3c minor fixes
8 years ago
Jan Pochyla a4f103755b minor api changes
8 years ago
Jan Pochyla e0dfc2ef03 apps: reflect the wire api changes
8 years ago
Jan Pochyla d56dc88861 wire: refactoring
8 years ago
Jan Pochyla 0b7874ad43 loop: rename Future to Signal
8 years ago
Jan Pochyla 1b27bb480d trezor.wire: rename modules
8 years ago
Jan Pochyla b145f8f309 apps.common.signtx: add example sanitization
8 years ago
Pavol Rusnak 918150a3f1
tests: make testpy tries running selected tests from python-trezor
8 years ago
Jan Pochyla 6edaa68ab3 apps.common: remove sign.pseudo
8 years ago
Jan Pochyla 2e34fc05a6 apps.management: handle ApplySettings
8 years ago
Jan Pochyla e8da59ced0 apps.common: add protect_with_pin, adjust seed.py
8 years ago
Jan Pochyla b400448b97 apps: adjust to last commit
8 years ago
Jan Pochyla 065cbdbc3b protobuf: set missing fields to None
8 years ago
Jan Pochyla a8b519d127 signtx: prealloc the bytearrays
8 years ago
Jan Pochyla 05f832cae7 storage: remove pbuf, add pin lock
8 years ago
Jan Pochyla be7ee61ddd config: always use bytes() for default value
8 years ago
Pavol Rusnak a66d0b2e40
trezor.config: fix config_mock syntax
8 years ago
Pavol Rusnak 6575b8059e
trezor.config: use mock implementation on stmhal again
8 years ago
Pavol Rusnak c6ea71901d
trezor.config: use norcow
8 years ago
Pavol Rusnak 533aebdf6d
trezor.utils: add halt function
8 years ago
Pavol Rusnak f615e5f97f
trezor.crypto: more type annotations
8 years ago
Pavol Rusnak 88e46ca66f
trezor.crypto.rlp: add type annotations
8 years ago
Pavol Rusnak ddd46f6f53
trezor.crypto: add RLP
8 years ago
Pavol Rusnak e120faa227
apps.ethereum: implement EthereumGetAddress
8 years ago
Pavol Rusnak 6e79da8df1
apps.wallet: add CipherKeyValue
8 years ago
Pavol Rusnak 8618248504
apps.wallet: add partial support for SignIdentity (secp256k1 curve only)
8 years ago
Pavol Rusnak 084f1205f1
apps.wallet: cleanup sign/verify message
8 years ago
Pavol Rusnak ecac1d79f2
apps.wallet: refactor message digest method into shared module
8 years ago
Pavol Rusnak 620ed74aa7
apps.wallet: implement VerifyMessage
8 years ago
Pavol Rusnak 388e2dc305
apps.wallet: implement SignMessage
8 years ago
Jan Pochyla 87dbf8442e apps.management: explain LoadDevice.node
8 years ago
Jan Pochyla 7378d763f0 apps.debug: support DebugLinkState.matrix
8 years ago
Jan Pochyla 722cc2d63b apps.common: add client-side pin input method
8 years ago
Jan Pochyla d00a6723c0 apps.common.signtx: code style
8 years ago
Jan Pochyla c1aa7010ed apps.wallet: fix GetPublicKey.address_n
8 years ago
Jan Pochyla 384bde3efc apps.wallet: support GetAddress.coin_name
8 years ago
Pavol Rusnak 315440fc18
apps.common: refactor address_type functions
8 years ago
Pavol Rusnak cfdd517bf4
apps.common.signtx: fix outputs for multibyte address prefixes
8 years ago
Pavol Rusnak ea12087de7
apps.common: add op_return to signtx
8 years ago
Pavol Rusnak 357a081b53
apps.wallet: add FeeOverThreshold handling
8 years ago
Jan Pochyla 02d615ff06 wire: convert to bytearray every time
8 years ago
Pavol Rusnak 90c4480bf6
apps.fido_u2f: add yubico u2f demo to known apps
8 years ago
Pavol Rusnak e6d38b8b71
apps.wallet: handle EstimateTxSize message
8 years ago
Pavol Rusnak e10e20d550
apps.common.signtx: fix p2sh output
8 years ago
Pavol Rusnak ceb4ed8c59
apps.common.signtx: rework check_address_type function
8 years ago
Jan Pochyla e556aea42b wire: fix when the footer is too short
8 years ago
Jan Pochyla ecd8bd3b2a wallet: remove unimport for now
8 years ago
Jan Pochyla 72be5cf2f2 signtx: fix typo
8 years ago
Pavol Rusnak 8d496d456b
apps.common.signtx: add paytoscripthash support, fix multibyte
8 years ago
Jan Pochyla 3373ecf128 apps.debug: implement DebugLinkDecision
8 years ago
Jan Pochyla 39b3ecb224 confirm: allow to resolve the dialogs from outside
8 years ago
Jan Pochyla 5d7c2ac4e2 loop: make it possible to re-use Future instances
8 years ago
Jan Pochyla abb6f284ca wallet: use hold to confirm the tx summary
8 years ago
Jan Pochyla a798a07220 signtx: confirm output before hashing
8 years ago
Jan Pochyla 90d9687678 apps.homescreen: cleanup
8 years ago
Jan Pochyla b89666fb87 apps.debug: cleanup
8 years ago
Jan Pochyla ed8973e86d signtx: unify input script derivation
8 years ago
Jan Pochyla 5889d0c932 loop: use ticks_add, ticks_diff
8 years ago
Jan Pochyla f2a0132502 management: fix layout_load_device
8 years ago
Pavol Rusnak b09f0eaf4e
tests: add test for apps.common.coins
8 years ago
Pavol Rusnak 09c6309ebf
apps.debug: add debug app (that consumes debuglink messages)
8 years ago
Pavol Rusnak 4d167f4961
apps.homescreen: handle Ping message
8 years ago
Pavol Rusnak 72a41182c2
apps.common.storage: fix device_id generator
8 years ago
Jan Pochyla 8754d74620 signtx: do not include change in total
8 years ago
Jan Pochyla 44f6f21186 signtx: add UI similar to trezor1
8 years ago
Jan Pochyla 710cb09663 wallet: add layout_sign_tx
8 years ago
Jan Pochyla 2e4c63f836 homescreen: return correct coins in Features
8 years ago
Jan Pochyla 4c056d8aaa wallet: fix layout_get_public_key
8 years ago
Jan Pochyla 90b2f3a3e0 seed: clone node before deriving
8 years ago
Jan Pochyla b9cec468b7 streams: fix set_limit
8 years ago
Jan Pochyla cf2bc1a28e protobuf: fix loading embedded messages
8 years ago
Jan Pochyla 4f8e01c5df signtx: fix address derivation
8 years ago
Jan Pochyla 24d8a04131 signtx: minor refactoring
8 years ago
Jan Pochyla 31e3aaa23b signtx: add UI instructions, SigningError type
8 years ago
Jan Pochyla 8109d8363c signtx: remove BufferWriter
8 years ago
Pavol Rusnak 05e035d56a
apps.fido_u2f: add fastmail to known providers
8 years ago
Pavol Rusnak 3015045df6
apps.common.coins: update to return CoinType, not dict (also modify generator)
8 years ago