aboutsummaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorSimon Frei <freisim93@gmail.com>2023-03-10 14:14:14 +0100
committerGitHub <noreply@github.com>2023-03-10 14:14:14 +0100
commitda72df6ffc7b61b3d8833e0992c530a0a5bb8d92 (patch)
tree8d83631246379bd4a06cf6c349befd935fa7c7eb /proto
parentb53c1b9a0414b48f5d554e746fd5d467a9d06f31 (diff)
downloadsyncthing-da72df6ffc7b61b3d8833e0992c530a0a5bb8d92.tar.gz
syncthing-da72df6ffc7b61b3d8833e0992c530a0a5bb8d92.zip
lib: Correctly handle encrypted trailer size (fixes #8556) (#8563)
Diffstat (limited to 'proto')
-rw-r--r--proto/lib/protocol/bep.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/lib/protocol/bep.proto b/proto/lib/protocol/bep.proto
index 4204387b7..7e76464a2 100644
--- a/proto/lib/protocol/bep.proto
+++ b/proto/lib/protocol/bep.proto
@@ -123,6 +123,10 @@ message FileInfo {
// etc changed). This is host-local, not sent over the wire.
int64 inode_change_ns = 1002;
+ // The size of the data appended to the encrypted file on disk. This is
+ // host-local, not sent over the wire.
+ int32 encryption_trailer_size = 1003;
+
bool deleted = 6;
bool invalid = 7 [(ext.goname) = "RawInvalid"];
bool no_permissions = 8;