Commit Graph

31 Commits (e972839ac7d00b732c04f57f42a343c0bc8b4d88)

Author SHA1 Message Date
matejcik e972839ac7 style(all): fix pylint complaints
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Andrew Kozlik aeb021b159 chore(core): Improve naming of SLIP39's T9 mask lookup.
3 years ago
Pavol Rusnak a1dda836ec style(core/src): use new syntax for typing
4 years ago
Pavol Rusnak 952adc5961
style(core): use PEP515 Underscores in Numeric Literals
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
Andrew Kozlik d90c3af6ea docs(core): Fix typos in slip39.py.
4 years ago
Tomas Susanka 1ac0f60550 core: update isort config to place relative imports last
4 years ago
matejcik f90ba10af3 core: modify function signatures to match python-shamir-mnemonic
4 years ago
matejcik 1f6cc77dec upgrade black to 19.10b0
5 years ago
Tomas Susanka cefb1cf4fd core: refactor slip39
5 years ago
Tomas Susanka 542f156b4f core/slip39: remove _encrypt
5 years ago
Tomas Susanka 1b666804c0 core/shamir: fix EMS vs MS
5 years ago
Tomas Susanka 5bd8ad321e core/shamir: increase default iteration exponent to 1
5 years ago
Tomas Susanka d2597d54c1 core/shamir: persistence
5 years ago
Jan Pochyla 758a1a2528 core/typing: add annotations
5 years ago
Tomas Susanka 6c50b155de core: remove unused variables in Shamir recovery
5 years ago
Tomas Susanka c205acd3e1 core/slip39: do not populate MnemonicError's message; do not throw exceptions with mnemonic inside the message
5 years ago
Tomas Susanka 10e5ec6135 core/slip39: generate and store slip39 identifier during reset
5 years ago
Tomas Susanka 989fb1491f core/slip39: suggest word sooner when a single one is left
5 years ago
Tomas Susanka 80f8f7900d core: add slip39 support to reset and recovery device
5 years ago
Andrew Kozlik 84d3723ee9 slip39: Add RS1024 error locator function.
5 years ago
Andrew Kozlik 0e277dfcb0 core/slip39: Fixed a bug when generating shares with group_threshold = 1.
5 years ago
Jan Pochyla 09da577fd9 core: use const in trezor.crypto.slip39
5 years ago
Pavol Rusnak a3717c7b6c
core/slip39: use condensed wordlist
5 years ago
Andrew Kozlik bebce78881 core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold.
5 years ago
Andrew Kozlik 0248671438 core/slip39: Resolve code review comments.
5 years ago
Andrew Kozlik edab43234d core/slip39: Disallow creating multiple member shares with member threshold 1. Add tests for invalid parameters to generate_mnemonics().
5 years ago
Andrew Kozlik 479396b56f core/slip39: Remove math module dependency.
5 years ago
Andrew Kozlik d2a399debf Merge remote-tracking branch 'core-local/andrewkozlik/slip0039' into andrewkozlik/slip0039
5 years ago