1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00
Commit Graph

9083 Commits

Author SHA1 Message Date
Andrew Kozlik
cda9de8dd1 core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response. 2020-03-20 15:07:06 +01:00
Andrew Kozlik
0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes. 2020-03-20 15:07:06 +01:00
matejcik
ccffefd667 core/boot: do not catch OSError in boot wait 2020-03-20 14:03:28 +01:00
matejcik
f6f041e269 core/sdcard: also catch OSError in the formatting phase 2020-03-20 14:03:28 +01:00
matejcik
a978435819 tests: update SD card test 2020-03-20 14:03:28 +01:00
matejcik
3a71a5a05c core/sdcard: show "Wrong SD card" when unlocking SD protect with unformatted card 2020-03-20 14:03:28 +01:00
matejcik
3789a3372b core/sdcard: modify exception handling in fatfs
expose ff.c constants, raise them as arguments to FatFSError

introduce NotMounted and NoFilesystem as subclasses of FatFSError with
the appropriate error code set
2020-03-20 14:03:28 +01:00
Andrew Kozlik
8ee0026637 core: Allow PIN entry even when SD protect is enabled and the card is not present. 2020-03-19 15:04:33 +01:00
Andrew Kozlik
bfd834d1de storage: Add storage_ensure_not_wipe_code(). 2020-03-19 15:04:33 +01:00
Andrew Kozlik
e51ed5bf05 trezorlib: Regenerate coins.json. 2020-03-17 11:53:48 +01:00
Andrew Kozlik
b2dc5813fe legacy, tests: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
Andrew Kozlik
ac78d1e2f3 trezorctl: Validate PIN digits and length. 2020-03-17 11:53:48 +01:00
Andrew Kozlik
77bb6deb66 storage: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
Izuho Fujiwara
6fdbde98fd
common: add ZNY to connect (#907) 2020-03-16 15:49:21 +01:00
Tomas Susanka
ad25096f90 tests: test reset device also with another strengths 2020-03-13 10:12:50 +00:00
Tomas Susanka
0f95eff4ff
Merge pull request #902 from ExodusMovement/master
Fix BackupDevice layout on 18-word seed wallets
2020-03-13 10:35:15 +01:00
Konnor Klashinsky
70a1f957ed
Fix BackupDevice layout on 18-word seed wallets 2020-03-13 13:41:04 +13:00
Andrew Kozlik
2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response. 2020-03-12 15:45:26 +01:00
Andrew Kozlik
f610787f8d core/webauthn: Clean up bytes/bytearray typing around uctypes. 2020-03-12 15:45:26 +01:00
Andrew Kozlik
e378820f7f core/webauthn: Implement support for Ed25519 signatures in FIDO2. 2020-03-12 15:45:26 +01:00
ChiragMaliwal
f359e36273
add .DS_Store to .gitignore (#900) 2020-03-11 20:22:56 +01:00
Pavol Rusnak
49fe64f84c
common/protob: update special fields usage in comments 2020-03-10 16:58:59 +00:00
matejcik
3869a05677 ci: add a generic timeout to GitLab pytest runs 2020-03-09 10:31:40 +01:00
matejcik
5b7d11e4ee tests: remove explicit timeouts from test suite 2020-03-09 10:31:17 +01:00
Tomas Susanka
30a267c83d ci: check if commit message contains fixup on travis 2020-03-06 18:45:46 +00:00
Tomas Susanka
e3b674a42e ci: move ui reports to the root to simplify artifacts browsing
I wanted to use a symlink but that does not seem to work on GitLab https://gitlab.com/gitlab-org/gitlab-runner/issues/4241.
2020-03-04 14:37:39 +01:00
Tomas Susanka
b22026f652
Merge pull request #889 from trezor/tsusanka/ui-diff
Create UI report what differs from master
2020-03-04 14:31:52 +01:00
Tomas Susanka
89929c7a8c tests/ui: create report what differs from master 2020-03-04 13:41:32 +01:00
Pavol Rusnak
624b639ba8
Merge pull request #886 from trezor/onvej-sl/monero-optimizations-squashed
xmr/bp: memory optimizations and improvements, fixed style
2020-03-02 17:54:30 +01:00
Michail Brynard
c2635a4773 python: fix encoding errors in Stellar 2020-03-02 16:01:15 +01:00
Tomas Susanka
b56a16d483
Merge pull request #885 from trezor/tsusanka/hold-to-confirm-cancel
Add cancel to hold to confirm dialogs
2020-03-02 15:16:54 +01:00
Tomas Susanka
f8de140271 core: add cancel to hold to confirm dialogs 2020-03-02 13:58:41 +00:00
Dusan Klinec
2658e253fa xmr/bp: memory optimizations and improvements
- different approach to vector manipulation - more on the fly operations. Prepared for fully offloaded operations, BP on Trezor with constant memory.
- memory requirements reduced from (4MN + const) to (2MN + const)
- more raw methods to avoid unnecessary encoding/decoding
- chunking improved, chunk size set as a constant, changed from 64 to 32, missing pieces implemented to cover also BP 16
- proof_v8 support discontinued, old hardfork, not needed anymore
- get_exponent register clash fixed (for large vectors)
- reduced heap fragmentation by removing some temporary allocations
- hashing with len and offset to reduce heap fragmentation by creating a sliced arrays
- use to() wherever possible to avoid allocations and return of mutable private object
- global functions start with _ prefix, reduce import footprint
- use __slots__ in classes to minimize footprint
2020-03-02 12:17:03 +01:00
Tomas Susanka
21676a0662 ore/tezos: better wording in delegation cancel 2020-03-02 08:49:34 +00:00
matejcik
7f91bc571c core: ensure default task restarts after a passphrase workflow (fixes #883) 2020-02-28 15:55:40 +01:00
Tomas Susanka
5ee6e56f56
Merge pull request #880 from trezor/tsusanka/sign-verify-ui
Unify sign/verify message dialogs and fix text overflow
2020-02-28 15:47:48 +01:00
Tomas Susanka
714eb416d1
Merge pull request #834 from trezor/tsusanka/docs-exceptions
Docs: add info about exceptions usage
2020-02-28 10:56:41 +01: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
Tomas Susanka
8b5aab522c docs/core: add info about exceptions usage 2020-02-27 20:04:42 +00: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
Tomas Susanka
86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
FatFS API rework
2020-02-27 15:58:38 +01:00
Tomas Susanka
c8b7d3fb56 core/changelog: SD card protection is part of 2.3.0 2020-02-27 13:57:48 +00:00
Tomas Susanka
a63e6fc4ef core+legacy: update changelogs 2020-02-27 13:21:17 +00:00
Tomas Susanka
a8af9feebe core: fix text overflow in some dialogs 2020-02-27 12:43:33 +00:00
Tomas Susanka
744c32991f core: unify sign/verify functions
The UI records are modified because of two changes:
- Added a coin name to the Sign/Verify screen (ETH/Lisk).
- Unified to use mono.
2020-02-27 12:43:33 +00:00
Tomas Susanka
b317613d63
Merge pull request #874 from trezor/tsusanka/test
Use wire errors where applicable
2020-02-27 13:38:30 +01:00
Pavol Rusnak
b84ef79459
Merge pull request #862 from trezor/prusnak/multisig-show-xpubs-t1
legacy: show xpubs with multisig get_address
2020-02-27 12:43:34 +01:00
Pavol Rusnak
ec199b19a9
legacy: use 2 page pagination to show xpubs in multisig get_address 2020-02-27 11:42:52 +00:00
Pavol Rusnak
d7dbb585e9
Merge pull request #876 from trezor/prusnak/boardloader-dma
core/boardloader: use SRAM as SD card read buffer
2020-02-27 12:40:11 +01:00