Commit Graph

990 Commits (d80468055200bd07cebffd877255d98ae7300d0d)

Author SHA1 Message Date
Andrew Kozlik d58cd3987b core/sign_tx: Minor updates based on code review.
4 years ago
Andrew Kozlik be39f271b0 core/sign_tx: Rework transaction footer writing.
4 years ago
Andrew Kozlik b60f267da9 core/sign_tx: Rework transaction header writing.
4 years ago
Andrew Kozlik c1effcc374 core/sign_tx: Updates based on code review.
4 years ago
Andrew Kozlik c2a0f83558 core/sign_tx: Move script derivation to scripts module.
4 years ago
Andrew Kozlik d0b80bddc8 core/tests: Fix unit tests after sign_tx refactor.
4 years ago
Andrew Kozlik be7e98aa47 core/sign_tx: Move Bitcoin class to bitcoin.py.
4 years ago
Andrew Kozlik a07e125793 core/sign_tx: Consolidate wallet path and multisig fingerprint checking.
4 years ago
Andrew Kozlik 27e6720f3d core/sign_tx: cleanup
4 years ago
Andrew Kozlik 987b70f1f5 core/sign_tx: Move header prepending up by one level.
4 years ago
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
Pavol Rusnak 066866488b
core: add temporary "src1" folder
4 years ago
matejcik a623799a11 core: remove f-strings from headertool (python 3.5 compatibility)
4 years ago
Pavol Rusnak 25cc836660
core/extmod: fix build of modtrezorui when TREZOR_MODEL is set to '1'
4 years ago
Tomas Susanka 20d66adddd core: disable passphrase_always_on_device when turning off passphrase
4 years ago
Tomas Susanka 47f104bceb core, legacy: bump versions
4 years ago
Pavol Rusnak 4b5a84eab7
core+legacy: update changelogs
4 years ago
Ondřej Vejpustek c461692f3a core: implement random delay interrupts
4 years ago
Ondřej Vejpustek d5bfe6b32f crypto: add chacha_drbg
4 years ago
matejcik 72cde5a57d core: disallow parsing options after command (fixes #951)
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
matejcik 2ccebd3175 core: raise SystemExit when exitting emulator (now that sys.exit is removed)
4 years ago
matejcik 4bddeefea0 core: unify mpconfigports for emulator and board
4 years ago
matejcik d0f709b8cc core: fix and use MAKEMODULEDEFS instead of explicit registration
4 years ago
matejcik a6976355c3 core: remove readline from built firmware
4 years ago
Dusan Klinec 25b6e9058f xmr: proto - add fields for protocol optimization
4 years ago
Andrew Kozlik bc4e8eaa16 core/webauth: Update readme with Ed25519 algorithm and certificates.
4 years ago
Pavol Rusnak 197218338a
Merge pull request #936 from trezor/rework-serialize-deserialize
4 years ago
matejcik eec0615444 core: drop sys.pyi from mocks (fixes #934)
4 years ago
Andrew Kozlik c57bc62a05 core/tools: Add attestation certificate generator for FIDO2.
4 years ago
Andrew Kozlik fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements.
4 years ago
Pavol Rusnak a7806d08d7
core/crypto: remove unused bip32.deserialize function
4 years ago
Pavol Rusnak 1695228d80
core/crypto: remove unused serialize_private function
4 years ago
Pavol Rusnak f07ff17fad
core/crypto: add missing field to Blake2b constructor
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
Pavol Rusnak 336a417233 core/bootloader: distinguish between a vendor change and downgrade with wipe
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
Ondrej Mikle 634ed5aabc
core: commands for flashing via JLink (#911)
4 years ago
Tomas Susanka 025436db47 core/changelog: add FIDO2's Ed25519
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 bd9e15bb8c core/tests: add unit tests for prevhash writers
4 years ago
matejcik a9faa4d4ab core/tests: fix inline variant of assertRaises
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 ccffefd667 core/boot: do not catch OSError in boot wait
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
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
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