Commit Graph

  • 4f9b3944ab feat(core): add thp module to frozen build M1nd3r 2024-03-20 11:05:18 +0100
  • 45b0293371 fix(core): fix bugs in thp unittests M1nd3r 2024-03-19 14:29:30 +0100
  • 947cd8fa1d feat(core): improve logging M1nd3r 2024-03-18 19:06:59 +0100
  • 92cbacba9e fix(core): fix bugs in synchronization and handler finding M1nd3r 2024-03-18 18:59:28 +0100
  • 9683039111 feat(core): change structure of THP implementation [Part 1] M1nd3r 2024-03-15 18:09:21 +0100
  • 2066790d6a fix(core): fix typo in fido2 comment M1nd3r 2024-03-15 09:28:22 +0100
  • fa6c9322e2 feat(core): introduce timeout to loop.wait() matejcik 2023-06-29 17:08:13 +0200
  • eabf2e62e3 feat(core): improve thp unittests M1nd3r 2024-04-27 01:54:58 +0200
  • 2923cc99c5 fix(core): update all_modules M1nd3r 2024-04-27 01:54:23 +0200
  • cab2ec2d34 feat(core): channel allocation handling and refactor M1nd3r 2024-03-14 14:07:47 +0100
  • 54221797f9 feat(core): basic THP functionality (not-polished prototype) M1nd3r 2024-03-01 12:30:10 +0100
  • d07aefd133 fix(core): remove unnecessary warning suppresion in usb.py M1nd3r/thp5 M1nd3r 2024-04-26 19:56:47 +0200
  • 0f2a092da2 fix(core): remove unnecessary warning suppresion in usb.py M1nd3r/thp2 M1nd3r 2024-04-26 19:56:47 +0200
  • a2f7a0cc78 Remake ChannelContext, change buffer types M1nd3r 2024-04-26 16:15:50 +0200
  • bfe8deac04 Remove unnecessary ignores in message handler M1nd3r 2024-04-26 16:13:50 +0200
  • 5f1c6c7015 Add Retransmition object [sample] M1nd3r 2024-04-26 16:13:19 +0200
  • 9d05597211 Edit thp tests M1nd3r 2024-04-26 16:12:23 +0200
  • e676bbbb4e Fix all_modules M1nd3r 2024-04-24 16:26:50 +0200
  • ea6cb32e59 Channel refactor M1nd3r 2024-04-24 16:21:05 +0200
  • 531176570d Unify if conditions order M1nd3r 2024-04-24 11:05:52 +0200
  • d81335e520 Rename context to channel in thp_v1.py M1nd3r 2024-04-19 21:03:45 +0200
  • c82797513e Solve race condition M1nd3r 2024-04-18 17:08:25 +0200
  • cb527abe71 Improve logging, partially refactror channel.py M1nd3r 2024-04-18 11:09:15 +0200
  • 40f0ccd65c Add logging to sync_set_send_bit M1nd3r 2024-04-17 17:28:35 +0200
  • 21bdf5f96d Add derive_cardano field to ThpCreateNewSession protobuf message M1nd3r 2024-04-17 14:40:42 +0200
  • f63a1309f3 Remove code duplication in pairing.py M1nd3r 2024-04-17 14:01:21 +0200
  • 3b671a84f2 Remove unnecessary abstractions with handlers M1nd3r 2024-04-17 13:07:58 +0200
  • 2d32a8bb3a Improve pairing handling M1nd3r 2024-04-17 12:50:48 +0200
  • 09807c9e6e Fix broken pairing workflow M1nd3r 2024-04-15 12:55:48 +0200
  • 3a90ed6e6c Fix handling of pairing request M1nd3r 2024-04-15 11:20:04 +0200
  • 3a8c4c6330 Change pairing process into a workflow M1nd3r 2024-04-12 18:42:35 +0200
  • dca9f05921 Add ThpPairingPreparationsFinished message M1nd3r 2024-04-11 14:15:38 +0200
  • ed7f304487 Connect pairing handlers with appropriate messages M1nd3r 2024-04-11 12:58:00 +0200
  • 79ff7f09ba Fix handshake completion message decoding M1nd3r 2024-04-11 11:29:27 +0200
  • 5f7d0862ad Allow channel to handle only ThpCreateNewSession message M1nd3r 2024-04-11 10:59:53 +0200
  • d1386662b1 Fix logging of passphrase M1nd3r 2024-04-11 10:25:57 +0200
  • 58c4d7e6e9 Update protobuf messages continuity M1nd3r 2024-04-11 10:21:25 +0200
  • 78bbc3c3dc Redundant logging removal M1nd3r 2024-04-11 09:57:20 +0200
  • 5f4c9f5666 Implement Pairing flow M1nd3r 2024-04-10 18:22:44 +0200
  • 54661fb5f9 Adjust loop clear M1nd3r 2024-04-10 14:43:11 +0200
  • bb82bcafb1 Adjust imports M1nd3r 2024-04-10 12:18:10 +0200
  • 601834d233 Clean session creation M1nd3r 2024-04-10 12:00:33 +0200
  • 38b8e71640 Adjust create session function params M1nd3r 2024-04-10 10:16:31 +0200
  • e984b15207 Remove trailing whitespaces in messages.proto M1nd3r 2024-04-09 18:09:11 +0200
  • 51966e2504 Add pairing and channel EnumValueOptions to protobuf M1nd3r 2024-04-09 18:03:21 +0200
  • cac3cf5cca Fix common prebuild protobuf naming error M1nd3r 2024-04-09 17:06:30 +0200
  • 4c2e678787 Adjust control bytes M1nd3r 2024-04-09 17:02:04 +0200
  • eecceba64a Fix protobuf message wire types and pb2py error M1nd3r 2024-04-09 16:28:02 +0200
  • 74cb074469 Work on pairing, updated protobuf, note that it crashes during build M1nd3r 2024-04-09 12:27:55 +0200
  • 6a93c29fe1 Partial fix for bug in session creation response, will fail checks M1nd3r 2024-04-08 19:11:47 +0200
  • 8425198097 Improve logging of expected message type in session context M1nd3r 2024-04-05 14:41:38 +0200
  • c724990c02 Fix order of checks M1nd3r 2024-04-05 14:31:59 +0200
  • 3bd33de778 Fix loading of sessions from cache, improve logging M1nd3r 2024-04-05 12:59:52 +0200
  • 27765bfb78 Fix cyclic imports of constants M1nd3r 2024-04-05 10:30:58 +0200
  • 7d9c09d305 Add new Failure types to switch enumeration for legacy builds M1nd3r 2024-04-05 10:01:29 +0200
  • 1d5497f0f8 Extract duplicated write to wire M1nd3r 2024-04-05 09:47:31 +0200
  • 8d8500ecf8 Remove unused code M1nd3r 2024-04-05 09:15:36 +0200
  • 4e163a2614 Unallocated session error, debug log improvements M1nd3r 2024-04-04 16:22:38 +0200
  • 893f606535 Warning suppression M1nd3r 2024-04-04 16:21:54 +0200
  • c302e34ff4 Allow to encode protobuf into memoryview buffer M1nd3r 2024-04-04 12:55:17 +0200
  • 4ab6bff693 Add ThpUnallocatedChannel and ThpUnallocatedSession Failure types M1nd3r 2024-04-04 11:47:25 +0200
  • fe1ab40302 Remove unnecessary session_ids in old Codec, fix storage test, suppress invalid warnings M1nd3r 2024-04-04 11:12:31 +0200
  • e3c826c691 Require noise tag with encrypted messages, improve debug logging M1nd3r 2024-04-04 09:40:46 +0200
  • 4d489e4704 Add build_unix_frozen_debug config to makefile M1nd3r 2024-04-04 09:39:50 +0200
  • 0487604148 FIx style M1nd3r 2024-04-03 18:01:57 +0200
  • 6e5dfd3a56 Count with encryption tag for channel messages M1nd3r 2024-04-03 17:58:38 +0200
  • e25675a4e1 Improve logging of channel state, reduce logging of sessions M1nd3r 2024-04-03 17:31:24 +0200
  • 13ac917d22 Add default value (None) to channel.waiting_for_ack_timeout, create pairing state if branch M1nd3r 2024-04-03 16:52:42 +0200
  • 1ed4dca5bc Fix old codec write, enhance new session response message M1nd3r 2024-04-03 16:04:47 +0200
  • cd4a64b059 Improve debug log of sync bits M1nd3r 2024-04-03 15:40:26 +0200
  • 955a22504e Remove unnecessary protocol abstraction M1nd3r 2024-04-03 15:33:59 +0200
  • 3424372cb2 Remove unnecessary channel state M1nd3r 2024-04-03 15:07:41 +0200
  • 210c412327 Fix continuation packet ignoring, unify logging M1nd3r 2024-04-03 15:04:27 +0200
  • 6f095aff7d Remove redundant ack M1nd3r 2024-04-03 14:03:35 +0200
  • 665179b979 Fix debug log, crashing and mock noise tags M1nd3r 2024-04-03 13:56:26 +0200
  • 1a9e53eb67 Change channel allocation response control byte to 0x41 and error control byte to 0x42 M1nd3r 2024-04-03 10:56:06 +0200
  • e4a0724ee5 Fix style M1nd3r 2024-04-03 08:51:39 +0200
  • 7a4a834a9c Create new session response M1nd3r 2024-04-02 20:40:22 +0200
  • 3317921365 Refactor channel M1nd3r 2024-04-02 17:36:14 +0200
  • 7f455f9931 Fix thp_v1 style M1nd3r 2024-04-02 17:11:26 +0200
  • 6f393fba10 Clean thp_v1 M1nd3r 2024-04-02 17:09:51 +0200
  • c83d21ce34 Clean handle_thp_session M1nd3r 2024-04-02 17:09:38 +0200
  • 87ef7ac7f1 Fix missing send_ack after receiving message with unexpected sync bit M1nd3r 2024-04-02 17:09:05 +0200
  • d066bb9cb4 Fix debug message M1nd3r 2024-04-02 16:57:25 +0200
  • 07f6d98a45 Fix synchronization M1nd3r 2024-04-02 16:47:47 +0200
  • ad3b878625 Fix send sync bit update M1nd3r 2024-04-02 16:44:12 +0200
  • 73a7bb788a Change legacy protobuf makefile to ignore all Thp messages M1nd3r 2024-04-02 14:39:07 +0200
  • c6f98cbc1d Update makefile for legacy protobuf M1nd3r 2024-04-02 13:59:38 +0200
  • 559dbe3289 Add messages-thp.proto symolic link M1nd3r 2024-04-02 13:40:33 +0200
  • 988bdc6e75 Fix retransmission, adjust debug prints M1nd3r 2024-04-02 13:02:47 +0200
  • 5c649fa712 Improve debug print M1nd3r 2024-04-02 10:56:45 +0200
  • 117f72c689 Implement SessionContext write M1nd3r 2024-04-02 10:34:42 +0200
  • 4a76216cbf Denote to-be-replaced functions as deprecated M1nd3r 2024-03-31 19:08:25 +0200
  • 86ad10e8bd Add description to UnexpectedMessageWithType M1nd3r 2024-03-31 18:33:33 +0200
  • eb77f28e62 Fix frozen build M1nd3r 2024-03-28 17:19:29 +0100
  • 38fd91c79b Improve SessionContext's handling of expected types M1nd3r 2024-03-28 16:42:03 +0100
  • a1a5962838 Implement SessionContext structure M1nd3r 2024-03-28 16:36:35 +0100
  • 53bdc3979a Fix protobuf annotation - missing whitespaces M1nd3r 2024-03-28 15:52:03 +0100
  • 306e63ced6 Fix protobuf annotations M1nd3r 2024-03-28 15:19:43 +0100
  • 2bbe55f063 Fix style error M1nd3r 2024-03-28 15:17:56 +0100