From 0ed4a43fc3202de5c8f52e61871a58e8278f127b Mon Sep 17 00:00:00 2001 From: Xinye Tao Date: Thu, 27 Apr 2023 12:15:01 +0800 Subject: [PATCH] add encryption info to snapshot chunk (#1047) Signed-off-by: tabokie --- pkg/raft_serverpb/raft_serverpb.pb.go | 407 +++++++++++++++++--------- proto/raft_serverpb.proto | 9 +- scripts/proto.lock | 13 + 3 files changed, 283 insertions(+), 146 deletions(-) diff --git a/pkg/raft_serverpb/raft_serverpb.pb.go b/pkg/raft_serverpb/raft_serverpb.pb.go index 727e709ef..02ed9cfdb 100644 --- a/pkg/raft_serverpb/raft_serverpb.pb.go +++ b/pkg/raft_serverpb/raft_serverpb.pb.go @@ -11,6 +11,7 @@ import ( proto "github.com/golang/protobuf/proto" disk_usage "github.com/pingcap/kvproto/pkg/disk_usage" + encryptionpb "github.com/pingcap/kvproto/pkg/encryptionpb" eraftpb "github.com/pingcap/kvproto/pkg/eraftpb" kvrpcpb "github.com/pingcap/kvproto/pkg/kvrpcpb" metapb "github.com/pingcap/kvproto/pkg/metapb" @@ -574,9 +575,9 @@ var xxx_messageInfo_Done proto.InternalMessageInfo type TabletSnapshotFileMeta struct { FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - // Some block data. + // Some block data. Unencrypted. HeadChunk []byte `protobuf:"bytes,3,opt,name=head_chunk,json=headChunk,proto3" json:"head_chunk,omitempty"` - // trailing data including checksum. + // trailing data including checksum. Unencrypted. TrailingChunk []byte `protobuf:"bytes,4,opt,name=trailing_chunk,json=trailingChunk,proto3" json:"trailing_chunk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -706,12 +707,16 @@ func (m *TabletSnapshotPreview) GetEnd() bool { } type TabletSnapshotFileChunk struct { - FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` - FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` + FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` + // Encrypted. + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + // Initial vector if encryption is enabled. + Iv []byte `protobuf:"bytes,4,opt,name=iv,proto3" json:"iv,omitempty"` + Key *encryptionpb.DataKey `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TabletSnapshotFileChunk) Reset() { *m = TabletSnapshotFileChunk{} } @@ -768,6 +773,20 @@ func (m *TabletSnapshotFileChunk) GetData() []byte { return nil } +func (m *TabletSnapshotFileChunk) GetIv() []byte { + if m != nil { + return m.Iv + } + return nil +} + +func (m *TabletSnapshotFileChunk) GetKey() *encryptionpb.DataKey { + if m != nil { + return m.Key + } + return nil +} + type TabletSnapshotHead struct { Message *RaftMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` UseCache bool `protobuf:"varint,2,opt,name=use_cache,json=useCache,proto3" json:"use_cache,omitempty"` @@ -2140,142 +2159,145 @@ func init() { func init() { proto.RegisterFile("raft_serverpb.proto", fileDescriptor_130ebc2f2c37a342) } var fileDescriptor_130ebc2f2c37a342 = []byte{ - // 2158 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x4b, 0x73, 0x1b, 0xb9, - 0xf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0x10, 0xda, 0x14, 0x14, 0x78, 0x85, 0x14, 0x15, 0x08, 0x8d, 0x01, 0x8d, 0xcc, 0x9a, 0x83, - 0x1b, 0xb2, 0x03, 0x97, 0x02, 0x96, 0x30, 0x4e, 0x25, 0x73, 0xfd, 0x09, 0xa7, 0x52, 0x01, 0x52, - 0x30, 0x4f, 0xc3, 0xb1, 0xe6, 0xac, 0xe7, 0xcc, 0x47, 0x86, 0x77, 0xc8, 0x3c, 0xb2, 0x05, 0x7d, - 0x49, 0x8f, 0x23, 0x26, 0x5d, 0x91, 0xd0, 0xcc, 0xcd, 0xa8, 0x3c, 0xd1, 0x28, 0x6c, 0x39, 0x3d, - 0xa4, 0x2b, 0x27, 0x9e, 0x53, 0x79, 0x62, 0xff, 0x0a, 0xba, 0x33, 0x87, 0x4e, 0x26, 0xc9, 0x98, - 0x3c, 0x98, 0x17, 0x88, 0xa5, 0xe1, 0x72, 0x6d, 0xc1, 0xff, 0x42, 0xf1, 0xce, 0x4b, 0x85, 0x40, - 0xcd, 0xa7, 0x92, 0x6a, 0xaf, 0x3b, 0x8e, 0x5e, 0xdb, 0x75, 0xa8, 0x3d, 0x4a, 0x13, 0x66, 0xbf, - 0xb5, 0xe0, 0xf2, 0xd1, 0xec, 0x56, 0x75, 0x93, 0x0a, 0x98, 0x8e, 0xf6, 0x06, 0xb4, 0x54, 0xa8, - 0x5d, 0x9d, 0x33, 0x53, 0xfc, 0x8a, 0x70, 0xa8, 0xf2, 0x96, 0x33, 0x13, 0x1a, 0x63, 0x38, 0x5b, - 0xc8, 0x7c, 0x46, 0x63, 0x46, 0xae, 0x03, 0x9c, 0x30, 0xea, 0xbb, 0x9e, 0x32, 0x5a, 0xc7, 0xb2, - 0xe3, 0xb4, 0x14, 0x05, 0xbd, 0xb8, 0x03, 0x3d, 0xc9, 0x69, 0x18, 0x85, 0x49, 0x60, 0x44, 0x6a, - 0x5a, 0xa4, 0x9b, 0x53, 0xb5, 0x98, 0x3d, 0x82, 0x4b, 0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xdf, 0x9b, 0x0e, 0x59, 0x9c, 0xf2, 0xa9, 0xfe, 0x4f, 0xa6, - 0x5f, 0x27, 0xd7, 0xe0, 0xf2, 0x50, 0x04, 0xc5, 0xc0, 0xe6, 0xc7, 0x37, 0xc8, 0x06, 0x5c, 0x39, - 0xc3, 0x33, 0x37, 0x34, 0x89, 0x0d, 0x37, 0x86, 0x22, 0x78, 0x99, 0x4a, 0x65, 0x6a, 0x16, 0x85, - 0x7a, 0x92, 0xd1, 0xaf, 0x48, 0x7e, 0x40, 0x8b, 0xdc, 0x86, 0x9b, 0xef, 0x95, 0x31, 0x07, 0x01, - 0xb9, 0x08, 0xfd, 0xa1, 0x08, 0x0c, 0xc2, 0x8c, 0x6a, 0xdb, 0x44, 0x2a, 0xa7, 0x1a, 0xe1, 0x8e, - 0x11, 0x2e, 0x41, 0xaa, 0xdf, 0xdd, 0xbb, 0xfb, 0xd7, 0x1f, 0x9a, 0xd6, 0x1f, 0xdf, 0xdd, 0xb0, - 0xfe, 0xf2, 0xee, 0x86, 0xf5, 0xb7, 0x77, 0x37, 0xac, 0xb7, 0x7f, 0xbf, 0xb1, 0x02, 0xfd, 0x94, - 0x07, 0xdb, 0x32, 0x1c, 0x9f, 0x6e, 0x8f, 0x4f, 0xf5, 0xdf, 0x8f, 0xc7, 0x75, 0xfd, 0xf3, 0xd5, - 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x58, 0xbe, 0xbb, 0x88, 0xfa, 0x14, 0x00, 0x00, + // 2196 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcb, 0x73, 0x13, 0xc9, + 0x19, 0xf7, 0x48, 0xb2, 0x1e, 0x9f, 0x1e, 0x16, 0x6d, 0xbc, 0x08, 0xbc, 0x80, 0x19, 0x16, 0xf0, + 0xb2, 0x89, 0xa9, 0xf5, 0x92, 0xcd, 0xd6, 0xa6, 0x8a, 0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x65, 0x1d, 0xdd, 0x81, 0x9b, 0xca, + 0xae, 0x5f, 0x53, 0x57, 0xe8, 0x69, 0x6d, 0x74, 0x44, 0xa6, 0x9c, 0x7a, 0x87, 0xf3, 0x3e, 0x0d, + 0x63, 0x36, 0x57, 0xff, 0xe6, 0x74, 0xab, 0xe8, 0x0a, 0x7c, 0xd2, 0xe7, 0xa3, 0x7c, 0x60, 0xd3, + 0xed, 0x6b, 0x68, 0x1b, 0x2e, 0x9d, 0xe1, 0x99, 0x13, 0xea, 0xc8, 0x86, 0x6b, 0x7d, 0x3e, 0x7a, + 0x19, 0x0b, 0x69, 0x6a, 0x12, 0xf8, 0x6a, 0x92, 0x51, 0xb7, 0x48, 0xba, 0x41, 0x03, 0xdd, 0x84, + 0xeb, 0xef, 0x95, 0x31, 0x1b, 0x01, 0xba, 0x08, 0xdd, 0x3e, 0x1f, 0x19, 0x84, 0x19, 0xd5, 0xa6, + 0x89, 0x54, 0x4a, 0x35, 0xc2, 0x2d, 0x23, 0x5c, 0x80, 0x54, 0xb7, 0x7d, 0x78, 0xfb, 0x6f, 0xdf, + 0xd7, 0xad, 0x3f, 0xbd, 0xbb, 0x66, 0xfd, 0xf5, 0xdd, 0x35, 0xeb, 0xef, 0xef, 0xae, 0x59, 0x6f, + 0xff, 0x71, 0x6d, 0x0d, 0xba, 0x31, 0x1b, 0xed, 0x09, 0x7f, 0x32, 0xdb, 0x9b, 0xcc, 0xd4, 0x1f, + 0x97, 0x83, 0xaa, 0xfa, 0xf9, 0xea, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x48, 0x7e, 0x9a, + 0x48, 0x15, 0x00, 0x00, } func (m *RaftMessage) Marshal() (dAtA []byte, err error) { @@ -2778,6 +2800,25 @@ func (m *TabletSnapshotFileChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.Key != nil { + { + size, err := m.Key.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRaftServerpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Iv) > 0 { + i -= len(m.Iv) + copy(dAtA[i:], m.Iv) + i = encodeVarintRaftServerpb(dAtA, i, uint64(len(m.Iv))) + i-- + dAtA[i] = 0x22 + } if len(m.Data) > 0 { i -= len(m.Data) copy(dAtA[i:], m.Data) @@ -4193,6 +4234,14 @@ func (m *TabletSnapshotFileChunk) Size() (n int) { if l > 0 { n += 1 + l + sovRaftServerpb(uint64(l)) } + l = len(m.Iv) + if l > 0 { + n += 1 + l + sovRaftServerpb(uint64(l)) + } + if m.Key != nil { + l = m.Key.Size() + n += 1 + l + sovRaftServerpb(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -6111,6 +6160,76 @@ func (m *TabletSnapshotFileChunk) Unmarshal(dAtA []byte) error { m.Data = []byte{} } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Iv", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRaftServerpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthRaftServerpb + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthRaftServerpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Iv = append(m.Iv[:0], dAtA[iNdEx:postIndex]...) + if m.Iv == nil { + m.Iv = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRaftServerpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRaftServerpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaftServerpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Key == nil { + m.Key = &encryptionpb.DataKey{} + } + if err := m.Key.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRaftServerpb(dAtA[iNdEx:]) diff --git a/proto/raft_serverpb.proto b/proto/raft_serverpb.proto index b9722bec1..ddd923b47 100644 --- a/proto/raft_serverpb.proto +++ b/proto/raft_serverpb.proto @@ -5,6 +5,7 @@ import "eraftpb.proto"; import "metapb.proto"; import "kvrpcpb.proto"; import "disk_usage.proto"; +import "encryptionpb.proto"; import "rustproto.proto"; option (rustproto.lite_runtime_all) = true; @@ -65,9 +66,9 @@ message Done {} message TabletSnapshotFileMeta { uint64 file_size = 1; string file_name = 2; - // Some block data. + // Some block data. Unencrypted. bytes head_chunk = 3; - // trailing data including checksum. + // trailing data including checksum. Unencrypted. bytes trailing_chunk = 4; } @@ -85,7 +86,11 @@ message TabletSnapshotPreview { message TabletSnapshotFileChunk { uint64 file_size = 1; string file_name = 2; + // Encrypted. bytes data = 3; + // Initial vector if encryption is enabled. + bytes iv = 4; + encryptionpb.DataKey key = 5; } message TabletSnapshotHead { diff --git a/scripts/proto.lock b/scripts/proto.lock index 6acf4bc50..d17f0e7c9 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -15949,6 +15949,16 @@ "id": 3, "name": "data", "type": "bytes" + }, + { + "id": 4, + "name": "iv", + "type": "bytes" + }, + { + "id": 5, + "name": "key", + "type": "encryptionpb.DataKey" } ] }, @@ -16400,6 +16410,9 @@ { "path": "disk_usage.proto" }, + { + "path": "encryptionpb.proto" + }, { "path": "rustproto.proto" }