matejcik
a1c37cac59
git subrepo push common
...
subrepo:
subdir: "common"
merged: "8335ee632"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "8335ee632"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-08-10 11:48:58 +02:00
Frederik Bolding
38fa9197ca
feat(core,python): support for Ethereum EIP1559 transactions
...
Initial EIP1559 implementation
Fix a few small issues
Progress on Python lib implementation and firmware
Fix RLP length
Start fixing tests
Fix legacy transactions
Simplify API and logic
Add EIP1559 tests
Fix access list formatting
Fix UI visiblity issue
Fix commented out code
fix: correct linting issues
Fix access_list protobuf formatting
Remove unneeded code
Remove dead code
Check tx_type bounds for EIP 2718
Reduce code duplication
Prefer eip2718_type over re-using tx_type
Add more tests
Simplify format_access_list
Simplify sign_tx slightly
Change Access List format and add logic to encode it
Fix a bunch of small PR comments
Fix a linting issue
Move tests out of class and regenerate
Remove copy-pasted comments
Add access list to CLI
Simplify _parse_access_list_item
Fix small mistakes following rebase
Fix linting
Refactor to use a separate message for EIP 1559 tx
Simplify changed legacy code
Fix a few small PR comments
Fix linting
fix(legacy): recognize SignTxEIP1559 on legacy build
Fix PR comments
2021-08-10 11:00:29 +02:00
gabrielkerekes
4f7c6b3586
feat(common): change all protobuf message type hints to strings
...
In order to support recursive protobuf messages, which will be needed by Cardano's native scripts.
[no changelog]
2021-08-05 12:10:30 +02:00
matejcik
9ab1891b22
feat(common): more required fields in messages-management
...
[no changelog]
2021-08-04 15:03:11 +02:00
Andrew Kozlik
7277a49047
fix(common): Add new rpId to Binance's FIDO definition.
2021-07-21 13:19:16 +02:00
Martin Milata
0d251fc01a
Merge branch 'release/21.07'
2021-07-16 14:34:20 +02:00
matejcik
8e6a647e89
fix(core): do not send ButtonRequest on every paging event
...
partial revert of 54db2291f2
from #1671
(cherry picked from commit 1e1963f1ee
)
2021-07-12 00:39:54 +02:00
matejcik
1e1963f1ee
fix(core): do not send ButtonRequest on every paging event
...
partial revert of 54db2291f2
from #1671
2021-07-09 15:00:29 +02:00
Szymon Lesisz
66bf309fbf
fix(common): fix Ropsten key in blockchain_link
...
additionally updated support in suite (trop, xrp, txrp)
2021-07-07 14:46:53 +02:00
Andrew Kozlik
3f647f1b7b
chore(common): Ensure that testnet coins use slip44 coin type 1.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
c067618828
fix(common): Fix incorrect SLIP-44 coin type for Bgold and SmartCash Testnets.
2021-06-30 18:25:58 +02:00
gabrielkerekes
db657615f4
fix(cardano): use OrderedMap for output tokens and withdrawals
2021-06-24 08:24:47 +02:00
gabrielkerekes
4e5772662c
fix(cardano): don't allow duplicate withdrawals
2021-06-24 08:24:42 +02:00
matejcik
74bd26b160
chore(tests): remove remaining input_flow instructions from jsons
2021-06-23 11:51:18 +02:00
matejcik
7cdde940af
chore(tests): adapt device tests to paging information ButtonRequests
2021-06-22 11:25:12 +02:00
matejcik
1012ee8497
feat(core): send ButtonRequests for paging events
2021-06-22 11:25:12 +02:00
Vladimir Volek
6fef12128b
feat: cardano blockchain link definitions
2021-06-18 13:44:08 +02:00
matejcik
74cf309a93
git subrepo push common
...
subrepo:
subdir: "common"
merged: "a62380e21"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "a62380e21"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:17:21 +02:00
matejcik
e4bb3b2f6c
chore(common): enable Syscoin support for Connect
2021-06-09 13:16:45 +02:00
matejcik
f48e2ea89f
git subrepo push common
...
subrepo:
subdir: "common"
merged: "813156c62"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "813156c62"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:13:32 +02:00
gabrielkerekes
b2de8909d1
fix(core/cardano): reintroduce max tx output size
...
Output size is currently limited to 4000 bytes at protocol level. Given the maximum transaction size Trezor can handle (~9kB), we also want to enforce this size limit here so that when the limit is raised at protocol level again, Trezor would still not be able to produce larger outputs than it could reliably spend. Once Cardano-transaction signing is refactored to be completely streamed and maximum supported transaction size is thus raised, this limit can be lifted.
2021-06-08 15:02:24 +02:00
gabrielkerekes
a92b5fc333
fix(core/cardano): forbid tx outputs with both address and address parameters
2021-06-08 15:02:24 +02:00
gabrielkerekes
597402eab8
refactor(core/cardano): decouple address parameters validation
2021-06-08 15:02:24 +02:00
matejcik
845a66a7de
chore(common/tools): drop outdated and unused CoinDef generator
2021-06-08 09:55:19 +02:00
matejcik
9790a338f8
feat(common/protob): mark values as bitcoin_only in protobuf definitions
2021-06-08 09:55:19 +02:00
matejcik
215d35d870
fix(common/protob): use proper field type for backup type on debuglink
2021-06-08 09:55:19 +02:00
matejcik
266955ba65
refactor: rework pb2py generator
...
This also includes the capability to build Rust protobuf blobs.
2021-06-08 09:55:19 +02:00
matejcik
00d4b0a4a9
fix(common/tools): typo in support.py output
2021-06-04 11:38:18 +02:00
matejcik
2fac964a29
chore(common): disable Firo support
2021-06-04 11:38:18 +02:00
Pavol Rusnak
fce3640848
fix(common): remove dead coin Hatch
2021-06-04 10:10:26 +02:00
Szymon Lesisz
4e005de02f
common: update DOGE min_fee and dust_limit
...
DOGE fee policies have been changed to:
1 DOGE base fee
+ 1 DOGE per 1000 bytes
+ 1 DOGE for every output below 1 DOGE
sources:
https://github.com/dogecoin/dogecoin/issues/1650#issuecomment-722229742
https://github.com/trezor/trezor-suite/issues/2973#issuecomment-730607729
2021-05-26 16:00:29 +02:00
matejcik
1595354e37
git subrepo push common
...
subrepo:
subdir: "common"
merged: "6c3c284e2"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "6c3c284e2"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-05-26 14:18:31 +02:00
matejcik
aaa3ce6117
fix(core/bitcoin): fix CoinJoin authorization with new cache
2021-05-06 13:14:21 +02:00
Martin Milata
49965aae7e
fix(common): bitcoin:XRC wallet link
2021-05-04 14:28:09 +02:00
gabrielkerekes
bf3e64ff20
fix(common): add isort:skip_file to files generated by pb2py
2021-04-23 11:09:29 +02:00
gabrielkerekes
2313293477
feat(core/cardano): add support for catalyst voting registration
2021-04-23 11:09:29 +02:00
gabrielkerekes
2c503b16f5
fix(common): fix one value enums in pb2py
2021-04-23 11:09:29 +02:00
Pavol Rusnak
6b371749bc
fix(common): fix errors in coin definitions
2021-04-07 16:37:56 +02:00
HyperPeek
13fbb25f0b
feat(common): add tRVN ( #1561 )
2021-04-07 16:26:52 +02:00
Martin Milata
0278998f72
style(common): mypy: disable implicit Optional for function arguments
2021-04-01 11:12:30 +02:00
Rafael Korbas
a9b8b0e119
feat(core/cardano): chunked serialization of signed transaction
2021-03-26 11:15:19 +01:00
gabrielkerekes
3cb686d452
fix(core/cardano): make witnesses order deterministic
2021-03-26 11:15:19 +01:00
Pavol Rusnak
1cc719bf49
fix(common): don't use grayscale png for coin icons
2021-03-25 13:49:53 +01:00
Pavol Rusnak
da7214d82f
fix(common): update support.json to include Firo
2021-03-25 13:39:59 +01:00
a-bezrukov
a305c774df
fix(common): Zcoin rebrand to Firo ( #1544 )
2021-03-25 13:35:10 +01:00
Andrew Kozlik
b0ed553847
style(core): Fix black formatting.
2021-03-23 11:02:04 +01:00
Pavol Rusnak
048205b864
fix(common): magnum wallet is dead
...
https://twitter.com/Magnum_Wallet/status/1333472916588081154
2021-03-20 11:21:09 +01:00
matejcik
cb7152542d
feat: drop DebugLinkShowText functionality
2021-03-18 10:59:51 +01:00
Rafael Korbas
74ed5b7018
feat(core/cardano): Implement bech32 asset ids based on CIP-0014
2021-03-18 09:53:33 +01:00
Rafael Korbas
bd4512b53a
fix(core/cardano): Allow stake pool registrations with zero margin
2021-03-18 09:35:08 +01:00
Pavol Rusnak
cc9dd66729
feat(common): let's work with Trezor Suite instead of the web wallet
2021-03-17 16:47:57 +01:00
JoeGruff
e3ea32a986
multi: Add decred staking.
...
Add two new input and four output script types.
Decred ticket purchases consist of a stake submission, op returns, and
change addresses. Although change addresses are allowed by consensus,
they are no longer used in practice and so have been given the
restrictions of a null pubkey and no value. Stake scripts are almost
identical to p2pkh or p2sh except for an extra opcode in front. Inputs
are currently only used in the form of one input three outputs with the
first output, or stake submission, paying to a public key hash, or with
two inputs and five outputs with the stake submission paying to a
multisig script hash. The op returns are directed to the user in the
case of one and the voting service provider and user in the case of two.
One of the sstx commitment for a ticket must pay back to the trezor
wallet. This is checked and an error is thrown if we don't find the
expected public key hash.
Because this adds the ability to create new types of outputs once the
ticket votes, two new input script types are also needed. A successful
vote will lead to a stake generation script that must be spent, and an
unsuccessful vote will lead to a revocation script that must be spent.
If we allowed stake change scripts to have a valid pubkey, that too
would require another op code, but we disallow those for output.
2021-03-17 12:16:08 +01:00
Pavol Rusnak
6c11bc60d7
common/defs/fido: add namecheap
2021-03-15 17:22:12 +01:00
Roman Zeyde
b2877afa7f
feat(common): add public_key to ECDHSessionKey
2021-03-08 15:59:00 +01:00
Pavol Rusnak
4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87
2021-03-03 12:07:00 +01:00
Ondrej Mikle
d0b630abfc
chore(legacy): return code for reboot call
2021-03-03 12:06:59 +01:00
Ondrej Mikle
2dccbf99d4
chore(legacy): add reset to bootloader protobuf message
2021-03-03 12:06:59 +01:00
matejcik
35505e9a17
chore(common): regenerate coins_details
2021-03-01 12:05:54 +01:00
matejcik
c101754842
fix(common/tools): cast a wider net when looking for CMC match
2021-03-01 12:05:54 +01:00
matejcik
ed0ac98970
fix(common/tools): strip "mainnet" from Ethereum network names
2021-03-01 12:05:54 +01:00
matejcik
090d103382
fix(common/tools): cleaner handling of duplicity overrides
2021-03-01 12:05:54 +01:00
Pavol Rusnak
17fa6ab4ec
chore(common): update chains+tokens
2021-03-01 12:05:54 +01:00
Rafael Korbas
cf871ee754
fix(core/Cardano): do not show change output in byron-shelley transfers
2021-02-25 16:41:12 +01:00
Martin Milata
db2db8e6f3
feat(common): add hold_ms to DebugLinkDecision
2021-02-24 00:10:10 +01:00
Pavol Rusnak
a5778d1209
chore(common): regenerate coins_details.json
...
[skip_ci]
2021-02-11 17:28:45 +01:00
gabrielkerekes
d4dcd7bff9
fix(core/cardano): allow staking accounts beyond 100'
2021-02-11 09:55:23 +01:00
matejcik
576d431058
feat(common): set more fields as required ( #1406 )
2021-02-10 10:56:52 +01:00
matejcik
bf562cfd4b
feat(core/misc): enable typing for misc app
2021-02-10 10:56:52 +01:00
matejcik
ccd241fe55
feat(core/cardano): enable typing for Cardano app
2021-02-10 10:56:52 +01:00
Pavol Rusnak
18b51b856b
common/fido: update icons for github, mojeid and slushpool ( #1456 )
2021-02-08 16:51:49 +01:00
Pavol Rusnak
1d4cff97ec
git subrepo push common
...
subrepo:
subdir: "common"
merged: "944742aa7"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "944742aa7"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2021-02-02 14:50:35 +01:00
Rafael Korbas
e4c406822c
Add multiasset sending and min validity to Cardano transactions
2021-01-27 18:26:40 +01:00
Pavol Rusnak
345ef52949
feat(proto): add amount_unit to AuthorizeCoinJoin and SignTx
2021-01-22 14:07:36 +01:00
Pavol Rusnak
4ed714ba47
common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins
2021-01-21 23:46:29 +01:00
Pavol Rusnak
6689b9c22f
common/protob: add GetAddress.ignore_xpub_magic field
2021-01-21 23:46:29 +01:00
Rafael Korbas
3a7a8e4d77
Disable "at least one output" restriction for Cardano, warn instead
2021-01-20 16:00:30 +01:00
mcudev
b8ffcadf94
common/defs/fido: add gemini webauthn ( #1416 )
2021-01-19 14:15:19 +01:00
Pavol Rusnak
a7e7f6fc5f
common/defs: fix typo in cointool; remove icons of already deleted coins
...
[skip_ci]
2021-01-13 19:52:59 +01:00
Pavol Rusnak
a205a86505
docs: fix typo
...
[skip_ci]
2021-01-13 11:06:36 +01:00
Pavol Rusnak
edb1243f64
feat(proto): add descriptors related fields to GetPublicKey/PublicKey
2021-01-08 14:17:09 +01:00
matejcik
9a9f23c54e
chore(common): regenerate coins_details
2021-01-04 12:17:55 +01:00
matejcik
8cae43f874
fix(common): drop non-functional wallet links ( fixes #1400 )
2021-01-04 12:17:40 +01:00
Pavol Rusnak
d657cdaeef
fix(common): update protob combine script to reflect new changes
2020-12-10 16:53:00 +01:00
Pavol Rusnak
1187e4ddaf
style(common): use new syntax for typing in autogenerated protobuf enums
2020-12-01 15:52:29 +01:00
matejcik
58387a5f04
fix(common): drop Zilliqa token ( fixes #1318 )
2020-11-20 18:55:35 +01:00
matejcik
f0ede24bd7
chore(common): refresh coins details
2020-11-20 18:55:35 +01:00
matejcik
dc7f49aeea
chore(common): update tokens and support data
2020-11-20 18:55:35 +01:00
matejcik
1bade86792
feat(common): load Ethereum networks from upstream
2020-11-20 18:55:35 +01:00
matejcik
e72b6abf47
feat(common/tools): use pathlib in cointool
2020-11-20 18:55:35 +01:00
matejcik
ac65867771
feat(common): move out blockbook urls to a separate file
2020-11-20 18:55:35 +01:00
matejcik
f709df02d6
feat(common/tools): allow overriding non-token network duplicity info
2020-11-20 18:55:35 +01:00
matejcik
e8fcdbb426
feat(common): add upstream Ethereum chains repository
2020-11-20 18:55:35 +01:00
Rafael Korbas
b311bd4d4a
Add displaying of TTL to cardano transaction, align url validation with Ledger
2020-11-20 15:58:50 +01:00
Rafael Korbas
b261f789f3
Add support for stakepool registration to Cardano
2020-11-20 15:58:50 +01:00
Pavol Rusnak
c6e78e525a
fix: remove PIVX ( #1359 )
2020-11-20 12:12:42 +01:00
Huge
e871a1c4ae
docs(common): remove mention of deprecated folder ( #1349 )
...
There is no coins/ subdirectory anymore so it makes no sense to describe it.
2020-11-17 15:43:01 +01:00
Pavol Rusnak
f0968e8f66
common: don't use Beta/Next but rather Suite
2020-11-14 16:45:31 +01:00
Pavol Rusnak
de44454cbf
common: reintroduce accountviewer.stellar.org
2020-11-14 16:42:43 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
2020-11-11 14:43:50 +01:00
Andrew Kozlik
f71af43874
chore(common): Add sanity checks for protobuf definitions.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
9e5d5bd5f9
feat: Add support for experimental field flag in protobuf.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
ad6a0bc2a2
chore(common): Add new request types TXORIGINPUT and TXORIGOUTPUT.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
443e0c101e
chore(common): Add orig_hash and orig_index fields to TxInput and TxOutput.
2020-10-23 15:07:15 +02:00
Martin Milata
0376670404
feat(common): expose 'unstable' option in generated code
2020-10-16 13:53:31 +02:00
Martin Milata
314cd260eb
feat(common): add experimental_features setting
2020-10-16 13:53:31 +02:00
Martin Milata
b2c4bbdaa2
feat(common): add auto_lock_delay and display_rotation to Features
2020-10-02 11:06:16 +02:00
Rafael Korbas
66dbdc2462
Enforce network id/protocol magic consistency for cardano show address
2020-09-29 08:55:28 +02:00
matejcik
46e8804477
docs(common): add comments and reserved fields to TxAck subtypes
...
this will hopefully make it more difficult to break TransactionType
compatibility
2020-09-25 12:32:44 +02:00
matejcik
0eed360037
chore: make tx type names shorter
...
as suggested by @andrewkozlik:
TxAckInputType -> TxInput
TxAckOutputType -> TxOutput
TxAckPrevTxType -> PrevTx
TxAckPrevInputType -> PrevInput
TxAckPrevOutputType -> PrevOutput
2020-09-23 16:00:10 +02:00
matejcik
396de3f05e
feat(common): add more required fields
2020-09-23 16:00:10 +02:00
matejcik
185c2ac17d
feat(common): specialize TxAck messages, add more required fields
2020-09-23 16:00:10 +02:00
matejcik
8847c58bbf
feat(common): allow overriding wire_type of a generated message
2020-09-23 16:00:10 +02:00
matejcik
90ee5f3d38
feat!: implement protobuf required fields and default values
...
BREAKING CHANGE: this makes arguments to protobuf constructors
keyword-only, and arguments corresponding to required fields are now
mandatory
2020-09-23 16:00:10 +02:00
Pavol Rusnak
0799b64b29
chore(common/defs): regenerate coins_details.json
2020-09-23 11:46:26 +02:00
Pavol Rusnak
f8489f16e4
fix(common/defs): remove FSN, ICX which migrated to mainnet
2020-09-23 11:31:09 +02:00
Pavol Rusnak
fc5847854b
fix(common/defs): add BNB wallet
2020-09-18 11:05:31 +02:00
Martin Milata
7d37b2c90f
common: add PromptTemporarily to SafetyChecks enum
2020-09-18 09:02:40 +02:00
Martin Milata
9f066e877d
common: add SafetyCheckLevel to Features
2020-09-18 09:02:40 +02:00
Andrew Kozlik
5d745d5d04
common/protob: Add commitment_data to TxInputType.
2020-09-08 19:36:10 +02:00
Tomas Susanka
b99b8b3df3
Merge remote-tracking branch 'origin/release/2020-09'
2020-09-03 13:17:23 +02:00
Pavol Rusnak
2148402f84
common/defs: update coins details
2020-09-02 15:05:50 +02:00
Tomas Susanka
ba36cef369
tests: move fixtures to common directory, start with Cardano
2020-09-01 16:14:41 +02:00
matejcik
e0583dd5cb
all: use a specific error code for "invalid session"
2020-08-28 15:37:06 +02:00
Martin Milata
df5421e7d6
common/defs: update maxfee_kb to 10USD/tx
...
Except bitcoin.
(cherry picked from commit f51fac3410
)
2020-08-25 18:06:54 +02:00
Martin Milata
f51fac3410
common/defs: update maxfee_kb to 10USD/tx
...
Except bitcoin.
2020-08-25 18:05:29 +02:00
Martin Milata
f6b7622dd2
common/tools: add maxfee.py for updating maxfee_kb
2020-08-25 18:05:29 +02:00
Martin Milata
9849d84a5e
common/tools: factor out marketcap data download
2020-08-25 18:05:29 +02:00
matejcik
336000154a
common: add "unstable" as a custom protobuf extension ( fixes #1220 )
2020-08-25 10:47:18 +02:00
Pavol Rusnak
41f5237967
common/defs: enable extra_data for FLO
...
(cherry picked from commit 534695313c
)
2020-08-24 11:08:02 +02:00
Pavol Rusnak
534695313c
common/defs: enable extra_data for FLO
2020-08-24 11:06:12 +02:00
Alexis Hernandez
96c38315df
common/defs: enable extra_data for XSN ( #1208 )
2020-08-20 20:40:30 +02:00
Pavol Rusnak
41607f7029
common/defs: update tokens
2020-08-19 19:29:18 +02:00
Pavol Rusnak
fd87c62b68
common/defs: remove coins with no Trezor-compatible wallets
2020-08-19 19:29:18 +02:00
matejcik
d2a5bb5b34
common: fix style
2020-08-07 11:55:50 +02:00
matejcik
5de3787915
common: regenerate coins_details
2020-08-07 11:50:07 +02:00
matejcik
51ea8ccecd
common: update token support
2020-08-07 11:49:26 +02:00
matejcik
de77a3727d
common: drop CyberMiles ( fixes #1169 )
2020-08-07 11:35:49 +02:00
matejcik
6218989e91
common: drop compatibility link
2020-08-07 11:30:09 +02:00
Pavol Rusnak
56c4027a6d
git subrepo push common
...
subrepo:
subdir: "common"
merged: "beb242691"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "beb242691"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2020-08-05 12:19:20 +02:00
Pavol Rusnak
fb09a258b7
git subrepo pull common
...
subrepo:
subdir: "common"
merged: "0aaa6c4c1"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "0b98a20e3"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2020-08-05 12:18:07 +02:00
Pavol Rusnak
3fffa9ae68
common/defs: enable XVG
2020-08-05 12:10:52 +02:00
Marvin Piekarek
83fd1b035b
common/defs: add XVG ( #1165 )
2020-08-05 12:03:29 +02:00
Andrew Kozlik
5c1f197602
common/protob: Add CancelAuthorization message.
2020-08-04 17:32:44 +02:00
Andrew Kozlik
2c30dd62fc
common: Add DoPreauthorized message.
2020-08-04 17:32:44 +02:00
Andrew Kozlik
bbab13f6e7
common/protob: Add AuthorizeCoinJoin message.
2020-08-04 17:32:44 +02:00
gabrielkerekes
f2ee450410
Include metadata in transaction signing
2020-07-30 17:17:03 +02:00
gabrielkerekes
e92baf5b02
Update protobuf
2020-07-30 17:17:03 +02:00
Andrew Kozlik
7c66a16bef
common/tools: Check for collisions between U2F app IDs and WebAuthn RP ID hashes.
2020-07-30 15:29:54 +02:00
Andrew Kozlik
7d07161efe
common/fido: Unify application labeling between U2F and FIDO2.
2020-07-30 15:29:54 +02:00
gabrielkerekes
b5f3511c1c
Add support for script addresses in tx outputs
2020-07-30 14:43:32 +02:00
Pavol Rusnak
cec87bba50
core: remove mono bold font variant (not used anywhere)
2020-07-27 23:22:34 +02:00
Gabriel Kerekeš
d2c1624602
Cardano shelley update 2/3 ( #1112 )
2020-07-27 13:11:23 +02:00
gabrielkerekes
e1615e60ec
Update Cardano to support Shelley era 1/3
...
Update protobuf
- Previous transactions don't need to be sent anymore, because fee is
included in the transaction now. Thus transactions_count can be
removed from CardanoSignTx message and the CardanoTxAck and
CardanoTxRequest messages can be removed altogether.
- CardanoTxInputType.type is unused so remove it
Add NULL (None type) serialisation to CBOR
- Transaction metada must either have a valid structure or CBOR NULL
must be used (if metadata is empty) - it can't be simply left out.
Add protocol_magics file
- Just to have a nicer way of representing protocol magics
Update transaction signing
- Previous transactions no longer need to be requested
- Output building is simplified, since fee doesn't need to be calculated
- Remove transaction class since it is no longer needed (only functions
remained)
- Reorder functions so it reads top to bottom
Add protocol magic to byron address on testnet
- This has always been a part of the spec, but it hasn't been
implemented before, because it wasn't really needed.
Update trezorlib
Update tests
- Transaction messages are no longer required
- Expected values are different since tx format changed
- Common values in test cases have been extracted
Remove unused file
- Progress was used when receiving previous transactions
Add CRC check to output address validation
2020-07-27 13:04:49 +02:00
matejcik
fdcb64ac24
all: rename protobuf unsafe_prompts
to safety_checks
2020-07-24 16:37:58 +02:00
matejcik
1109250dcf
core: add option to allow unsafe prompts
2020-07-24 16:37:58 +02:00
Tomas Susanka
5d851fd0f1
common: bump zec and taz support
2020-07-15 08:58:54 +02:00
Tomas Susanka
c030a8fa2d
common: update zcash branch id for the upcoming Heartwood fork
2020-07-15 08:58:54 +02:00
Tomas Susanka
15f3021ff1
git subrepo push common
...
subrepo:
subdir: "common"
merged: "3ce0b90d7"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "3ce0b90d7"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2020-07-03 11:47:52 +02:00
Andrew Kozlik
533de50588
common/protob: Add GetOwnershipId message.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
956ea9a94f
common: Add ownership_proof field to TxInputType.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
c723c78529
common/protob: Add GetOwnershipProof message.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
cc655575c8
common: Add witness field to TxInputType.
2020-07-03 11:17:19 +02:00
Tomas Susanka
14a8da9c28
common: remove underscore from 'overwintered' field
...
Due to some Suite/Connect compatibility issues.
2020-07-01 13:56:32 +00:00
Tomas Susanka
ca3dd2bfb9
common: skip deprecated fields during generation; deprecate overwintered field in Zcash
2020-06-30 16:02:21 +02:00
Tomas Susanka
e534ae3ad7
legacy, core: rename Features.pin_cached to unlocked and unify
2020-06-19 21:26:36 +02:00
Andrey
033d49aa22
Code review comments: Added a personalized mail address
2020-06-15 09:53:00 +02:00
Andrey
49bc623a84
Enable extra_data for Zcoin
2020-06-15 09:53:00 +02:00
Pavol Rusnak
46087c4a2b
common/tools: validate for string emptiness in cointool
2020-06-11 17:49:30 +02:00
Tomas Susanka
56fe5adcfc
Merge branch 'release/2020-06'
2020-06-10 06:51:18 +00:00
Pavol Rusnak
5262ef84cf
common/defs/fido: add aws and tutanota
2020-06-05 14:53:13 +02:00
matejcik
6f53ca0ac6
core: rework wait_layout()
...
The original wait_layout was unreliable, because there are no guarantees
re order of arrival of the respective events. Still, TT's event handling
is basically deterministic, so as long as the host sent its messages
close enough to each other, the order worked out.
This is no longer the case with the introduction of loop.spawn: TT's
behavior is still deterministic, but now ButtonAck is processed *before*
the corresponding wait_layout, so the waiting side waits forever.
In the new process, the host must first register to receive layout
events, and then receives all of them (so the number of calls to
wait_layout must match the number of layout changes).
DebugLinkWatchLayout message must be version-gated, because of an
unfortunate collection of bugs in previous versions wrt unknown message
handling; and this interests us because upgrade-tests are using
wait_layout feature.
2020-06-04 16:18:46 +02:00
matejcik
bbfce4e303
common: introduce ButtonRequestType.PinEntry
2020-06-04 16:18:46 +02:00
matejcik
0600d87c8c
common: rename ClearSession to LockDevice, introduce EndSession
2020-06-04 16:18:46 +02:00
matejcik
bd5b3a3f21
common: drop Theta and VeChain ERC tokens, refresh market caps
...
fixes #1022
fixes #1023
2020-05-29 12:12:30 +02:00
WO
30b93579ea
Update Koto coin information
2020-05-25 15:31:55 +02:00
matejcik
72ef86d79a
all: enable extra_data for komodo
2020-05-24 14:36:37 +00:00
Tomas Susanka
9dfc08ca61
core/bitcoin: drop decred_script_version
2020-05-21 19:14:39 +02:00
matejcik
eeb46eabca
common: refresh token list
2020-05-21 13:29:13 +02:00
Pavol Rusnak
40aa038f0c
git subrepo push common
...
subrepo:
subdir: "common"
merged: "74560655e"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "74560655e"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2020-05-12 09:19:18 +02:00
Pavol Rusnak
43eccaceb4
common/defs: fix litecoin minfee
2020-05-12 09:18:17 +02:00
Pavol Rusnak
2859972043
common/defs: regenerate coins
2020-04-17 12:05:47 +00:00
matejcik
5885978c83
Merge branch 'release/2020-04'
2020-04-15 15:00:23 +02:00
Pavol Rusnak
6c0a960794
git subrepo push common
...
subrepo:
subdir: "common"
merged: "bff7fdfe4"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "bff7fdfe4"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2020-04-14 08:52:56 +02:00
Pavol Rusnak
99e15bf597
git subrepo pull common
...
subrepo:
subdir: "common"
merged: "54a14197b"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "5eb9901c1"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2020-04-14 08:52:12 +02:00
Dusan Klinec
25b6e9058f
xmr: proto - add fields for protocol optimization
2020-04-13 22:19:56 +02:00
matejcik
fc987cbfb2
common: update ethereum icon names to match documentation
2020-04-09 15:22:18 +02:00
matejcik
ae7522165e
common: rename auxilium chain to 'auxi' to avoid bad Windows name ( fixes #870 )
2020-04-09 15:06:29 +02:00
y-chan
e6d884b145
common: Fix maintainer email for vipstar/bitzeny ( #891 )
...
* fix my email address
* fix my email address
2020-04-02 11:13:59 +02:00
jagdeep sidhu
e58c5f63d5
common/defs: update SYS ( #928 )
2020-04-02 00:22:47 +02:00
Tomas Susanka
ab5ba2b106
common: style
2020-03-31 07:22:17 +00:00
Pavol Rusnak
9d116598d0
common/tools: add segwit sanity checks
2020-03-29 14:34:30 +00:00
matejcik
208bac8653
common: drop capricoin blockbook servers
2020-03-26 11:30:06 +01:00
Tomas Susanka
6478b2705c
common: regenerate support.json
2020-03-20 14:30:43 +00:00
matejcik
ffdb299c61
all: drop Capricoin support [NO BACKPORT]
2020-03-20 14:19:30 +00:00
matejcik
e2035b4972
all: drop Horizen and BIP-115 support [NO BACKPORT]
2020-03-20 14:19:07 +00:00
matejcik
27803ee8c1
all: drop overwintered field from transaction
2020-03-20 14:18:27 +00:00
Pavol Rusnak
817b922850
all: add extra_data and timestamp fields to coin specification
2020-03-20 14:18:27 +00:00
Izuho Fujiwara
6fdbde98fd
common: add ZNY to connect ( #907 )
2020-03-16 15:49:21 +01:00
Andrew Kozlik
2f905a1157
core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
2020-03-12 15:45:26 +01:00
Pavol Rusnak
49fe64f84c
common/protob: update special fields usage in comments
2020-03-10 16:58:59 +00:00
matejcik
d6fa8a9f0f
git subrepo push common
...
subrepo:
subdir: "common"
merged: "5520ea806"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "5520ea806"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2020-02-28 10:56:02 +01:00
matejcik
bd9663af79
common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details
2020-02-27 19:13:17 +01:00
matejcik
7a826b9f1b
common/defs: drop OMNITrezor ( fixes #844 )
2020-02-27 19:12:04 +01:00
matejcik
f3f0f507d9
git subrepo push common
...
subrepo:
subdir: "common"
merged: "e8ef868cf"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "e8ef868cf"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2020-02-24 15:16:05 +01:00
matejcik
b916072389
common: restore PassphraseAck.state
2020-02-24 15:15:09 +01:00
matejcik
ddee77ecb6
core: add SD clearing via debuglink
2020-02-20 12:51:48 +01:00
Tomas Susanka
ff1bb67abc
common: return the PasshraseType button request
2020-02-20 08:04:35 +00:00
matejcik
e61b7d28e9
all: do not send state in PassphraseAck (not needed for compatibility)
2020-02-13 15:44:50 +01:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
...
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771
core/debug: add "show arbitrary screen" capability, for easier prototyping
2020-02-11 11:53:34 +01:00
matejcik
c01d04f26e
common/protob: drop a default field declaration
...
which triggers nanopb bug https://github.com/nanopb/nanopb/issues/487
2020-02-11 11:53:34 +01:00
matejcik
ff702c7d7f
common: add proper markers for deprecated messages
2020-02-10 15:38:26 +01:00
matejcik
cfe0e34215
tests: ignore trezor.log
2020-02-10 12:36:53 +01:00
matejcik
4c9689d7a7
common: return deprecated fields to protobuf, to allow cross-version compatible code
2020-02-10 12:35:28 +01:00
Tomas Susanka
56dc952495
common: fix PassphraseAck.on_device id
2020-02-07 14:19:01 +00:00
Pavol Rusnak
73ed2f3450
legacy: small nitpicks related to the new passphrase handling
2020-02-07 11:41:03 +00:00
Tomas Susanka
f3553f63f1
common: remove PassphraseRequest.on_device completely
2020-02-07 11:41:00 +00:00
Tomas Susanka
c65b57affb
core, legacy: remove passphrase_cached
2020-02-07 11:41:00 +00:00
Tomas Susanka
a3f3d4fcdb
remove ping.passphrase/pin
2020-02-07 11:41:00 +00:00
Tomas Susanka
466dc4732d
core/passphrase: add button requests
2020-02-07 11:40:59 +00:00
Tomas Susanka
cd09f9ce94
all: modify passphrase source to always on device
2020-02-07 11:40:59 +00:00
Tomas Susanka
eafd57c301
common, core: add passphrase entry capability
2020-02-07 11:40:58 +00:00
Tomas Susanka
90d5cdfd5b
all: rework passphrase
...
The `on_device` field is being moved to PassphraseAck, State messages
are removed. Features newly contain `session_id`.
2020-02-07 11:40:58 +00:00
EtherCore Contributor
c03caaf76a
common/defs: switch ERE logo ( #808 )
2020-01-29 10:49:21 +01:00
Pavol Rusnak
50773c2a3b
common/defs: fix wanchain wallet link
2020-01-17 14:36:14 +01:00
Pavol Rusnak
8a36ead915
common/defs: add Faceboook to recognized apps
2020-01-16 15:35:45 +00:00
Pavol Rusnak
7c7ed59678
git subrepo push common
...
subrepo:
subdir: "common"
merged: "467700c73"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "467700c73"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2020-01-12 22:26:35 +01:00
Dušan Klinec
af6a607b39
common/xmr: message changes optimizing runtime and memory ( #786 )
2020-01-12 22:24:18 +01:00
Tomas Susanka
7c41b40dff
tests: introduce UI tests for core with diffs ( #784 )
...
tests: introduce UI tests for core with diffs
2020-01-10 20:39:31 +01:00
EtherCore Contributor
409d4b6da5
common/defs: add EtherCore ( #787 )
2020-01-06 13:55:03 +01:00
Tomas Susanka
51ef963738
tests: introduce UI tests for core
2020-01-03 14:28:27 +00:00
apollo
feefe34328
common/defs: update wallets.json ( #764 )
2019-12-19 10:40:07 +01:00
Scotty0448
9d461f548e
common/defs: add RITO wallet
2019-12-18 12:07:40 +01:00
matejcik
e7ceb283ca
git subrepo push common
...
subrepo:
subdir: "common"
merged: "6819f2898"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "6819f2898"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2019-12-16 17:56:23 +01:00
matejcik
c8b1a061de
common: drop Trust Wallet from BNB (no Trezor integration)
2019-12-16 17:54:08 +01:00
Pavol Rusnak
8890d90f26
git subrepo push common
...
subrepo:
subdir: "common"
merged: "31a576f3a"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "31a576f3a"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-12-15 19:47:43 +01:00
Pavol Rusnak
d6a3725955
common: remove coins with no trezor compatible wallets
2019-12-15 18:19:36 +00:00
matejcik
1c23c24059
common: apply overrides for Auxilium
...
properly fixes #723
closes #724
2019-12-13 15:44:22 +01:00
Tomas Susanka
87d2217b2a
Merge pull request #723 from yorugac/fix/update-aux-coin-details
...
Update of coin_details.json
2019-12-13 15:13:34 +01:00
Pavol Rusnak
e5bdf0d51b
Merge pull request #742 from trezor/language
...
common: change language field to IETF BCP 47 language tag
2019-12-12 18:07:54 +01:00
Andrew Kozlik
813beda90d
Merge pull request #746 from trezor/andrewkozlik/fido2-self-att-flag
...
Add use_self_attestation flag to FIDO apps
2019-12-12 11:19:35 +01:00
Pavol Rusnak
d6cc035f00
git subrepo push common
...
subrepo:
subdir: "common"
merged: "54b2470a8"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "54b2470a8"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-12-11 15:28:23 +00:00
Szymon Lesisz
21b6ab3e98
common: update zcash consensus branch_id (Blossom fork) ( #745 )
2019-12-11 16:27:28 +01:00
Andrew Kozlik
0432f5e801
webauthn: Add use_self_attestation flag to FIDO apps.
2019-12-11 15:29:52 +01:00
Pavol Rusnak
0d4a889dd0
git subrepo push common
...
subrepo:
subdir: "common"
merged: "669fc83eb"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "669fc83eb"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-12-09 18:04:19 +01:00
Pavol Rusnak
7646b97dca
common: divisibility -> decimals
2019-12-09 17:43:47 +01:00
matejcik
6225fa6193
common/fido: change FIDO icon checking logic
2019-12-09 16:31:46 +01:00
matejcik
12fb69d789
common/tools: fix comment
2019-12-09 16:31:46 +01:00
matejcik
558020be01
common: drop lastpass from FIDO apps
...
as it doesn't actually support FIDO/U2F
2019-12-09 16:31:46 +01:00
matejcik
0320a6f23b
common: move FIDO defs to "fido" subdirectory
2019-12-09 16:31:46 +01:00