Commit Graph

781 Commits (0ec628ccd486f1b34b8bf272b5a52f9289263d33)

Author SHA1 Message Date
Tomas Susanka 56257eb6a5 tests/ui: code review fixes
5 years ago
Tomas Susanka 3a035a0ef8 tests: save screens directly to ui_tests; introduce recorded/actual dir
5 years ago
Tomas Susanka eabd0da196 core/make; legacy: style
5 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
5 years ago
Tomas Susanka a28f29708f ci: add junit for a nice tests overview
5 years ago
Tomas Susanka ffea791658
Merge pull request #774 from trezor/tsusanka/shamir-word-checks
5 years ago
Tomas Susanka d8e956fc6d core/recovery: change exceptions types; modifications in tests
5 years ago
Tomas Susanka 7f730cb6f9 core/recovery: refactor to exceptions
5 years ago
Tomas Susanka f4e11a9176 core/recovery: rework arguments
5 years ago
Tomas Susanka 20bcc68926 core/tests: remove utest.py
5 years ago
Tomas Susanka faa9078c2b core/recovery: refactor word checks and add a test
5 years ago
Tomas Susanka a316347bf1 core/tests: test debug is on
5 years ago
Tomas Susanka 5677c254b1 core/tests: remove PYOPT settings
5 years ago
Tomas Susanka 6594ee9368 core/recovery: correctly inform about share already entered inside first group
5 years ago
Pavol Rusnak 8572a5a942
core: fix interrupt usage in usbd_conf
5 years ago
Ondrej Mikle 0064fda203
core: check whether USB structures are correct to avoid faults in shutdown
5 years ago
Pavol Rusnak 6198509948
core: bump version to 2.2.1; update changelog
5 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
5 years ago
Milan Rossa 6d932a8a1d core/embed/unix/flash: Don't reopen flash emulation file.
5 years ago
Pavol Rusnak a9454b216d
core: move delay.c from trezorhal to firmware, fix prodtest build
5 years ago
Pavol Rusnak a9e5149b95
core: reorganize source code to allow boardloader build
5 years ago
Tomas Susanka e75e77a5b2 core/changelog: add info about broken fw upgrades on 2.1.3
5 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
5 years ago
Pavol Rusnak 046ff607d3
Merge branch 'sdcard-dma'
5 years ago
Milan Rossa 91007bafe9 core/unix/main: Print memory info (peak memory) when TREZOR_LOG_MEMORY env var is set. Part of #194
5 years ago
Pavol Rusnak 43da0d754a
core/embed: decrease SD card operations timeout to 5s
5 years ago
Pavol Rusnak b34675401c
core/embed: add explicit fault handlers
5 years ago
Pavol Rusnak c8c27dcd2f
core/embed: enable/disable SDIO/DMA interrupts via supervisor calls
5 years ago
Pavol Rusnak 990a91cd13
core/embed: enable DMA for SDIO operations
5 years ago
Andrew Kozlik 0432f5e801 webauthn: Add use_self_attestation flag to FIDO apps.
5 years ago
Andrew Kozlik 2e9db44434 core/webauthn: Add AAGUID to README.md.
5 years ago
Pavol Rusnak 7646b97dca
common: divisibility -> decimals
5 years ago
matejcik 8cced84bc4 core: fix build-icons
5 years ago
matejcik 3a132e594e core/stellar: make sure function that awaits is async
5 years ago
matejcik ac6e23fb87 mako: improve local variable name
5 years ago
matejcik 558020be01 common: drop lastpass from FIDO apps
5 years ago
matejcik 61e4f79c90 core: use common implementation for toif_convert
5 years ago
matejcik 67b2ba558b core: auto-generate list of FIDO known apps
5 years ago
matejcik a46fd6f508 core: auto-generate FIDO icons
5 years ago
Pavol Rusnak bb8d809a6d
common: change language field to IETF BCP 47 language tag
5 years ago
Tomas Susanka 0f3466bf01 core, legacy: update changelog
5 years ago
Tomas Susanka 1b88840f53 docs: move docs to root
5 years ago
Tomas Susanka 61430d800e core/stellar: add screen for timebounds
5 years ago
Pavol Rusnak 3d50bb5ed8
common: add Peercoin, regenerate coins
5 years ago
Pavol Rusnak 5301c03607
common: add coin.divisibility attribute
5 years ago
Andrew Kozlik 6ca0288092
Merge pull request #720 from trezor/andrewkozlik/wipe-code
5 years ago
Andrew Kozlik 420a4b8ba7 core/webauthn: Close U2F confirmation screen if browser stops polling for more than 3 seconds.
5 years ago
Andrew Kozlik 0b851d6959 core/webauthn: Reply with ERR_CHANNEL_BUSY once a U2F request has been declined to stop Chrome from polling.
5 years ago
Andrew Kozlik 4d3c634732 core/webauthn: Use different return code when user verification is requested but PIN is not set to get better browser behavior. Related to cf6949332f.
5 years ago
Andrew Kozlik a63ff8f9b4 core/webauthn: Add bogus app ID used by Firefox to indicate error in U2F. Figure out which error to display based on past U2F_AUTHENTICATE check-only requests on the same channel.
5 years ago
Andrew Kozlik a704bfe184 core/webauthn: Allow only one CTAPHID_WINK command at a time on any given channel ID to fix continuous display blinking with Android.
5 years ago
Andrew Kozlik 3a4e9bd25c core/ui: Ignore any new alert requests if an alert is already in progress in order to avoid multiple alerts overlapping.
5 years ago
Andrew Kozlik 7c39e2f142 core/webauthn: Specify the exception raised by res.load().
5 years ago
Andrew Kozlik 790178a442 fixup! core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing.
5 years ago
Andrew Kozlik c463069895 core/webauthn: Don't log an exception when a relying party is not listed in knownapps.
5 years ago
Andrew Kozlik 5bdd523b91 vendor: Update fido2-tests submodule to fix issues with random ordering.
5 years ago
Andrew Kozlik 203853faed core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing.
5 years ago
Andrew Kozlik 1bc8226a50 common, core: Add wipe_code_protection to the Features message.
5 years ago
Andrew Kozlik a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked.
5 years ago
Andrew Kozlik a168d661cf core: Add support for ChangeWipeCode message.
5 years ago
Andrew Kozlik 4381511930 common: Add ChangeWipeCode message.
5 years ago
Tomas Susanka 11f8da2f2d core: remove .sconsign.dblite on make clean
5 years ago
Andrew Kozlik 2ae1d9a935 webauthn: Disable signature counter in FIDO2 for dropbox.com, gandi.net, secure.login.gov.
5 years ago
matejcik 1f6cc77dec upgrade black to 19.10b0
5 years ago
matejcik e25a7ebb7f core: add changelog for RecoveryDevice fix
5 years ago
matejcik 34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666)
5 years ago
Pavol Rusnak d029920540
core/webauthn: update metadata
5 years ago
Pavol Rusnak 33ecdeb193
core+legacy: remove confusing changelog entries
5 years ago
Pavol Rusnak e1e081fb7a
core/webauthn: fix metadata
5 years ago
matejcik 09962708d3 core: move load_device to the debug app
5 years ago
matejcik fd8aed6105 all: drop XPRV feature of LoadDevice
5 years ago
Pavol Rusnak 16af7f1353 common: add {needs,no}_backup flags to LoadDevice, make it debug only
5 years ago
Pavol Rusnak 0a0cd797e3
ci/tests: use new Monero tests binary
5 years ago
Pavol Rusnak cde944b565
Merge branch 'reorder-usb'
5 years ago
Pavol Rusnak 908c0fb8c0
core/docs: add info about enabling VCP for non-Bitcoin-only FW
5 years ago
Tomas Susanka 20a30ae521 tests/monero: print hash of the monero binary
5 years ago
Tomas Susanka 85d7215bf3
Merge pull request #700 from trezor/tsusanka/upgrade-u2f-check
5 years ago
Pavol Rusnak 2652936c16
core/tests: adapt device_emu_fido2/u2f to reordered usb endpoints
5 years ago
Pavol Rusnak df273bf836
core/usb: reorder endpoints
5 years ago
Pavol Rusnak 3b5a113304
core/usb: small reformat
5 years ago
Tomas Susanka a8b82975a1 core/management: get next u2f counter
5 years ago
Tomas Susanka 2a20287882 common/protobuf: add message for retrieving an increased u2f counter
5 years ago
Dusan Klinec d81f43f7a4 tests: use new monero testing binary v0.15.0.0
5 years ago
Pavol Rusnak d761a57689
storage: introduce FLAGS_APPID
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
5 years ago
matejcik c96d5ab1bc core/sd_salt: check if sd_salt is enabled before asking for SD card
5 years ago
matejcik 0c4fa03575 core/sd_salt: properly await ensure_sd_card
5 years ago
matejcik c9fca25531 core: add storage module to frozen build
5 years ago
matejcik 75622d92d2 Merge branch 'master' into matejcik/storage-relocation
5 years ago
matejcik dee47a06f2 core/sd_salt: ensure ProcessErrors are propagated properly
5 years ago
Tomas Susanka 597277725e core/recovery: end progress before showing success
5 years ago
Tomas Susanka f4385ede2a core/changelog: add note on Recovery rework
5 years ago
Pavol Rusnak 4462fb522c
core/nem: don't use mp_obj_new_str_of_type
5 years ago
matejcik 8225e5d8b2 core/sd_salt: remove forgotten fs.mount
5 years ago
matejcik 18ab677124 core/webauthn: rename storage.webauthn to storage.resident_credentials
5 years ago
matejcik f03562cca0 core/sd_salt: decorate sd_salt functions to ensure proper finalization and power-off
5 years ago
matejcik 33bd4d3ba9 Merge branch 'master' into matejcik/storage-relocation
5 years ago
matejcik 51a5d8e30a core/boot: do not pass useless argument to request_sd_salt
5 years ago
matejcik 7de5cec4b0 core: halt if the script ever runs out of the loop in main.py
5 years ago
matejcik 5ffa395dec core: catch more exceptions for the purpose of halting
5 years ago
matejcik 7cb125d1cb core/recovery: properly replace homescreens
5 years ago
matejcik 1c59ba9423 core/workflow: improve comments and logic
5 years ago
matejcik a3930d4bdb core: rename close_default to a more appropriate kill_default
5 years ago
Tomas Susanka ca484b2c06 core: remove persistence boot and set recovery as a default workflow
5 years ago
matejcik e9fe6c2943 core/boot: remove leftover print
5 years ago
matejcik 28d30ffd2f core/webauthn: unify signatures of Credential.from_bytes and friends
5 years ago
Tomas Susanka 7dba12cb6d core/log: print received message's name
5 years ago
Pavol Rusnak 8928e891c6
core/Changelog: add entry
5 years ago
Pavol Rusnak 0040b916d2
common/defs: remove inactive coins
5 years ago
Pavol Rusnak 2d8f70d49a
common/defs: add mojeid.cz definition to webauthn
5 years ago
Tomas Susanka c261427d73
Merge pull request #667 from malinah/malinah/confirmbtn
5 years ago
apollo 18c926a34b common/defs: fix zcore signing (#669)
5 years ago
Milan Rossa 2143978b12 core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection.
5 years ago
matejcik 1397bbfeb5 core/tests: fix test suite after storage move
5 years ago
matejcik 5c93ecd53a core: create top-level storage module
5 years ago
Pavol Rusnak 39a532c8b1
core/webauthn: increase limit for resident credentials to 100
5 years ago
Pavol Rusnak 4979e17e86
core/webauthn: improve metadata
5 years ago
Tomas Susanka 1d1e9da1d3
Merge pull request #661 from trezor/tsusanka/webauthn-move-iface
5 years ago
Tomas Susanka 26e2960532 core/webauthn: move boot to regular firmware block
5 years ago
Pavol Rusnak 58a865dd05
core/embed/unix: fix sdcard_init behaviour
5 years ago
Tomas Susanka 809b30ddcf core/webauthn: set webauthn interface in its app not in main.py
5 years ago
Pavol Rusnak 727b7f8cd3
core/webauthn: add u2f/ctap2 metadata
5 years ago
Tomas Susanka 64a218eea0 bitcoin: simplify if expression
5 years ago
Tomas Susanka c1f7239c2d ci: add click and persistence tests
5 years ago
matejcik 93062c4cc2 docs: improve docs, add random.md
5 years ago
Pavol Rusnak 0f1e30b235
core: fix typo in get_address
5 years ago
Pavol Rusnak c617035a3e
core: bump version to 2.1.9
5 years ago
Pavol Rusnak e67a359279
core: update changelog
5 years ago
Pavol Rusnak 5fe2f7e59c common/protob: remove ButtonRequest.data field
5 years ago
Pavol Rusnak 9a3d8ef2c4
core: show xpubs in GetAddress for multisig
5 years ago
Pavol Rusnak 322417d9ed
core/tezos: refactor bytes constants
5 years ago
Adrian Nagy 384275ac73
core/tezos: support the new protocol update (005-BABYLON)
5 years ago
matejcik a5ccf95260 core: fix mypy problems
5 years ago
matejcik 8d2ae142f3 core/debug: at start, wait for first layout to show up
5 years ago
matejcik a8fc569016 debug: add support for general layout waiting
5 years ago
matejcik 97525654bb core/debug: avoid running a handler when waiting for layout change
5 years ago
matejcik 3664a5f06f core/debug: reading layouts, inserting synthetic events
5 years ago
matejcik 8c3d93619e core: allow inserting synthetic touch events into event loop
5 years ago
matejcik a1a543f781 core: boot debuglink in recovery homescreen
5 years ago
matejcik 06e10f948d protobuf: send x/y coordinates, allow waiting for layout change
5 years ago
matejcik b25537f6b0 core: nicer output for cancellations
5 years ago
matejcik d17f879d97 mypy: use GenericContext protocol to work-around DummyContext
5 years ago
matejcik ed190c772c core: avoid circular import in sd_salt
5 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Tomas Susanka 8f34b4c5de
Merge pull request #628 from trezor/tsusanka/sdprotect-fix
5 years ago
Pavol Rusnak ddd9bee059
common/defs: regenerate coins
5 years ago
Pavol Rusnak c2aa8a04c0
common/defs: update tokens
5 years ago
Pavol Rusnak 178d58c763
common/defs: remove BTDX as it has no Trezor compatible wallet
5 years ago
Pavol Rusnak 4e5b60ec2b
common/defs: remove BITC per maintainer request
5 years ago
Pavol Rusnak 3ebc79f9b2
common/defs: remove MEC per maintainer request
5 years ago