Encrypt P2P call media and validate service IDs
Require signed and encrypted call audio/video using static identity keys. Fix attachment service ID collisions and media download handle lifetime; isolate LAN tests and audit the shared service registry.
This commit is contained in:
1 parent
8e46cf9254
commit
abf342534f
54 files changed
+516
-241
No files matched your search
@@ -46,7 +46,7 @@ static void drop_history(struct ETCP_CONN* conn, struct ll_entry* entry) {
|
||||
dropped_requests++;
|
||||
DEBUG_INFO(DEBUG_CATEGORY_DM, "invite test: dropped history request=%d group=%016llx", dropped_requests, gid);
|
||||
if (dropped_requests == 2)
|
||||
for (int i = 0; i < 2; i++) etcp_bind(nodes[i], ETCP_RT_ID_DB_SYNC, history_receivers[i]);
|
||||
for (int i = 0; i < 2; i++) etcp_bind(nodes[i], ETCP_ID_DB_SYNC, history_receivers[i]);
|
||||
}
|
||||
queue_dgram_free(entry); queue_entry_free(entry);
|
||||
}
|
||||
@@ -242,8 +242,8 @@ int main(void) {
|
||||
if (getenv("UTUN_TEST_HISTORY_TIMEOUT")) {
|
||||
dropped_group = target;
|
||||
for (int i = 0; i < 2; i++) {
|
||||
history_receivers[i] = nodes[i]->api_bindings.callbacks[ETCP_RT_ID_DB_SYNC];
|
||||
etcp_bind(nodes[i], ETCP_RT_ID_DB_SYNC, drop_history);
|
||||
history_receivers[i] = nodes[i]->api_bindings.callbacks[ETCP_ID_DB_SYNC];
|
||||
etcp_bind(nodes[i], ETCP_ID_DB_SYNC, drop_history);
|
||||
}
|
||||
}
|
||||
CHECK(!join_link(ua, link), "B joins target group using received PM link");
|
||||
|
||||
Reference in new issue
Block a user