diff --git a/github.com.hashicorp.go.kms.wrapping.v2.types.pb.go b/github.com.hashicorp.go.kms.wrapping.v2.types.pb.go index 9e46969e..e9ada8a9 100644 --- a/github.com.hashicorp.go.kms.wrapping.v2.types.pb.go +++ b/github.com.hashicorp.go.kms.wrapping.v2.types.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.30.0 // protoc (unknown) // source: github.com.hashicorp.go.kms.wrapping.v2.types.proto @@ -875,64 +875,6 @@ func (x *SigInfo) GetHmacType() HmacType { return HmacType_Unknown_HmacType } -// MultiWrapValue can be used to keep track of different encryptions of a value. -type MultiWrapValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Generation is used to keep track of when the MultiWrapValue was generated. - Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"` - // Slots has a BlobInfo for each key used to encrypt the value. - Slots []*BlobInfo `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty"` -} - -func (x *MultiWrapValue) Reset() { - *x = MultiWrapValue{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiWrapValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiWrapValue) ProtoMessage() {} - -func (x *MultiWrapValue) ProtoReflect() protoreflect.Message { - mi := &file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiWrapValue.ProtoReflect.Descriptor instead. -func (*MultiWrapValue) Descriptor() ([]byte, []int) { - return file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_rawDescGZIP(), []int{6} -} - -func (x *MultiWrapValue) GetGeneration() uint64 { - if x != nil { - return x.Generation - } - return 0 -} - -func (x *MultiWrapValue) GetSlots() []*BlobInfo { - if x != nil { - return x.Slots - } - return nil -} - var File_github_com_hashicorp_go_kms_wrapping_v2_types_proto protoreflect.FileDescriptor var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_rawDesc = []byte{ @@ -1083,45 +1025,37 @@ var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_rawDesc = []byte{ 0x2e, 0x77, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x6d, 0x61, 0x63, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08, 0x68, 0x6d, 0x61, 0x63, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x68, - 0x6d, 0x61, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7f, 0x0a, 0x0e, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x57, 0x72, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x6c, - 0x6f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, - 0x2e, 0x67, 0x6f, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x77, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x2e, 0x76, 0x32, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x2a, 0x50, 0x0a, 0x08, 0x48, 0x6d, 0x61, - 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, - 0x5f, 0x48, 0x6d, 0x61, 0x63, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, - 0x68, 0x61, 0x32, 0x32, 0x34, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x68, 0x61, 0x32, 0x35, - 0x36, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x68, 0x61, 0x33, 0x38, 0x34, 0x10, 0x03, 0x12, - 0x0a, 0x0a, 0x06, 0x53, 0x68, 0x61, 0x35, 0x31, 0x32, 0x10, 0x04, 0x2a, 0x92, 0x01, 0x0a, 0x07, - 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, - 0x77, 0x6e, 0x5f, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, - 0x52, 0x73, 0x61, 0x32, 0x30, 0x34, 0x38, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x73, 0x61, - 0x33, 0x30, 0x37, 0x32, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x73, 0x61, 0x34, 0x30, 0x39, - 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x65, 0x73, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, - 0x0c, 0x0a, 0x08, 0x45, 0x64, 0x73, 0x61, 0x50, 0x32, 0x35, 0x36, 0x10, 0x05, 0x12, 0x0c, 0x0a, - 0x08, 0x45, 0x64, 0x73, 0x61, 0x50, 0x33, 0x38, 0x34, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x45, - 0x64, 0x73, 0x61, 0x50, 0x35, 0x32, 0x31, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4d, 0x41, - 0x43, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x64, 0x32, 0x35, 0x35, 0x31, 0x39, 0x10, 0x09, - 0x2a, 0x46, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, - 0x17, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x4b, 0x65, 0x79, 0x45, 0x6e, - 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x6b, 0x69, 0x78, - 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x6b, 0x63, 0x73, 0x38, 0x10, 0x02, 0x12, 0x09, 0x0a, - 0x05, 0x42, 0x79, 0x74, 0x65, 0x73, 0x10, 0x03, 0x2a, 0x73, 0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x50, - 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x4b, 0x65, 0x79, 0x50, 0x75, 0x72, - 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, - 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x10, 0x04, 0x12, 0x08, - 0x0a, 0x04, 0x57, 0x72, 0x61, 0x70, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x6e, 0x77, 0x72, - 0x61, 0x70, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x43, 0x10, 0x07, 0x42, 0x32, 0x5a, - 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, - 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x6d, 0x73, 0x2d, 0x77, 0x72, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x32, 0x3b, 0x77, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x61, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2a, 0x50, 0x0a, 0x08, 0x48, 0x6d, 0x61, 0x63, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, + 0x48, 0x6d, 0x61, 0x63, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x68, + 0x61, 0x32, 0x32, 0x34, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x68, 0x61, 0x33, 0x38, 0x34, 0x10, 0x03, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x68, 0x61, 0x35, 0x31, 0x32, 0x10, 0x04, 0x2a, 0x92, 0x01, 0x0a, 0x07, 0x4b, + 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x5f, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, + 0x73, 0x61, 0x32, 0x30, 0x34, 0x38, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x73, 0x61, 0x33, + 0x30, 0x37, 0x32, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x73, 0x61, 0x34, 0x30, 0x39, 0x36, + 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x65, 0x73, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x0c, + 0x0a, 0x08, 0x45, 0x64, 0x73, 0x61, 0x50, 0x32, 0x35, 0x36, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, + 0x45, 0x64, 0x73, 0x61, 0x50, 0x33, 0x38, 0x34, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x64, + 0x73, 0x61, 0x50, 0x35, 0x32, 0x31, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4d, 0x41, 0x43, + 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x64, 0x32, 0x35, 0x35, 0x31, 0x39, 0x10, 0x09, 0x2a, + 0x46, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x17, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x6b, 0x69, 0x78, 0x10, + 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x6b, 0x63, 0x73, 0x38, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x10, 0x03, 0x2a, 0x73, 0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x50, 0x75, + 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x4b, 0x65, 0x79, 0x50, 0x75, 0x72, 0x70, + 0x6f, 0x73, 0x65, 0x5f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x10, + 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x10, 0x04, 0x12, 0x08, 0x0a, + 0x04, 0x57, 0x72, 0x61, 0x70, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x6e, 0x77, 0x72, 0x61, + 0x70, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x43, 0x10, 0x07, 0x42, 0x32, 0x5a, 0x30, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, + 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x6d, 0x73, 0x2d, 0x77, 0x72, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x32, 0x3b, 0x77, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1137,7 +1071,7 @@ func file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_rawDescGZIP() []by } var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_goTypes = []interface{}{ (HmacType)(0), // 0: github.com.hashicorp.go.kms.wrapping.v2.types.HmacType (KeyType)(0), // 1: github.com.hashicorp.go.kms.wrapping.v2.types.KeyType @@ -1149,32 +1083,30 @@ var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_goTypes = []interfa (*KeyInfo)(nil), // 7: github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo (*Options)(nil), // 8: github.com.hashicorp.go.kms.wrapping.v2.types.Options (*SigInfo)(nil), // 9: github.com.hashicorp.go.kms.wrapping.v2.types.SigInfo - (*MultiWrapValue)(nil), // 10: github.com.hashicorp.go.kms.wrapping.v2.types.MultiWrapValue - nil, // 11: github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.MetadataEntry - nil, // 12: github.com.hashicorp.go.kms.wrapping.v2.types.Options.WithConfigMapEntry - (*structpb.Struct)(nil), // 13: google.protobuf.Struct + nil, // 10: github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.MetadataEntry + nil, // 11: github.com.hashicorp.go.kms.wrapping.v2.types.Options.WithConfigMapEntry + (*structpb.Struct)(nil), // 12: google.protobuf.Struct } var file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_depIdxs = []int32{ - 11, // 0: github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.metadata:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.MetadataEntry + 10, // 0: github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.metadata:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.WrapperConfig.MetadataEntry 7, // 1: github.com.hashicorp.go.kms.wrapping.v2.types.BlobInfo.key_info:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo - 13, // 2: github.com.hashicorp.go.kms.wrapping.v2.types.BlobInfo.client_data:type_name -> google.protobuf.Struct + 12, // 2: github.com.hashicorp.go.kms.wrapping.v2.types.BlobInfo.client_data:type_name -> google.protobuf.Struct 1, // 3: github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo.key_type:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyType 3, // 4: github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo.key_purposes:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyPurpose 2, // 5: github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo.key_encoding:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyEncoding 2, // 6: github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo.wrapped_key_encoding:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyEncoding - 12, // 7: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_config_map:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.Options.WithConfigMapEntry + 11, // 7: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_config_map:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.Options.WithConfigMapEntry 3, // 8: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_key_purposes:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyPurpose 1, // 9: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_key_type:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyType 2, // 10: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_key_encoding:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyEncoding 2, // 11: github.com.hashicorp.go.kms.wrapping.v2.types.Options.with_wrapped_key_encoding:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyEncoding 7, // 12: github.com.hashicorp.go.kms.wrapping.v2.types.SigInfo.key_info:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.KeyInfo 0, // 13: github.com.hashicorp.go.kms.wrapping.v2.types.SigInfo.hmac_type:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.HmacType - 6, // 14: github.com.hashicorp.go.kms.wrapping.v2.types.MultiWrapValue.slots:type_name -> github.com.hashicorp.go.kms.wrapping.v2.types.BlobInfo - 15, // [15:15] is the sub-list for method output_type - 15, // [15:15] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_init() } @@ -1255,18 +1187,6 @@ func file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_init() { return nil } } - file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiWrapValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } } file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_msgTypes[5].OneofWrappers = []interface{}{} type x struct{} @@ -1275,7 +1195,7 @@ func file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_github_com_hashicorp_go_kms_wrapping_v2_types_proto_rawDesc, NumEnums: 4, - NumMessages: 9, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/github.com.hashicorp.go.kms.wrapping.v2.types.proto b/github.com.hashicorp.go.kms.wrapping.v2.types.proto index 2e383e45..bee01a9c 100644 --- a/github.com.hashicorp.go.kms.wrapping.v2.types.proto +++ b/github.com.hashicorp.go.kms.wrapping.v2.types.proto @@ -202,12 +202,3 @@ enum KeyPurpose { Unwrap = 6; MAC = 7; } - -// MultiWrapValue can be used to keep track of different encryptions of a value. -message MultiWrapValue { - // Generation is used to keep track of when the MultiWrapValue was generated. - uint64 generation = 1; - - // Slots has a BlobInfo for each key used to encrypt the value. - repeated BlobInfo slots = 2; -} diff --git a/plugin/github.com.hashicorp.go.kms.wrapping.plugin.v2.pb.go b/plugin/github.com.hashicorp.go.kms.wrapping.plugin.v2.pb.go index f3cc761e..9ec47161 100644 --- a/plugin/github.com.hashicorp.go.kms.wrapping.plugin.v2.pb.go +++ b/plugin/github.com.hashicorp.go.kms.wrapping.plugin.v2.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.30.0 // protoc (unknown) // source: plugin/github.com.hashicorp.go.kms.wrapping.plugin.v2.proto