HomePhabricator
Diffusion Comm f1eee6f0b7f7

[SQLite] add query to set ciphertext for outbound P2P message

Description

[SQLite] add query to set ciphertext for outbound P2P message

Summary:
After session creation we want to encrypt the message already addressed for other peer, we need a method for it.

This method should be called in the same SQLite transaction as encryption, this is handled later in the stack.

Using hardcoded constants in code - for later usage on the JS side I'll introduce type to make it safer,

Depends on D12069

Test Plan: Tests

Reviewers: tomek, marcin

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12070

Details

Provenance
kamilAuthored on May 16 2024, 5:17 AM
Reviewer
marcin
Differential Revision
D12070: [SQLite] add query to set ciphertext for outbound P2P message
Parents
rCOMM490040c14024: [SQLite] add table with inbound P2P messages to backup blocklist
Branches
Unknown
Tags
Unknown