You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@ This repository serves as a technical demonstration of Signal Protocol implement
20
20
21
21
- Flutter `>=3.7.2`
22
22
- Dart `>=3.7.2`
23
-
- A running instance of the Signal Protocol server (for integration tests)
24
23
25
24
## 🛠️ Installation
26
25
@@ -82,25 +81,25 @@ Immutable state management using Freezed, containing:
82
81
```
83
82
lib/
84
83
├── client/
85
-
│ ├── signal_client.dart # Signal Protocol implementation
86
-
│ └── signal_client.freezed.dart # Generated immutable state
84
+
│ ├── signal_client.dart # Signal Protocol implementation
85
+
│ └── signal_client.freezed.dart # Generated immutable state
87
86
├── common/
88
87
│ └── models/
89
-
│ ├── message.dart # Message structure
90
-
│ └── group_message.dart # Group message support
88
+
│ ├── message.dart # Message structure
89
+
│ └── group_message.dart # Group message support
91
90
├── server/
92
91
│ ├── models/
93
-
│ │ ├── user_keys.dart # PreKey bundle model
94
-
│ │ ├── public_prekey.dart # Public PreKey structure
95
-
│ │ └── public_signed_prekey.dart # Signed PreKey structure
96
-
│ └── server.dart # Server API client
92
+
│ │ ├── user_keys.dart # PreKey bundle model
93
+
│ │ ├── public_prekey.dart # Public PreKey structure
94
+
│ │ └── public_signed_prekey.dart # Signed PreKey structure
95
+
│ └── server.dart # Server API client
97
96
└── utils/
98
-
└── logger.dart # Logging utility
97
+
└── logger.dart # Logging utility
99
98
100
99
test/
101
-
├── signal_protocol_test.dart # Comprehensive test scenarios
102
-
├── key_reuse_test.dart # Tests for key reuse prevention
103
-
└── multi_device_test.dart # Tests for multi-device support
100
+
├── signal_protocol_test.dart # Comprehensive test scenarios
101
+
├── key_reuse_test.dart # Tests for key reuse prevention
102
+
└── multi_device_test.dart # Tests for multi-device support
104
103
```
105
104
106
105
## 🧪 Understanding the Implementation Through Tests
@@ -168,7 +167,9 @@ flutter test --name "should establish session and exchange messages"
168
167
- Validates security against key reuse attacks
169
168
- Tests proper key rotation mechanisms
170
169
171
-
Each test includes comprehensive logging that explains what's happening at each step of the protocol.
170
+
Each test includes comprehensive logging that explains what's happening at each step of the protocol. This can also be seen in the test workflow: https://github.com/stdNullPtr/Flutter-Signal-Protocol-PoC/actions
0 commit comments