lib: Correctly handle encrypted trailer size (fixes #8556) (#8563)

This commit is contained in:
Simon Frei
2023-03-10 14:14:14 +01:00
committed by GitHub
parent b53c1b9a04
commit da72df6ffc
6 changed files with 379 additions and 200 deletions
+4
View File
@@ -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;