Skip to content
Snippets Groups Projects
Commit f53f2db7 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

regen xchange protofile

parent e956500b
Branches
Tags
2 merge requests!117Release,!73Quantum secure xx messenger key negotiation
#!/bin/bash #!/bin/bash
protoc --go_out=. xchange.proto protoc --go_out=. -I../ -I$PWD --go_opt=paths=source_relative xchange.proto
...@@ -9,14 +9,13 @@ ...@@ -9,14 +9,13 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.25.0 // protoc-gen-go v1.26.0
// protoc (unknown) // protoc v3.15.6
// source: xchange.proto // source: xchange.proto
package keyExchange package keyExchange
import ( import (
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
...@@ -30,19 +29,17 @@ const ( ...@@ -30,19 +29,17 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) )
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type RekeyTrigger struct { type RekeyTrigger struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
// PublicKey used in the registration // PublicKey used in the rekey
PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"` PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
// SIDHPublicKey used in the rekey
SidhPublicKey []byte `protobuf:"bytes,2,opt,name=sidhPublicKey,proto3" json:"sidhPublicKey,omitempty"`
// ID of the session used to create this session // ID of the session used to create this session
SessionID []byte `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"` SessionID []byte `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
} }
func (x *RekeyTrigger) Reset() { func (x *RekeyTrigger) Reset() {
...@@ -84,6 +81,13 @@ func (x *RekeyTrigger) GetPublicKey() []byte { ...@@ -84,6 +81,13 @@ func (x *RekeyTrigger) GetPublicKey() []byte {
return nil return nil
} }
func (x *RekeyTrigger) GetSidhPublicKey() []byte {
if x != nil {
return x.SidhPublicKey
}
return nil
}
func (x *RekeyTrigger) GetSessionID() []byte { func (x *RekeyTrigger) GetSessionID() []byte {
if x != nil { if x != nil {
return x.SessionID return x.SessionID
...@@ -143,15 +147,19 @@ var File_xchange_proto protoreflect.FileDescriptor ...@@ -143,15 +147,19 @@ var File_xchange_proto protoreflect.FileDescriptor
var file_xchange_proto_rawDesc = []byte{ var file_xchange_proto_rawDesc = []byte{
0x0a, 0x0d, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x0d, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x05, 0x70, 0x61, 0x72, 0x73, 0x65, 0x22, 0x4a, 0x0a, 0x0c, 0x52, 0x65, 0x6b, 0x65, 0x79, 0x54, 0x05, 0x70, 0x61, 0x72, 0x73, 0x65, 0x22, 0x70, 0x0a, 0x0c, 0x52, 0x65, 0x6b, 0x65, 0x79, 0x54,
0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69,
0x63, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x69, 0x64, 0x68, 0x50, 0x75, 0x62, 0x6c,
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x69, 0x64,
0x49, 0x44, 0x22, 0x2c, 0x0a, 0x0c, 0x52, 0x65, 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65,
0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73,
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x2c, 0x0a, 0x0c, 0x52, 0x65, 0x6b, 0x65,
0x42, 0x0d, 0x5a, 0x0b, 0x6b, 0x65, 0x79, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73,
0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x73,
0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6c, 0x69, 0x78, 0x78, 0x69, 0x72, 0x2f, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x2f, 0x6b, 0x65, 0x79, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
syntax = "proto3"; syntax = "proto3";
package parse; package parse;
option go_package = "keyExchange"; option go_package = "gitlab.com/elixxir/client/keyExchange";
message RekeyTrigger { message RekeyTrigger {
// PublicKey used in the rekey // PublicKey used in the rekey
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment