Commit Graph

643 Commits (67b2ba558bf251dd42b245159d99fd079ecdee5c)

Author SHA1 Message Date
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
Pavol Rusnak b79102008d
core: fix new Python SyntaxWarning (new in 3.8)
5 years ago
Tomas Susanka b530e7c105 ci: add fido2 tests to ci
5 years ago
Andrew Kozlik 60f6ab9087 core: Fix mypy warnings.
5 years ago
Andrew Kozlik 39b4376b65 core/sd-protect: If writing to the SD card fails in request_sd_salt(), inform the user and allow them to retry or abort.
5 years ago
Pavol Rusnak 7644cb4c79
core: rework exception handling in boot.py
5 years ago
Pavol Rusnak 9b7a2095b3
common/defs: update coins info
5 years ago
Tomas Susanka 0f34b50c05 core/features: add sd card and protection
5 years ago
Tomas Susanka f0cd99c545 common/protob: add sd card/protection to Features
5 years ago
Pavol Rusnak d17ced9305
common/defs: remove ZCL as per maintainer request
5 years ago
Pavol Rusnak d28bc3c3a6
common/defs: remove BSD - website does not exist, maintainer not reachable
5 years ago
Pavol Rusnak 3e20c51dbf
common/defs: remove MTNS - maintainer not reachable
5 years ago
Tomas Susanka 899a03dd1d docs/build: update debug build on device
5 years ago
Pavol Rusnak e16c27a401
core: update changelog
5 years ago
Pavol Rusnak ab62715606
core: bump version to 2.1.8
5 years ago
apollo 74bcc05e2e common/defs: add ZCR (#611)
5 years ago
Pavol Rusnak 76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
5 years ago
Pavol Rusnak 1bdc83838b
legacy+core: properly handle non-printable ascii characters
5 years ago
Pavol Rusnak ab534c18d3
Merge pull request #612 from trezor/andrewkozlik/sd-protect-ui
5 years ago
Andrew Kozlik 564b24191e debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction.
5 years ago
Andrew Kozlik 9a641b6b01 core/sd-protect: Allow user to retry if write fails.
5 years ago
Andrew Kozlik 795fa07822 core/sd-protect: Add SD_CARD_HOT_SWAPPABLE option and improve error handling.
5 years ago
Andrew Kozlik 710866074b core/webauthn: Fix mypy warnings.
5 years ago
Andrew Kozlik c25a41aa57 core: Fix mypy warnings in FatFS and SD salt code.
5 years ago
Andrew Kozlik 5401f88d52 core/webauthn: Fix user input timeout bug.
5 years ago
Tomas Susanka a2fed79f7e
Merge pull request #603 from trezor/tsusanka/groups-info
5 years ago
Andrew Kozlik e385eae433 core/webauthn: Use popups for webauthn error messages instead of confirmation dialogs to simplify device testing.
5 years ago
Andrew Kozlik 8ce8916beb core/webauthn: Remove AUTOCONFIRM option.
5 years ago
Sirak Ghazaryan 8317774e06 common/defs: enable CRW (#600)
5 years ago
Tomas Susanka 29bb2dcb95
Add unit test for process_slip39 function (#601)
5 years ago
Tomas Susanka 1068acae40 core/tests: assert secret in process_slip39 test
5 years ago
Tomas Susanka 74a283c271 core/recovery: small refactor in Info dialog
5 years ago
Andrew Kozlik ba9eee3b8f core, legacy: Don't allow change_pin if device is not initialized.
5 years ago
Tomas Susanka 75dfcacc21 core/tests: add unit test for process_slip39 function
5 years ago
matejcik 861e999425 core: draft unit test for process_slip39
5 years ago
Tomas Susanka 07b4f6e399 core/recovery: remove unused get/set_slip39_threshold
5 years ago
Pavol Rusnak adbec13779
core/sd_salt: fix bug introduced in ede1a0bae3
5 years ago
Pavol Rusnak 04466402ce
core/monero: use const where possible
5 years ago
Pavol Rusnak ed0336c0a9
core/monero: add gc.collect before large allocations in bulletproof code
5 years ago
Pavol Rusnak 5f980b50a0
core/monero: refactor bulletproof look-up-tables
5 years ago
Pavol Rusnak ede1a0bae3
core/sd_salt: introduce _get_device_dir, _get_salt_path
5 years ago
Pavol Rusnak 2217b680e3
core: update changelog
5 years ago
Pavol Rusnak 2e877b5762
core: refactor fido2 stuff into webauthn/fido2
5 years ago
Tomas Susanka 6b8f63c624 docs: improve tests documentation
5 years ago
matejcik 3c62db2696 stellar: fix ManageDataOp value padding
5 years ago
Andrew Kozlik 18998ff42f core/webauth: Remove "alg" parameter validation for key-agreement public keys to avoid compatibility issues.
5 years ago
Andrew Kozlik 4a81101c84 core/webauthn: Modify error handling to match fido2-tests.
5 years ago
Andrew Kozlik 9537bc40a5 core/webauthn: Use ECDH_ES_HKDF_256 instead of ES256 as the algorithm type for key-agreement keys.
5 years ago
Pavol Rusnak 69142e56e7
core/tests: don't use curl, use wget
5 years ago
Andrew Kozlik 500401d81f core/webauthn: Place a 500 ms timeout on CTAP HID continuation packets.
5 years ago
Andrew Kozlik 0495d18b1e core/webauthn: Fix CTAP HID protocol to correctly handle invalid channel IDs and interleaving packets from different channels.
5 years ago
Andrew Kozlik 9ea8136545 u2f: Add keepersecurity.eu to knownapps.
5 years ago
Andrew Kozlik e4c13b6357 u2f: Store hashes of U2F application parameters instead of pre-images.
5 years ago
Andrew Kozlik 6a33889706 common/webauthn: Add new URLs for gandi.net and Slush Pool.
5 years ago
Andrew Kozlik 528ee9ccf1 core/webauthn: Ensure user-presence option is not present in MakeCredential requests.
5 years ago
Andrew Kozlik e341f133a3 core/webauthn: Add length checks in CTAPHID protocol.
5 years ago
Andrew Kozlik ae70741e48 core/webauthn: Add more type checking for CBOR command parameters and return CTAP2_ERR_CBOR_UNEXPECTED_TYPE.
5 years ago
Andrew Kozlik 5ca4ed2347 core/webauth: Add _AUTOCONFIRM option for testing.
5 years ago
Andrew Kozlik 7ad1467dbf core/webauthn: Process debuglink signals in Fido2ConfirmGetAssertion.
5 years ago
Andrew Kozlik 3d91cb5c5b core/webauthn: Return ERR_MISSING_PARAMETER instead of generic error.
5 years ago
Andrew Kozlik eaf63fff45 core/webauthn: In GetAssertion do not return user ID for server resident credentials.
5 years ago
Andrew Kozlik f54c968039 core/webauthn: Validate U2F key handle length.
5 years ago
Andrew Kozlik 638a861137 core/webauthn: Add U2F_V2 to authenticatorGetInfo supported versions.
5 years ago
Andrew Kozlik cf6949332f core/webauthn: Claim that PIN is set even when it's not, because login.live.com shows an error, but doesn't instruct the user to set a PIN.
5 years ago
Andrew Kozlik 5e99058832 common/webauthn: Add webauthn RP ID for google.com.
5 years ago
Pavol Rusnak 40c66e6d85
core: handle removal of non-existing PIN in require_confirm_change_pin
5 years ago
Pavol Rusnak ad76b5fb9f
core: regenerate mocks
5 years ago
Pavol Rusnak dcff4ade01
core: use set_clr_card_detect to disable SD card pull-up resistor
5 years ago
Pavol Rusnak 6c14ee7ec0
core: initialize fatfs only after we know the SD card is powered
5 years ago
Pavol Rusnak 7394ecfa77
core: add exist_ok parameter to fatfs.mkdir
5 years ago
Pavol Rusnak d393fc6e85
Revert "core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py"
5 years ago
Tomas Susanka f53694c3fe core/recovery: rename variable and add a comment in Info button
5 years ago
Tomas Susanka 6c6bd44ee8 core/recovery: fix Info button when the threshold was reached (#566)
5 years ago
matejcik 65d2a55bff core/recovery: improve comment
5 years ago
matejcik 02ee0b63c0 core/recovery: fix type signature of _process_words
5 years ago
matejcik 1c53c2bdf2 core/recovery: allow changing word count again (fixes #554)
5 years ago
Tomas Susanka 7f959250e7
Merge pull request #563 from trezor/tsusanka/562-fix-info-btn
5 years ago
ciny 1337ff97b7 core: fixed confirmation screen during advanced slip39 reset flow
5 years ago
Tomas Susanka 51bf0dde12 core/recovery: fix Info dialog
5 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
5 years ago
Andrew Kozlik 524a2ac721 core: Show success dialogs in sd-protect.
5 years ago
Andrew Kozlik a7485c0840 core: In sd-salt and webauthn error dialogs replace "X" button with "Close" button.
5 years ago
Andrew Kozlik de74750569 core: Show success and failure dialogs in change-pin.
5 years ago
Pavol Rusnak b9e7e93bcf
core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py
5 years ago
Pavol Rusnak bb4dd3cf18
core: respect PYOPT in firmware build
5 years ago
matejcik 03f1403c93 core: clean up backup type handling in reset_device
5 years ago
matejcik 78ecc38b1b core: fix BIP39 backup
5 years ago
Tomas Susanka eca0a719db core: bump version to 2.1.7
5 years ago
Pavol Rusnak 702f865e8d
core/webauthn: let's use Self Attestation for now
5 years ago
Tomas Susanka 5d32fc37ae core/changelog: complete 2.1.6 changelog
5 years ago
Andrew Kozlik 576a211c3d core: Clarify the messages on the screens and get rid of overflows.
5 years ago
Tomas Susanka bf518665a0
Merge pull request #546 from trezor/tsusanka/1of1
5 years ago
Tomas Susanka e25686e079 core: enable 1of1 in reset device
5 years ago
Tomas Susanka 871e159bee core/recovery: remove group threshold from storage
5 years ago
Tomas Susanka 6731d1bbf2 core/recovery: remove word count and backup type
5 years ago
Tomas Susanka cf5a794436 core/storage: swap arguments in recovery_shares.set
5 years ago
Tomas Susanka 6938d2b238
Merge pull request #541 from trezor/ciny/slip39_various_fixes
5 years ago
Pavol Rusnak 39a1e308a0
core/webauthn: change the default icon
5 years ago
Andrew Kozlik 9efc3b4431
core/webauthn: Use basic attestation in FIDO2 MakeCredential responses.
5 years ago
Pavol Rusnak 8da121ff5c
core+python: regenerate coins
5 years ago
matejcik e14edd77a9 core: simplify confirm_share_words
5 years ago
matejcik e4ac47b0b3 core: simplify fetch_slip39_remaining_shares
5 years ago
Andrew Kozlik 8024f6d069 core/storage: Rename APP_FIDO2 to APP_WEBAUTHN.
5 years ago
Pavol Rusnak 68513a0b39
Merge pull request #538 from trezor/andrewkozlik/fido2-signcount
5 years ago
ciny cb029fa905 core: various fixes to slip39
5 years ago
Tomas Susanka cefb1cf4fd core: refactor slip39
5 years ago
Andrew Kozlik 315a30b42b core/webauthn: Disable FIDO2 signature counter for some relying parties
5 years ago
Pavol Rusnak 649d14898f
core/tests: remove also sdcard files in test runner
5 years ago
Andrew Kozlik a5f5a1709f core/tests: Increase sleep to 30 after emulator launch to allow for FatFS.mkfs.
5 years ago
Andrew Kozlik f5ea81f905 core: Move some PIN-related functions to apps.common.request_pin and implement verify_user_pin().
5 years ago
Andrew Kozlik 262434ea1b python/tests: Add SD protection device test.
5 years ago
Andrew Kozlik 6350b1c61c core: Implement SD card protection.
5 years ago
Andrew Kozlik 06fc676cc9 common/messages: Add SdProtect message.
5 years ago
Andrew Kozlik 4f01003637 storage: Add external salt parameter to unlock() and change_pin().
5 years ago
Pavol Rusnak 69d936a390
core: remove unused script
5 years ago
Tomas Susanka 5c9fd5875a core/recovery: inform about ToS
5 years ago
Andrew Kozlik b89a9dc590 core: Implement credential management.
5 years ago
Andrew Kozlik 091053507d common/messages: Add credential management message.
5 years ago
Pavol Rusnak 650db2a5c0
ci: add u2f tests to CI
5 years ago
Pavol Rusnak 9414a2b2f5
tests: fix file permissions
5 years ago
Andrew Kozlik 5472499326 core/webauthn: Process debuglink signals in dialogs (#519)
5 years ago
Ciny a0180d233e
Merge pull request #494 from notatestuser/improve-binance-ux
5 years ago
Tomas Susanka e4c8cb1315
core: move public_key_to_wif to helpers
5 years ago
Tomas Susanka adedb7df97
core: remove underscores in symbols used externally
5 years ago
Pavol Rusnak 2711ce2a3d
Merge pull request #394 from trezor/andrewkozlik/fido2-squashed
5 years ago
Tomas Susanka 75c539ec55
all: replace /bin/bash with /usr/bin/env bash
5 years ago
matejcik cad297ed36 style: fix weirdness in modtrezorio-fatfs.h
5 years ago
Andrew Kozlik 58c2691ad9 core/pin: Avoid flicker in remaining time message.
5 years ago
Andrew Kozlik 6ee1ea0fde core/webauthn: Add README.md.
5 years ago
Andrew Kozlik 26193245d4 core/webauthn: Generate random part of U2F key handles with uniform distribution.
5 years ago
Andrew Kozlik 5020ae9757 core/tests: Test SLIP-0022 FIDO2 credential decode.
5 years ago
Andrew Kozlik 70fe14e84c core/webauthn: Implement CTAP2 protocol for FIDO2 support.
5 years ago
Andrew Kozlik 6366f3ac0d core/storage: Implement storage of FIDO2 resident credentials.
5 years ago
Andrew Kozlik de183849b9 core/webauthn: Implement SLIP-0022 FIDO2 credential ID format.
5 years ago
Andrew Kozlik f658958057 core/ui: Add ui.alert() for CTAP WINK command.
5 years ago
Andrew Kozlik 509a815f73 core/ui: Implement multi-page confirmation screen.
5 years ago
Andrew Kozlik 1f58ee7ae9 core/ui: Add text_center_trim_left() and text_center_trim_right().
5 years ago
Andrew Kozlik 84674a7463 core/usb: Add write_blocking() to trezor.io.HID.
5 years ago
Andrew Kozlik 5cbbcd0ce7 core/ui: Add offset parameter to ui.pulse() and specify the pulse rate in terms of period.
5 years ago