Commit Graph

3289 Commits (M1nd3r/thp2)

Author SHA1 Message Date
M1nd3r e2c9c25de2 FIx style
2 months ago
M1nd3r edc6d3723b Count with encryption tag for channel messages
2 months ago
M1nd3r 2907b749e0 Improve logging of channel state, reduce logging of sessions
2 months ago
M1nd3r 43187305a0 Add default value (None) to channel.waiting_for_ack_timeout, create pairing state if branch
2 months ago
M1nd3r 548d1b9a95 Fix old codec write, enhance new session response message
2 months ago
M1nd3r 0e99efc4b4 Improve debug log of sync bits
2 months ago
M1nd3r c7f317d909 Remove unnecessary protocol abstraction
2 months ago
M1nd3r 99c04b5e83 Remove unnecessary channel state
2 months ago
M1nd3r 811baca0f2 Fix continuation packet ignoring, unify logging
2 months ago
M1nd3r 304c33955a Remove redundant ack
2 months ago
M1nd3r 6ad6144c58 Fix debug log, crashing and mock noise tags
2 months ago
M1nd3r 761f4f4223 Change channel allocation response control byte to 0x41 and error control byte to 0x42
2 months ago
M1nd3r bffa16052a Fix style
2 months ago
M1nd3r 4545f4f6a3 Create new session response
2 months ago
M1nd3r 5c7fa20613 Refactor channel
2 months ago
M1nd3r cf988aaa4a Fix thp_v1 style
2 months ago
M1nd3r 073eaeb8e3 Clean thp_v1
2 months ago
M1nd3r da1c3e1473 Clean handle_thp_session
2 months ago
M1nd3r 0cdb322607 Fix missing send_ack after receiving message with unexpected sync bit
2 months ago
M1nd3r b2ba859d0f Fix debug message
2 months ago
M1nd3r ea0b6fdf29 Fix synchronization
2 months ago
M1nd3r f2f3813774 Fix send sync bit update
2 months ago
M1nd3r f02d5fbf1f Fix retransmission, adjust debug prints
2 months ago
M1nd3r dd88a9208f Improve debug print
2 months ago
M1nd3r 464a016476 Implement SessionContext write
2 months ago
M1nd3r 44b05f93c7 Denote to-be-replaced functions as deprecated
2 months ago
M1nd3r 6fae1c8be8 Add description to UnexpectedMessageWithType
2 months ago
M1nd3r ab34073998 Fix frozen build
2 months ago
M1nd3r da0a635f5a Improve SessionContext's handling of expected types
2 months ago
M1nd3r 5bd1f865ce Implement SessionContext structure
2 months ago
M1nd3r 8486ce51f3 Fix style error
2 months ago
M1nd3r 1e2254e79d Fix checks (except style)
2 months ago
M1nd3r 1ab8cf4405 Remove trailing whitespaces
2 months ago
M1nd3r 1696fb5ec2 Fix auto gen files
2 months ago
M1nd3r 06dd587039 Fix protobuf
2 months ago
M1nd3r ae6da7a0d0 Session creation, part 2 (fails on typecheck)
2 months ago
M1nd3r adf1f842a8 Fix session id generation
2 months ago
M1nd3r 9759e9641f Fix frozen build
2 months ago
M1nd3r 427da41531 Fix handshake reading, session creation part 1
2 months ago
M1nd3r 90dc1de0b3 Fix buffer, attempt 2
2 months ago
M1nd3r ec9bdb83ac Fix buffer in channelContext
2 months ago
M1nd3r ea7180a43d Fix use of global buffer
2 months ago
M1nd3r a9ab8b6f62 Remove unused import
2 months ago
M1nd3r 87cd8ddbe0 Fix imports in thp_v1.py
2 months ago
M1nd3r 9aef12adad Sort imports in thp_v1.py
2 months ago
M1nd3r 965a0291f4 Fix thp import error, part 1
2 months ago
M1nd3r 5588cf4803 Fix comments in main.py
2 months ago
M1nd3r 63e15f9a69 Suppress warnings in main.py
2 months ago
M1nd3r b528adeec1 Update all_modules.py
2 months ago
M1nd3r 15ae08e224 Remove unused packet handlers
2 months ago
M1nd3r 0cee59b951 Resort channel context
2 months ago
M1nd3r f9c4dbe437 Remove unused handlers, clean ChannelContext
2 months ago
M1nd3r 8d701a2d00 Fix style issue
2 months ago
M1nd3r 20ce038bef Channels and sessions, handshake states
2 months ago
M1nd3r a6602c2a93 Structural adjustments
2 months ago
M1nd3r 51b3cd5626 Cache changes, part 1
2 months ago
M1nd3r 3371d8177e Remove message type from device properties message
2 months ago
M1nd3r 3d28f749d8 Fix style
2 months ago
M1nd3r bf02f2c6cc Packet handlers, first draft
2 months ago
M1nd3r a6180f45a0 Fix style in SConscript.unix
2 months ago
M1nd3r 93804cbcc8 Fix failing prebuild
2 months ago
M1nd3r e549e16d3f Fix fw build
2 months ago
M1nd3r 253a1470b4 Add thp module to frozen build
2 months ago
M1nd3r d8079bfd24 Fix thp tests
2 months ago
M1nd3r e4a4f8f125 Fix typo
2 months ago
M1nd3r 0af8edca1f Change log message
2 months ago
M1nd3r c551990c70 Fix bugs in synchronization and finding handlers
2 months ago
M1nd3r 0927bbeb68 Change structure of THP implementation [Part 1]
2 months ago
M1nd3r fe9167ffa2 Fix typo in fido2 comment
2 months ago
matejcik 6a5c77f0e6 feat(core): introduce timeout to loop.wait()
2 months ago
M1nd3r dd8386eb3d Build all_modules.py
2 months ago
M1nd3r 7200af7547 Improve test slightly
2 months ago
M1nd3r fa82bb1132 Remove unnecessary comments in test
2 months ago
M1nd3r aa346086c3 Channel allocation handling + refactor
2 months ago
M1nd3r 84c069cdbf Fix formatting
2 months ago
M1nd3r b62e708027 Revert debuglink.py changes
2 months ago
M1nd3r 48fee305b3 Revert "Improve handling of channel allocation requests"
2 months ago
M1nd3r 3c46bde8a9 Improve handling of channel allocation requests
2 months ago
M1nd3r 2d1e24685a Improve tests
2 months ago
M1nd3r ad7b479864 Update thp_v1 tests
2 months ago
M1nd3r 6f9d345f5e Fix pylint issues
2 months ago
M1nd3r 6eb7d42b46 Fix BLACK formatting using make style
2 months ago
M1nd3r 261f02815d Fix BLACK formatting of context.py
2 months ago
M1nd3r 7007b7001d Fix import formatting
2 months ago
M1nd3r 97f40631f9 Fix minor and formatting issues
2 months ago
M1nd3r d15edca3f0 fix style prebuild errors
2 months ago
M1nd3r 529b8befaf Fix awaits and debug output
2 months ago
M1nd3r 0e91237a08 Fix context.py -redundant read param
2 months ago
M1nd3r bf362902fc Fix context.py errors
2 months ago
M1nd3r b3bf2ec875 Update test_trezor.wire.thp_v1
2 months ago
M1nd3r 8d98f9113e Lower the number of style prebuild errors 3
2 months ago
M1nd3r a9fe3a36f7 Fix failing emulator - missing parameter
2 months ago
M1nd3r 108d9ec89b Lower the number of style prebuild errors 2
2 months ago
M1nd3r 58ba8a485d Lower the number of style prebuild errors
2 months ago
M1nd3r db29981856 Fix not-working emulator
2 months ago
M1nd3r 6d22f362e5 Fix SyntaxError - SESSIONLESS_FLAG cannot be used as a constant when imported
2 months ago
M1nd3r 014cca8bac Fix bug in THP not clearing already read report
2 months ago
M1nd3r 94278d5c01 Basic THP functinality - not-polished prototype
2 months ago
matejcik 89fdaed31e chore(core): add unsigned vendor headers with production keys
2 months ago
matejcik 0109ab2232 chore(core): make vendor_unsafe.toif small
2 months ago