Commit Graph

727 Commits (a1cd0b094988ebee01b6d3bd3c6a8754cb6c1667)

Author SHA1 Message Date
Andrew Kozlik 2ceb091d68 core/sign_tx: Use a preallocated buffer for transaction serialization.
4 years ago
Andrew Kozlik 555259d6a9 core/sign_tx: Remove last_output_bytes in Decred, which is no longer needed.
4 years ago
Andrew Kozlik f1801764a1 core/sign_tx: Fix segwit/non-segwit input interleaving bug.
4 years ago
Andrew Kozlik 514f2ac649 core/sign_tx: Refactor to use template method.
4 years ago
Andrew Kozlik 95fad83024 core/sign_tx: Derive Zip143 and DecredPrefixHasher from Bip143.
4 years ago
Andrew Kozlik e9900df18d core/sign_tx: Move Overwintered class to zcash.
4 years ago
Andrew Kozlik 60dbec95ac core/sign_tx: Reuse get_prevtx_output_value() in Decred.
4 years ago
Andrew Kozlik 2b74513e49 core: Fix mypy.
4 years ago
Andrew Kozlik 50c08274b9 core/sign_tx: Move overwintered functionality to separate class.
4 years ago
Andrew Kozlik c190eed7fc core/sign_tx: Move non-Bitcoin functionality to Bitcoinlike class.
4 years ago
Andrew Kozlik 613c81ea66 core/sign_tx: Refactor wallet_path functions and input_check_multisig_fingerprint.
4 years ago
Andrew Kozlik 0d9984671e core/sign_tx: Fix typing.
4 years ago
Andrew Kozlik 79c60615de core: Fix typing.
4 years ago
Andrew Kozlik ba8b34b2d7 core: Refactor signing.
4 years ago
matejcik 5885978c83 Merge branch 'release/2020-04'
4 years ago
Andrew Kozlik 9e4a8ca785 core/webauthn: Improve error codes for uninitialized device. Return ERR_OPERATION_DENIED only upon user decline or timeout, otherwise it cancels the operation on all connected authenticators.
4 years ago
Andrew Kozlik bc4e8eaa16 core/webauth: Update readme with Ed25519 algorithm and certificates.
4 years ago
Andrew Kozlik fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements.
4 years ago
Andrew Kozlik 25a39ea729 core/webauthn: Fix handling of interleaving frames to comply with the U2F HID specification.
4 years ago
jagdeep sidhu e58c5f63d5
common/defs: update SYS (#928)
4 years ago
Tomas Susanka 0b7a8449f8 core: style
4 years ago
Tomas Susanka bf20537f41 core: add option to omit cancel button in HoldToConfirm; add it to reset
4 years ago
Andrew Kozlik 8ae0535e69 core/webauthn: Fix attestation statement format to use a list in the x5c field.
4 years ago
Tomas Susanka aa71c20f2c core: require hold to confirm
4 years ago
Tomas Susanka f786d75a6f core: drop obsolete check for ANYONECANSPEND segwit outputs
4 years ago
Tomas Susanka d0d41c884e legacy: move script type checks to separate functions and unify with core
4 years ago
matejcik da89a17ce5 all: add checks for prev_hash size
4 years ago
matejcik c15519f707 core/sign_tx: modify get_tx_header to avoid writing unchecked bytes
4 years ago
matejcik 9cab61fbd3 core/sign_tx: remove write_bytes_unchecked where appropriate
4 years ago
matejcik 27f6306e1d core: introduce safer write_bytes functions
4 years ago
matejcik 9a5f6b025a core/tezos: factor out writing Michelson instructions
4 years ago
matejcik 694f714719 core/ripple: rename write_bytes to avoid name collision
4 years ago
Tomas Susanka 64584e271c legacy, core: add and unify validation checks
4 years ago
matejcik ffdb299c61 all: drop Capricoin support [NO BACKPORT]
4 years ago
matejcik adea7d6b35 all: make timestamp mandatory on timestamp-enabled coins
4 years ago
matejcik e2035b4972 all: drop Horizen and BIP-115 support [NO BACKPORT]
4 years ago
matejcik 6f9c6361ea core: remove negative_fee and cashaddr_prefix from bitcoin-only fw
4 years ago
matejcik 7d5771911c core: flip condition for force_bip143
4 years ago
matejcik ed464f3d47 all: ensure expiry, timestamp and extra_data are blocked as appropriate
4 years ago
matejcik 27803ee8c1 all: drop overwintered field from transaction
4 years ago
matejcik c9fd3f77a5 all: add overwintered field to coin specification
4 years ago
Pavol Rusnak 817b922850 all: add extra_data and timestamp fields to coin specification
4 years ago
matejcik 136307bcae core: propagate coin info to all sanitize functions
4 years ago
matejcik 303c05aba7 core/sign_tx: check if prev_tx has enough outputs to match prev_index
4 years ago
Andrew Kozlik a34637c0f2 core/sign_tx: Check multisig fingerprint before signing inputs.
4 years ago
Tomas Susanka 163220e4b7 core/wallet: properly check decred input
4 years ago
Ondřej Vejpustek 6274cfdf8b core: remove unreachable zcash code
4 years ago
Ondřej Vejpustek d61181d7e8 core: fix transaction header for mixed segwit inputs
4 years ago
Tomas Susanka f0a39df75d core/wallet: check inputs and outputs right after receiving them
4 years ago
Tomas Susanka 0903159d9b core, legacy: make sure OPRETURN ouput is not marked as change
4 years ago
Tomas Susanka 4af9aa547e core: forbid unnecessary fields in OPRETURN output
4 years ago
Andrew Kozlik d800fcbf9f core/sign_tx: If there is a non-multisig input, then change output cannot be multisig.
4 years ago
Andrew Kozlik b3cd760df0 core/webauthn: Disable CTAPHID_WINK function.
4 years ago
Andrew Kozlik e5008eb332 core/webauthn: Remove indistinguishable credentials from the allow list.
4 years ago
Andrew Kozlik cda9de8dd1 core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response.
4 years ago
Andrew Kozlik 0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes.
4 years ago
matejcik f6f041e269 core/sdcard: also catch OSError in the formatting phase
4 years ago
matejcik 3a71a5a05c core/sdcard: show "Wrong SD card" when unlocking SD protect with unformatted card
4 years ago
matejcik 3789a3372b core/sdcard: modify exception handling in fatfs
4 years ago
Andrew Kozlik 8ee0026637 core: Allow PIN entry even when SD protect is enabled and the card is not present.
4 years ago
Konnor Klashinsky 70a1f957ed
Fix BackupDevice layout on 18-word seed wallets
4 years ago
Andrew Kozlik 2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
4 years ago
Andrew Kozlik f610787f8d core/webauthn: Clean up bytes/bytearray typing around uctypes.
4 years ago
Andrew Kozlik e378820f7f core/webauthn: Implement support for Ed25519 signatures in FIDO2.
4 years ago
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
4 years ago
Tomas Susanka 21676a0662 ore/tezos: better wording in delegation cancel
4 years ago
matejcik 7f91bc571c core: ensure default task restarts after a passphrase workflow (fixes #883)
4 years ago
Tomas Susanka 5ee6e56f56
Merge pull request #880 from trezor/tsusanka/sign-verify-ui
4 years ago
matejcik bd9663af79 common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details
4 years ago
Tomas Susanka 86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
4 years ago
Tomas Susanka a8af9feebe core: fix text overflow in some dialogs
4 years ago
Tomas Susanka 744c32991f core: unify sign/verify functions
4 years ago
Tomas Susanka 495a59c282 core: use wire errors instead of ValueErrors where applicable
4 years ago
matejcik 18ac4fc9ca core: update Python facing APIs
4 years ago
matejcik d7b9582386 core/sdcard: add ensure_filesystem option (fixes #868)
4 years ago
Tomas Susanka 6c47bf8230 core: store multiple sessions/caches at the same time
4 years ago
Pavol Rusnak 562671401e
Merge pull request #860 from trezor/prusnak/multisig-show-yours-others
4 years ago
matejcik ddee77ecb6 core: add SD clearing via debuglink
4 years ago
matejcik 1e9352b9e0 core: add SD format dialog, generalize sdcard usage
4 years ago
Pavol Rusnak 7944c1a837
core/monero: add confirmation dialog for unlock_time
4 years ago
Pavol Rusnak a808cc9190
core/apps: await require_confirm should be called without return
4 years ago
Pavol Rusnak b9486c0b33
core: show yours/others in get_address for multisig
4 years ago
Tomas Susanka f947fe97cc core: fix style
4 years ago
Tomas Susanka 0a13f7a441 core: properly limit passphrase to 50 bytes
4 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
4 years ago
matejcik 05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping
4 years ago
Tomas Susanka 15ed5cd19e
core: do not clear cache on ClearSession
4 years ago
Tomas Susanka fd0dc8ed66
core/passphrase: merge 'get from user' functions
4 years ago
Tomas Susanka 7d7ffe3b67
cardano: derive the root and then cache
4 years ago
matejcik 938f347514
core: use DUMMY_CONTEXT constant instead of own instance
4 years ago
matejcik 1f50a13edf
core: use cache for Monero live refresh confirmation
4 years ago
Tomas Susanka b96d7cafbb
core: rework cache and fix cardano caching
4 years ago
Tomas Susanka aa6988a556
core/ui: introduce draw_simple
4 years ago
Tomas Susanka d5763d9cab
all: implement code review comments
4 years ago
Tomas Susanka c65b57affb
core, legacy: remove passphrase_cached
4 years ago
Tomas Susanka 8fa0d8f098
core/passphrase: show dialog to enter the passphrase on host
4 years ago
Tomas Susanka a3f3d4fcdb
remove ping.passphrase/pin
4 years ago
Tomas Susanka b5d6aaf77c
tests: test PassphraseAck options
4 years ago
Tomas Susanka ece351c5e5
core: do not prompt for passphrase if 'always' setting is enabled
4 years ago
Tomas Susanka 466dc4732d
core/passphrase: add button requests
4 years ago
Tomas Susanka 4a0f727f13
core: fix monero
4 years ago
Tomas Susanka cd09f9ce94
all: modify passphrase source to always on device
4 years ago
Tomas Susanka eafd57c301
common, core: add passphrase entry capability
4 years ago
Tomas Susanka 90d5cdfd5b
all: rework passphrase
4 years ago
Tomas Susanka 277e494ffa core/recovery: end dry run before showing success
4 years ago
EtherCore Contributor c03caaf76a
common/defs: switch ERE logo (#808)
4 years ago
Tomas Susanka 0053511c66 utils: introduce format_plural and move format functions to strings.py
5 years ago
matejcik 2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN)
5 years ago
matejcik 29e883ab59 core/monero: fix usage of ctx.wait in pagination
5 years ago
matejcik a79279115e core: move confirm_signal evaluation into concrete Layout implementations
5 years ago
Pavol Rusnak 8a36ead915
common/defs: add Faceboook to recognized apps
5 years ago
Andrew Kozlik 289d8276eb core/fido2: check for HID timeout in send_cmd() (#791)
5 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
5 years ago
Tomas Susanka 30858c4969 tests/ui: omit the red square from screenshots
5 years ago
matejcik f90ba10af3 core: modify function signatures to match python-shamir-mnemonic
5 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
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 faa9078c2b core/recovery: refactor word checks and add a test
5 years ago
Tomas Susanka 6594ee9368 core/recovery: correctly inform about share already entered inside first group
5 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
5 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
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 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 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 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 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 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 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 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 cde944b565
Merge branch 'reorder-usb'
5 years ago
Pavol Rusnak df273bf836
core/usb: reorder endpoints
5 years ago
Tomas Susanka a8b82975a1 core/management: get next u2f counter
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 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
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 7cb125d1cb core/recovery: properly replace homescreens
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 28d30ffd2f core/webauthn: unify signatures of Credential.from_bytes and friends
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
apollo 18c926a34b common/defs: fix zcore signing (#669)
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 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
Pavol Rusnak 0f1e30b235
core: fix typo in get_address
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 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
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 9b7a2095b3
common/defs: update coins info
5 years ago
Tomas Susanka 0f34b50c05 core/features: add sd card and protection
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
apollo 74bcc05e2e common/defs: add ZCR (#611)
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 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
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 2e877b5762
core: refactor fido2 stuff into webauthn/fido2
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
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 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
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
matejcik 03f1403c93 core: clean up backup type handling in reset_device
5 years ago
matejcik 78ecc38b1b core: fix BIP39 backup
5 years ago
Pavol Rusnak 702f865e8d
core/webauthn: let's use Self Attestation for now
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
Andrew Kozlik f5ea81f905 core: Move some PIN-related functions to apps.common.request_pin and implement verify_user_pin().
5 years ago
Andrew Kozlik 6350b1c61c core: Implement SD card protection.
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 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
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 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
Pavol Rusnak 6ad3294f31
core: fix visibility of apps.common.device.U2F_COUNTER
5 years ago
Tomas Susanka c66a1e7780
Merge pull request #497 from romanz/segwit-multisig
5 years ago
Roman Zeyde cb04f5774b core/wallet: fix segwit multisig comment
5 years ago