diff options
author | Simon Frei <freisim93@gmail.com> | 2023-03-10 14:14:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 14:14:14 +0100 |
commit | da72df6ffc7b61b3d8833e0992c530a0a5bb8d92 (patch) | |
tree | 8d83631246379bd4a06cf6c349befd935fa7c7eb /proto | |
parent | b53c1b9a0414b48f5d554e746fd5d467a9d06f31 (diff) | |
download | syncthing-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.proto | 4 |
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; |