Commit Graph

1983 Commits (d7d228e716c275f774c8bed57c1e520576b67f62)

Author SHA1 Message Date
Andrew Kozlik aaceb5bcc6 chore(core): Remove USE_SECP256K1_ZKP_BIP340 build option.
3 years ago
Andrew Kozlik ae35086bb9 refactor(core): Rename Hash143 to SigHasher and replace preimage_hash() with two functions.
3 years ago
Andrew Kozlik 398cea8f40 test(core): Add unit tests for BIP-341 signature hash.
3 years ago
Andrew Kozlik 03b1b3bc6b feat(core): Show path warning for SignMessage.
3 years ago
Andrew Kozlik ef2ad57ec8 fix(core): Fix CoinJoin approval check.
3 years ago
Andrew Kozlik 56ac799626 feat(core): Support external inputs in TxWeightCalculator.
3 years ago
Andrew Kozlik f9f0b517e2 feat(core): Support Taproot in TxWeightCalculator.
3 years ago
Andrew Kozlik a635876807 test(core): Add multisig unit tests for TxWeightCalculator.
3 years ago
Andrew Kozlik 9b579094c0 fix(core): Fix TxWeightCalculator.
3 years ago
Andrew Kozlik a5bd1643fc fix(core): Fix OP_PUSH writing.
3 years ago
Andrew Kozlik 7653efb415 chore(core): Disable Taproot for altcoins.
3 years ago
Andrew Kozlik c0f853dc78 chore(core): Disable ownership proof generation for Taproot.
3 years ago
Andrew Kozlik 475b95b11e feat(core): Disable prevtx streaming for Taproot.
3 years ago
Andrew Kozlik 84e31310a1 feat(core): Support Taproot in SignatureVerifier.
3 years ago
Andrew Kozlik a17cdb7cfa feat(core): Implement Taproot signing.
3 years ago
Andrew Kozlik 381e8bc85a feat(core): Implement the BIP-341 common signature message computation.
3 years ago
Andrew Kozlik 99e4ed6f42 chore(core): Support script_pubkey parameter for Bitcoin inputs.
3 years ago
Andrew Kozlik 630c06e782 feat(core): Support Taproot scripts.
3 years ago
Andrew Kozlik 68ad1b07d2 feat(core): Recognize Taproot inputs.
3 years ago
Pavol Rusnak 57fddcfd9d feat(core): recognize Taproot change-outputs
3 years ago
Andrew Kozlik dd7ed61939 feat(core): Implement GetAddress for taproot.
3 years ago
Pavol Rusnak 6406f0640d feat(core): introduce PATTERN_BIP86 to keychain
3 years ago
Andrew Kozlik ae41f7dec8 fix(core): Fix bip340 module build.
3 years ago
Andrew Kozlik 59c0f4383d feat(core): Add key tweaking functions to trezorcrypto.bip340.
3 years ago
Andrew Kozlik bec0634bae feat(core): Improve message signing UI.
3 years ago
Andrew Kozlik cf14e06aa0 feat(core): Show address confirmation in SignMessage.
3 years ago
Andrew Kozlik bc4a56b2c0 feat(core): Support no_script_type option in SignMessage.
3 years ago
Andrew Kozlik c2f1850abb feat(common): Add no_script_type option to SignMessage.
3 years ago
matejcik 0870befe58 docs: add changelogs
3 years ago
matejcik c38efaa9a5 chore: make bitcoin-only checker happy
3 years ago
matejcik 72924a016f tests(core): add unit tests for Icarus and Icarus-Trezor, fix failing tests
3 years ago
matejcik 10e338e005 feat(core/cardano): allow derivation type selection
3 years ago
matejcik f6f52445bd feat(core/cardano): support Icarus, Icarus-Trezor, and Ledger derivations
3 years ago
matejcik f0ae16069c fix(core): do not send passphrase_protection field when device is locked (fixes #1807)
3 years ago
matejcik f818f4bc23 feat(core): derive Cardano seed together with normal seed, if requested
3 years ago
matejcik 387466e073 refactor(core): separate Cardano cryptography into its own module
3 years ago
matejcik eacaffd079 fix(core/ethereum): use built-in ethereum_pubkeyhash() in get_address
3 years ago
matejcik faa807f995 feat(core): show progress for SLIP39 derivation
3 years ago
matejcik 8caac218ec feat(core/cardano): indicate whether Cardano seed should be derived
3 years ago
matejcik bc75d05772 chore(common/defs/fido): add coinbase u2f
3 years ago
Pavol Rusnak a3b83685ef fix(core): fix emulator build on Apple Silicon
3 years ago
Martin Milata a01516389a chore(vendor): update QR-code-generator
3 years ago
Jun Luo 62b649ef5d refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp.
3 years ago
Jun Luo d064aae3f9 feat(common & core & legacy): Stellar, add support for StellarPathPaymentStrictSendOp.
3 years ago
Jun Luo 1dcb8e4913 feat(common & core & legacy): Stellar, add support for StellarManageBuyOfferOp.
3 years ago
Jun Luo 3a5768c4bf refactor(common & core & legacy): Stellar, rename StellarManageOfferOp to StellarManageSellOfferOp and rename StellarPathPaymentOp to StellarPathPaymentStrictReceiveOp.
3 years ago
Martin Milata 1979bcc39c chore(common): bring back eth:xDAI
3 years ago
grdddj 73238135d6 feat(core/ethereum): EIP-712
3 years ago
grdddj 082b7ecd91 feat(core): plural function supports "key/keys" string
3 years ago
grdddj ecc0f6c445 fear(core/ui): add should_show_more layout function
3 years ago
grdddj b1a3618c17 refactor(core/ethereum): rename address.py to helpers.py
3 years ago
Martin Milata 9a7e6c2900 chore(common): update chains and tokens
3 years ago
Andrew Kozlik eb90efd914 chore(crypto,core,legacy): Add return code to hdnode_fill_public_key().
3 years ago
Andrew Kozlik 34621a6b6d fix(crypto,core,legacy): Check private key validity when deriving public key.
3 years ago
Martin Milata ea1b7fbd54 chore(common): update chains and tokens
3 years ago
Martin Milata 87cc44e73a chore(common): update coins support status
3 years ago
matejcik 0e6669bd10 feat(core/stellar): show start/end timestamps in human readable format
3 years ago
matejcik f7c340f333 feat(core/bitcoin): show lock_time as human readable datetime
3 years ago
matejcik 1d72085b5c feat(core): implement conversion from timestamp to datetime
3 years ago
matejcik e972839ac7 style(all): fix pylint complaints
3 years ago
matejcik f88f568f1e feat(all): enable pylint globally
3 years ago
matejcik 84c310a2ba chore(core): remove forgotten and unused apps/common/confirm.py
3 years ago
Pavol Rusnak b2ff86ff3a
fix(common): drop unusable coins BELL and ZNY (#1872)
3 years ago
Pavol Rusnak 7b2825e68e fix(common): rebrand brhodium to xrhodium
3 years ago
Ondřej Vejpustek a924bd4dc6 build(core): do not link gen_context.o to trezor_lib
3 years ago
Ondřej Vejpustek dbfc7d241f chore(vendor,crypto): bump version of secp256k1-zkp
3 years ago
Ondřej Vejpustek 29ce860d46 refactor(core,crypto): rename schnorr to BIP340
3 years ago
Ondřej Vejpustek 15bb085509 refactor(core,crypto): make public key derivation functions return
3 years ago
Ondřej Vejpustek 172f399b29 style(core): fix style
3 years ago
Ondřej Vejpustek 7ac0bdd215 feat(core): make core use Schnorr signatures
3 years ago
Ondřej Vejpustek 26463eb3ce feat(core): make core use ecdsa from secp256k1_zkp wherever possible
3 years ago
Pavol Rusnak 9e0cfa6783 fix(core): we don't need separate linker script for zkp
3 years ago
Pavol Rusnak d505edaaa0 fix(core): set ECMULT_GEN_PREC_BITS = 4 for secp256k1_zkp
3 years ago
Pavol Rusnak 0d6bc43fd5 feat(core): enable secp256k1-zkp
3 years ago
Pavol Rusnak 47e17aab4d fix(core): fix build on aarch64
3 years ago
Martin Milata 3882b89be9 fix(core/ethereum): ask before showing paginated data field
3 years ago
Martin Milata e6c42b7fa6 fix(core/ui): fix off-by-one in in_area
3 years ago
Martin Milata 8eb4bcff29 feat(core/ui): allow text without header
3 years ago
David Misiak 13c4fb97df fix(cardano): forbid multisig pool registration [no changelog]
3 years ago
Andrew Kozlik 13cbb59082 feat(common): Add script_pubkey field to TxInput message.
3 years ago
Andrew Kozlik 9d03112846 feat(core): Implement sending to taproot addresses.
3 years ago
Pavol Rusnak ea0fb08fed feat(core): add witness version to encode_bech32_address()
3 years ago
Pavol Rusnak dbc464750b feat(common): enable Taproot on Bitcoin
3 years ago
Pavol Rusnak 7e64ccbaf9 feat(core): add BIP-350 test cases to test_trezor.crypto.bech32
3 years ago
Pavol Rusnak a45e103875 fix(core): remove 3 BIP-173 test cases from test_trezor.crypto.bech32
3 years ago
Pavol Rusnak 9aa07c7f96 feat(core): update bech32.py to support Bech32m
3 years ago
Pavol Rusnak ac4cb88184 feat(common): add taproot field to coin definitions
3 years ago
Pavol Rusnak fea240ed40 feat(core): add support for Taproot descriptors
3 years ago
Pavol Rusnak 4ed9f00c73 feat(common): add support for Taproot input and output scripts
3 years ago
matejcik b6837d19b7 fix(core/nem): fix NEM usage of format_amount
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
matejcik 32be2c09b9 feat(core): enable f-strings for micropython
3 years ago
gabrielkerekes 4aaf6db9a2 chore(cardano): update docs, changelog and ui test fixtures
3 years ago
gabrielkerekes 1f33ab420d feat(cardano): update transaction signing for multisig
3 years ago
gabrielkerekes 21281d7cf4 feat(cardano): add support for script addresses derivation
3 years ago
gabrielkerekes dd9652cd07 feat(cardano): add get-native-script-hash call
3 years ago
gabrielkerekes 54909681a8 feat(cardano): add support for 1854 and 1855 path roots
3 years ago
Martin Milata 70bb0ee04f fix(core): bitcoin-only all_modules.py
3 years ago
Jan Pochyla 901580817d chore(core/rust): fixes and formatting
3 years ago
Jan Pochyla 5eefcffc7c chore(core): prepare for fuzzing targets
3 years ago
Jan Pochyla 2703d714c2 feat(core): add Rust UI components, layouts, text rendering
3 years ago
Ondrej Mikle b905ac04ef fix(core/emulator): Use -Og instead of -O0 in debug emulator builds to avoid segfault
3 years ago
Pavol Rusnak b03b688f2d fix(core): avoid accidental build with broken stack protector (boardloader)
3 years ago
Ondrej Mikle a85d2483ff chore(legacy & core): changelogs added
3 years ago
Ondrej Mikle 0b077fea8a fix(core & legacy): explicit compiler versions
3 years ago
Ondrej Mikle e982181148 style(core & legacy): buggy compiler checks
3 years ago
Ondrej Mikle 6ea4b7b211 fix(core & legacy): better styled compiler checks
3 years ago
Ondrej Mikle 6b849b1d4d fix(core & legacy): avoid accidental build with broken stack protector
3 years ago
matejcik c30091b9c5 refactor(core/stellar): replace confirm_timebounds_stellar with confirm_properties
3 years ago
matejcik 1dcfdebf7a feat(all): make Stellar timebounds required
3 years ago
matejcik 98f0496b2c feat(core/stellar): add type checking to Stellar app
3 years ago
matejcik 1b601b3e08 feat(common): strong typing for Stellar protobuf messages
3 years ago
Martin Milata 81e66cb024 style(core/rust): enable clippy lints
3 years ago
Martin Milata bd005e33df refactor(core): decouple T1 button handling from touch
3 years ago
matejcik d0efdfa715 fix(core/rust): enable "test" feature for Rust unit test
3 years ago
Jan Pochyla 2c8dec93a6 feat(core): Split unix main, link core obj into Rust test target
3 years ago
matejcik 7a17124b43 refactor(core/rust): do not rely too much on new_exception helpers
3 years ago
matejcik 5e452dc57c refactor(core/rust): propagate unsafety of raise_exception
3 years ago
matejcik 806beb77d2 feat(core/rust): improve catch_exception, make use of Rust 1.55
3 years ago
matejcik 795ed2d339 fix(core/rust): fix "unnecessary unsafe" warning
3 years ago
matejcik 31de21718f feat(core/rust): introduce Obj.is_null()
3 years ago
matejcik b666895303 feat(core/rust): catch, handle and propagate uPy exceptions
3 years ago
matejcik 8abcb6f8cc chore(core/rust): allow unused macros
3 years ago
Jan Pochyla 7c65f0357a feat(core/rust): Implement exception catching in Rust
3 years ago
Martin Milata aace875fef chore(vendor): bump micropython to 1.17
3 years ago
Martin Milata 7111702f00 chore(vendor): bump micropython to 1.16
3 years ago
Martin Milata b062b95348 chore(vendor): bump micropython to 1.15
3 years ago
Martin Milata d69b23e3c5 chore(core/emulator): ignore MICROPY_UNIX_COVERAGE
3 years ago
Pavol Rusnak d153082c9c chore(vendor): bump micropython to 1.14
3 years ago
Martin Milata 53e2573691 docs(core): fix dates in changelog
3 years ago
Martin Milata 35a41fd957 Merge branch 'release/21.09' into master
3 years ago
Martin Milata a7a7570496 ci(core): enable rust unit tests
3 years ago
Martin Milata a007e062ab style(core): apply rustfmt
3 years ago
matejcik ae4dd42d18 refactor(core/ethereum): reorganize sanity checks, disallow chain_id 0
3 years ago
matejcik 8931450d21 chore(common): enable Palm network
3 years ago
matejcik e80077e0a4 feat(core/ethereum): enable type-checking for Ethereum app
3 years ago
matejcik 0c2863fc8d feat(core/ethereum): use TokenInfo object instead of tuples
3 years ago
matejcik 4b34e4c001 fix(core): allow AnyStr as parameter for unhexlify
3 years ago
matejcik 30b08d949b feat(common): add default values to EthereumSignTx fields
3 years ago
matejcik 96ed53cc1c refactor(core,legacy): remove Wanchain special handling
3 years ago
matejcik 639406b01f feat(all): make chain_id mandatory
3 years ago
arbitrarylink f051225730 feat(core,legacy): add support for Ethereum 64-bit chain_id
3 years ago
Tomas Susanka cec1f39a90 chore(core, legacy): bump versions
3 years ago
matejcik 9276b17023 fix(common): regenerate support data
3 years ago
matejcik eb34c0850e fix(common): regenerate support data
3 years ago
Tomas Susanka 9a6451342a chore(core): generate Changelog
3 years ago
matejcik 174985619d chore(common): bump chains and tokens for release
3 years ago
matejcik 7aed8d535d feat(all): re-enable Firo (fixes #1767)
3 years ago
Martin Milata f37ca13f1a refactor(core): disable SD, SBU, fatfs for T1 build
3 years ago
gabrielkerekes 2c65b00951 chore(cardano): add changelog entries
3 years ago
gabrielkerekes 8e3bc39b56 chore(cardano): update and format README
3 years ago
gabrielkerekes 7c3b5c86a5 fix(cardano): forbid mixing paths from multiple accounts in a single transaction
3 years ago
gabrielkerekes 28f0f60295 feat(cardano): update tests for streamed tx signing
3 years ago
gabrielkerekes b0c8590f00 feat(cardano): streamed transaction signing
3 years ago
gabrielkerekes d2a5be4e38 feat(cardano): prepare protobuf messages for streamed tx signing
3 years ago
matejcik d33d61d84e chore(core): remove Lisk
3 years ago
Frederik Bolding 38fa9197ca feat(core,python): support for Ethereum EIP1559 transactions
3 years ago
Martin Milata b5710b820a docs(core): replace Purpose48 with BIP-48
3 years ago
gabrielkerekes 4f7c6b3586 feat(common): change all protobuf message type hints to strings
3 years ago
matejcik 725d1bd961 docs(core): add changelog entry
3 years ago
matejcik f78363ecdc refactor(core/ui): do not use parameter for styling in get_next_u2f_counter
3 years ago
Martin Milata 2a91052b02 refactor(core/ui): move altcoin and webauthn layouts to separate file
3 years ago
Martin Milata 31052007ff refactor(core): enable mypy for apps.management
3 years ago
Martin Milata e57027fc5c refactor(core): convert apps.management.change_wipe_code to layouts
3 years ago
Martin Milata 5a0ea3f146 refactor(core): convert apps.management.recovery_device to layouts
3 years ago
Martin Milata 312876ab67 refactor(core): convert apps.management.reset_device to layouts
3 years ago
Martin Milata 574dcbc8a3 refactor(core): convert apps.common to layouts
3 years ago
Martin Milata 875cc0cb1a refactor(core): convert apps.webauthn to layouts
3 years ago
matejcik 9ab1891b22 feat(common): more required fields in messages-management
3 years ago
matejcik 5dcb51458f chore(core/ui): drop no longer used confirm_proposals_tezos
3 years ago
matejcik fcb5f88318 fix(core/bitcoin): nicer UI for ownership proofs
3 years ago
matejcik b30c9f7584 refactor(core/stellar): use semantically appropriate layouts everywhere
3 years ago
matejcik 16b87e4d50 fix(core/stellar): fail cleanly when asset code has wrong length
3 years ago
matejcik ad6976e01f refactor(core): use confirm_blob instead of confirm_hex in apps
3 years ago
matejcik dcc38f5267 refactor(core/ui): replace confirm_hex, clarify API
3 years ago
matejcik 6d15e90ed3 refactor(core/ui): reorganize line width constants
3 years ago
matejcik cb882df100 feat(core): in debug mode, dump contents of received protobuf messages
3 years ago
Martin Milata 8da978981e perf(core): share wire buffer between wire and debuglink
3 years ago
Martin Milata 582e1318c4 feat(core/emulator): support protobuf messages in memory dumps
3 years ago
Andrew Kozlik 334103b089 refactor(core/crypto): Optimize DER encoding of signatures.
3 years ago
Andrew Kozlik 2964f2e855 refactor(core/cardano): Clean up variable_length_encode().
3 years ago
Andrew Kozlik 97ca1e3341 chore(core): Add offset parameter to cbor.decode().
3 years ago
Andrew Kozlik 7811204ed5 refactor(core/bitcoin): Use HashWriter in address derivation.
3 years ago
Andrew Kozlik 2c003052f5 refactor(core/bitcoin): Change CoinInfo.script_hash to be a HashContext.
3 years ago
Andrew Kozlik 27e6f35f78 refactor(core/bitcoin): Change scripts to use writer semantics.
3 years ago
Andrew Kozlik 8538f55edc refactor(core/bitcoin): Use global static buffer for Tx serialization.
3 years ago
Martin Milata 412d06fdfe docs(core+legacy): use towncrier for generating CHANGELOG.md
3 years ago
Pavol Rusnak d35071d732 docs(core+legacy): update changelogs to new format
3 years ago
Andrew Kozlik 7277a49047 fix(common): Add new rpId to Binance's FIDO definition.
3 years ago
Pavol Rusnak f740515c85 fix(core,crypto): add more test cases from bip-173
3 years ago
Martin Milata ceaf4da617 fix(core): explicitly refresh display on T1
3 years ago
matejcik 2b3c75c4de fix(core): properly respond to USB events while on a paginated screen
3 years ago
matejcik cf15dce326 refactor(core/ethereum): improve API of the rlp module
3 years ago
Pavol Rusnak 9a9b0eb052
fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
3 years ago
Martin Milata 0d251fc01a Merge branch 'release/21.07'
3 years ago
Pavol Rusnak ff21ea3d5c fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
3 years ago
Pavol Rusnak cd9c4e478d docs(core): fix typo in keyctl-proxy help
3 years ago
Pavol Rusnak 0a951b8a77 fix(core): don't use format strings in keyctl-proxy
3 years ago
Pavol Rusnak 3d69ca1b1b chore(vendor): update nanopb to 0.4.5
3 years ago
matejcik b41d4c71f0 feat(core/emulator): JSON memory map dump
3 years ago