Remove EncryptionScheme from pointerdb protobuf

This is an old definition from the very early stage of development. It
is not used anymore.

Change-Id: I6a033e4006e6edfa7c18acc6ae91c9e4e1df0e6a
Signed-off-by: Kaloyan Raev <kaloyan@storj.io>
Reviewed-on: https://review.gerrithub.io/429582
Reviewed-by: JT Olio <hello@jtolio.com>
Tested-by: JT Olio <hello@jtolio.com>
This commit is contained in:
Kaloyan Raev 2018-10-16 10:05:45 +03:00 committed by JT Olio
parent b2caac4323
commit 6413307edc
2 changed files with 77 additions and 174 deletions

View File

@ -41,30 +41,7 @@ func (x RedundancyScheme_SchemeType) String() string {
return proto.EnumName(RedundancyScheme_SchemeType_name, int32(x))
}
func (RedundancyScheme_SchemeType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{0, 0}
}
type EncryptionScheme_EncryptionType int32
const (
EncryptionScheme_AESGCM EncryptionScheme_EncryptionType = 0
EncryptionScheme_SECRETBOX EncryptionScheme_EncryptionType = 1
)
var EncryptionScheme_EncryptionType_name = map[int32]string{
0: "AESGCM",
1: "SECRETBOX",
}
var EncryptionScheme_EncryptionType_value = map[string]int32{
"AESGCM": 0,
"SECRETBOX": 1,
}
func (x EncryptionScheme_EncryptionType) String() string {
return proto.EnumName(EncryptionScheme_EncryptionType_name, int32(x))
}
func (EncryptionScheme_EncryptionType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{1, 0}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{0, 0}
}
type Pointer_DataType int32
@ -87,7 +64,7 @@ func (x Pointer_DataType) String() string {
return proto.EnumName(Pointer_DataType_name, int32(x))
}
func (Pointer_DataType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{4, 0}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{3, 0}
}
type RedundancyScheme struct {
@ -107,7 +84,7 @@ func (m *RedundancyScheme) Reset() { *m = RedundancyScheme{} }
func (m *RedundancyScheme) String() string { return proto.CompactTextString(m) }
func (*RedundancyScheme) ProtoMessage() {}
func (*RedundancyScheme) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{0}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{0}
}
func (m *RedundancyScheme) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RedundancyScheme.Unmarshal(m, b)
@ -169,60 +146,6 @@ func (m *RedundancyScheme) GetErasureShareSize() int32 {
return 0
}
type EncryptionScheme struct {
Type EncryptionScheme_EncryptionType `protobuf:"varint,1,opt,name=type,proto3,enum=pointerdb.EncryptionScheme_EncryptionType" json:"type,omitempty"`
EncryptedEncryptionKey []byte `protobuf:"bytes,2,opt,name=encrypted_encryption_key,json=encryptedEncryptionKey,proto3" json:"encrypted_encryption_key,omitempty"`
EncryptedStartingNonce []byte `protobuf:"bytes,3,opt,name=encrypted_starting_nonce,json=encryptedStartingNonce,proto3" json:"encrypted_starting_nonce,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EncryptionScheme) Reset() { *m = EncryptionScheme{} }
func (m *EncryptionScheme) String() string { return proto.CompactTextString(m) }
func (*EncryptionScheme) ProtoMessage() {}
func (*EncryptionScheme) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{1}
}
func (m *EncryptionScheme) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EncryptionScheme.Unmarshal(m, b)
}
func (m *EncryptionScheme) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EncryptionScheme.Marshal(b, m, deterministic)
}
func (dst *EncryptionScheme) XXX_Merge(src proto.Message) {
xxx_messageInfo_EncryptionScheme.Merge(dst, src)
}
func (m *EncryptionScheme) XXX_Size() int {
return xxx_messageInfo_EncryptionScheme.Size(m)
}
func (m *EncryptionScheme) XXX_DiscardUnknown() {
xxx_messageInfo_EncryptionScheme.DiscardUnknown(m)
}
var xxx_messageInfo_EncryptionScheme proto.InternalMessageInfo
func (m *EncryptionScheme) GetType() EncryptionScheme_EncryptionType {
if m != nil {
return m.Type
}
return EncryptionScheme_AESGCM
}
func (m *EncryptionScheme) GetEncryptedEncryptionKey() []byte {
if m != nil {
return m.EncryptedEncryptionKey
}
return nil
}
func (m *EncryptionScheme) GetEncryptedStartingNonce() []byte {
if m != nil {
return m.EncryptedStartingNonce
}
return nil
}
type RemotePiece struct {
PieceNum int32 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
@ -235,7 +158,7 @@ func (m *RemotePiece) Reset() { *m = RemotePiece{} }
func (m *RemotePiece) String() string { return proto.CompactTextString(m) }
func (*RemotePiece) ProtoMessage() {}
func (*RemotePiece) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{2}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{1}
}
func (m *RemotePiece) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemotePiece.Unmarshal(m, b)
@ -283,7 +206,7 @@ func (m *RemoteSegment) Reset() { *m = RemoteSegment{} }
func (m *RemoteSegment) String() string { return proto.CompactTextString(m) }
func (*RemoteSegment) ProtoMessage() {}
func (*RemoteSegment) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{3}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{2}
}
func (m *RemoteSegment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoteSegment.Unmarshal(m, b)
@ -348,7 +271,7 @@ func (m *Pointer) Reset() { *m = Pointer{} }
func (m *Pointer) String() string { return proto.CompactTextString(m) }
func (*Pointer) ProtoMessage() {}
func (*Pointer) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{4}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{3}
}
func (m *Pointer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Pointer.Unmarshal(m, b)
@ -430,7 +353,7 @@ func (m *PutRequest) Reset() { *m = PutRequest{} }
func (m *PutRequest) String() string { return proto.CompactTextString(m) }
func (*PutRequest) ProtoMessage() {}
func (*PutRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{5}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{4}
}
func (m *PutRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PutRequest.Unmarshal(m, b)
@ -476,7 +399,7 @@ func (m *GetRequest) Reset() { *m = GetRequest{} }
func (m *GetRequest) String() string { return proto.CompactTextString(m) }
func (*GetRequest) ProtoMessage() {}
func (*GetRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{6}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{5}
}
func (m *GetRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRequest.Unmarshal(m, b)
@ -520,7 +443,7 @@ func (m *ListRequest) Reset() { *m = ListRequest{} }
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
func (*ListRequest) ProtoMessage() {}
func (*ListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{7}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{6}
}
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
@ -593,7 +516,7 @@ func (m *PutResponse) Reset() { *m = PutResponse{} }
func (m *PutResponse) String() string { return proto.CompactTextString(m) }
func (*PutResponse) ProtoMessage() {}
func (*PutResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{8}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{7}
}
func (m *PutResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PutResponse.Unmarshal(m, b)
@ -626,7 +549,7 @@ func (m *GetResponse) Reset() { *m = GetResponse{} }
func (m *GetResponse) String() string { return proto.CompactTextString(m) }
func (*GetResponse) ProtoMessage() {}
func (*GetResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{9}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{8}
}
func (m *GetResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetResponse.Unmarshal(m, b)
@ -673,7 +596,7 @@ func (m *ListResponse) Reset() { *m = ListResponse{} }
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
func (*ListResponse) ProtoMessage() {}
func (*ListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{10}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{9}
}
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
@ -720,7 +643,7 @@ func (m *ListResponse_Item) Reset() { *m = ListResponse_Item{} }
func (m *ListResponse_Item) String() string { return proto.CompactTextString(m) }
func (*ListResponse_Item) ProtoMessage() {}
func (*ListResponse_Item) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{10, 0}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{9, 0}
}
func (m *ListResponse_Item) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListResponse_Item.Unmarshal(m, b)
@ -772,7 +695,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRequest) ProtoMessage() {}
func (*DeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{11}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{10}
}
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
@ -810,7 +733,7 @@ func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteResponse) ProtoMessage() {}
func (*DeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{12}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{11}
}
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
@ -845,7 +768,7 @@ func (m *IterateRequest) Reset() { *m = IterateRequest{} }
func (m *IterateRequest) String() string { return proto.CompactTextString(m) }
func (*IterateRequest) ProtoMessage() {}
func (*IterateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_pointerdb_0ee81d4d56faba87, []int{13}
return fileDescriptor_pointerdb_c89a389bfdae7491, []int{12}
}
func (m *IterateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IterateRequest.Unmarshal(m, b)
@ -895,7 +818,6 @@ func (m *IterateRequest) GetReverse() bool {
func init() {
proto.RegisterType((*RedundancyScheme)(nil), "pointerdb.RedundancyScheme")
proto.RegisterType((*EncryptionScheme)(nil), "pointerdb.EncryptionScheme")
proto.RegisterType((*RemotePiece)(nil), "pointerdb.RemotePiece")
proto.RegisterType((*RemoteSegment)(nil), "pointerdb.RemoteSegment")
proto.RegisterType((*Pointer)(nil), "pointerdb.Pointer")
@ -910,7 +832,6 @@ func init() {
proto.RegisterType((*DeleteResponse)(nil), "pointerdb.DeleteResponse")
proto.RegisterType((*IterateRequest)(nil), "pointerdb.IterateRequest")
proto.RegisterEnum("pointerdb.RedundancyScheme_SchemeType", RedundancyScheme_SchemeType_name, RedundancyScheme_SchemeType_value)
proto.RegisterEnum("pointerdb.EncryptionScheme_EncryptionType", EncryptionScheme_EncryptionType_name, EncryptionScheme_EncryptionType_value)
proto.RegisterEnum("pointerdb.Pointer_DataType", Pointer_DataType_name, Pointer_DataType_value)
}
@ -1093,73 +1014,66 @@ var _PointerDB_serviceDesc = grpc.ServiceDesc{
Metadata: "pointerdb.proto",
}
func init() { proto.RegisterFile("pointerdb.proto", fileDescriptor_pointerdb_0ee81d4d56faba87) }
func init() { proto.RegisterFile("pointerdb.proto", fileDescriptor_pointerdb_c89a389bfdae7491) }
var fileDescriptor_pointerdb_0ee81d4d56faba87 = []byte{
// 1025 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0xcf, 0xf9, 0xff, 0x8d, 0x63, 0xc7, 0xac, 0x42, 0x7a, 0x75, 0x8b, 0x1a, 0x5d, 0x05, 0x0a,
0xb4, 0x72, 0x90, 0xa9, 0x04, 0xa2, 0x02, 0xd4, 0x24, 0x26, 0xb2, 0x68, 0xdd, 0x68, 0x9d, 0x07,
0xc4, 0xcb, 0xb1, 0xf1, 0x8d, 0xe3, 0x55, 0x7d, 0x7f, 0xb2, 0xbb, 0x8e, 0xea, 0x7e, 0x13, 0xbe,
0x09, 0x2f, 0x3c, 0xf2, 0x71, 0x10, 0x0f, 0x7c, 0x01, 0xb4, 0xbb, 0x77, 0xf6, 0x39, 0xa1, 0xe9,
0x03, 0x2f, 0xc9, 0xcd, 0x6f, 0x7e, 0x33, 0xb3, 0xfb, 0x9b, 0xd9, 0x31, 0xec, 0xa4, 0x09, 0x8f,
0x15, 0x8a, 0xf0, 0xa2, 0x97, 0x8a, 0x44, 0x25, 0xc4, 0x5d, 0x01, 0xdd, 0x47, 0x97, 0x49, 0x72,
0x39, 0xc7, 0x43, 0xe3, 0xb8, 0x58, 0x4c, 0x0f, 0x15, 0x8f, 0x50, 0x2a, 0x16, 0xa5, 0x96, 0xdb,
0x6d, 0x25, 0xd7, 0x28, 0xe6, 0x6c, 0x69, 0x4d, 0xff, 0xb7, 0x12, 0x74, 0x28, 0x86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0xe0, 0x1c, 0x15, 0xde, 0x35, 0x10, 0x1d, 0x68, 0xe7, 0xa4, 0x4c, 0x58, 0x01, 0xed, 0xa1,
0x42, 0xc1, 0xd6, 0x71, 0xef, 0x1b, 0x92, 0x5d, 0xa8, 0x4e, 0xb9, 0x90, 0x2a, 0x1b, 0x0f, 0x6b,
0x10, 0x0f, 0xea, 0xb6, 0xd3, 0x98, 0x9d, 0x28, 0x37, 0xad, 0xe7, 0x1a, 0xb5, 0xa7, 0x92, 0x7b,
0x8c, 0xd9, 0xff, 0xdb, 0x01, 0x37, 0xbb, 0xdc, 0xc9, 0x11, 0x79, 0x06, 0xe5, 0xb3, 0x85, 0x22,
0x1f, 0x17, 0x6f, 0xbe, 0x7a, 0x26, 0xdd, 0xbd, 0x9b, 0x70, 0xd6, 0x9d, 0x67, 0x50, 0x3e, 0xc5,
0xcd, 0xa8, 0xf5, 0x63, 0xd8, 0x88, 0x2a, 0xce, 0xcd, 0xd7, 0x50, 0xd1, 0xbd, 0x23, 0x7b, 0xb7,
0x9a, 0x69, 0xe3, 0xee, 0xbd, 0xa7, 0xc9, 0xe4, 0x3b, 0xa8, 0x59, 0xe1, 0x48, 0x71, 0x83, 0x6d,
0x08, 0xde, 0xbd, 0xff, 0x1f, 0x1e, 0x1b, 0x7e, 0x54, 0xf9, 0xa5, 0x94, 0x5e, 0x5c, 0xd4, 0xcc,
0x92, 0xf9, 0xea, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x08, 0x14, 0xec, 0xe4, 0x08, 0x00,
0x00,
var fileDescriptor_pointerdb_c89a389bfdae7491 = []byte{
// 926 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xdd, 0x6e, 0xdb, 0x46,
0x13, 0x0d, 0xf5, 0xcf, 0xa1, 0x24, 0xeb, 0x5b, 0xf8, 0x73, 0x18, 0x25, 0x45, 0x0c, 0x06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 0x85, 0x82, 0x75, 0xd3, 0xa2, 0xc3, 0xe5, 0xcc, 0xd8, 0xc1, 0x33, 0xe8, 0x9d, 0xe3,
0x06, 0x15, 0xde, 0xb7, 0x10, 0x03, 0xe8, 0x97, 0xa0, 0x82, 0x58, 0x01, 0xfd, 0x89, 0x42, 0xc1,
0x76, 0x79, 0x1f, 0x5a, 0x92, 0x43, 0x68, 0xae, 0xb8, 0x90, 0xaa, 0x58, 0x0f, 0x6b, 0x10, 0x1f,
0xda, 0x56, 0x69, 0x2c, 0xbe, 0xa8, 0x34, 0x6d, 0xe4, 0x06, 0x75, 0xa4, 0x51, 0x46, 0x8c, 0x39,
0xfe, 0xdb, 0x01, 0xb7, 0x18, 0xee, 0xfc, 0x8c, 0xbc, 0x80, 0xfa, 0x2c, 0x57, 0xe4, 0xff, 0xd5,
0xc9, 0xb7, 0xd7, 0x64, 0x78, 0xf4, 0xbe, 0xbb, 0x50, 0xe7, 0x05, 0xd4, 0x5f, 0xe3, 0x7e, 0xd6,
0xee, 0x32, 0xec, 0x65, 0x55, 0xf7, 0xe6, 0x6b, 0x68, 0x68, 0xed, 0xc8, 0xd1, 0x1d, 0x31, 0x6d,
0xde, 0xc3, 0x0f, 0x88, 0x4c, 0xbe, 0x85, 0x96, 0x25, 0x8e, 0x54, 0x5f, 0xb0, 0x3d, 0xc2, 0x87,
0x8f, 0xfe, 0x25, 0x62, 0xd3, 0xcf, 0x1a, 0x3f, 0xd7, 0xb2, 0xc5, 0xa2, 0x65, 0x1e, 0x99, 0xaf,
0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xfe, 0xca, 0x10, 0xee, 0x07, 0x00, 0x00,
}

View File

@ -36,17 +36,6 @@ message RedundancyScheme {
int32 erasure_share_size = 6;
}
message EncryptionScheme {
enum EncryptionType {
AESGCM = 0;
SECRETBOX = 1;
// only allow authenticated encryption schemes
}
EncryptionType type = 1;
bytes encrypted_encryption_key = 2;
bytes encrypted_starting_nonce = 3;
}
message RemotePiece {
int32 piece_num = 1;
string node_id = 2;