mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-18 05:15:06 +00:00
Add E2EE messaging and VPS deployment
Add signed, encrypted messages and attachments with per-session device keys, conversation key discovery, and server-side validation. Extend CI to publish immutable container images and deploy to a VPS, with setup and protocol documentation.
This commit is contained in:
@@ -8,8 +8,8 @@ public record MessageRequest
|
||||
public Guid RecipientId { get; init; }
|
||||
public RecipientType RecipientType { get; init; }
|
||||
[Required]
|
||||
[MaxLength(100_000, ErrorMessage = "EncryptedContent cannot exceed 100,000 characters.")]
|
||||
[MaxLength(1_000_000, ErrorMessage = "EncryptedContent cannot exceed 1,000,000 characters.")]
|
||||
public string EncryptedContent { get; init; } = string.Empty;
|
||||
public Guid? ReplyToMessageId { get; set; }
|
||||
public List<MediaReference> MediaAttachments { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user