Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
f53f2db7
Commit
f53f2db7
authored
Dec 10, 2021
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
regen xchange protofile
parent
e956500b
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!117
Release
,
!73
Quantum secure xx messenger key negotiation
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
keyExchange/generate.sh
+1
-1
1 addition, 1 deletion
keyExchange/generate.sh
keyExchange/xchange.pb.go
+24
-16
24 additions, 16 deletions
keyExchange/xchange.pb.go
keyExchange/xchange.proto
+2
-1
2 additions, 1 deletion
keyExchange/xchange.proto
with
27 additions
and
18 deletions
keyExchange/generate.sh
+
1
−
1
View file @
f53f2db7
#!/bin/bash
#!/bin/bash
protoc
--go_out
=
.
xchange.proto
protoc
--go_out
=
.
-I
../
-I
$PWD
--go_opt
=
paths
=
source_relative
xchange.proto
This diff is collapsed.
Click to expand it.
keyExchange/xchange.pb.go
+
24
−
16
View file @
f53f2db7
...
@@ -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.2
5
.0
// protoc-gen-go v1.2
6
.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 re
gistration
// PublicKey used in the re
key
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
,
0x
4a
,
0x0a
,
0x0c
,
0x52
,
0x65
,
0x6b
,
0x65
,
0x79
,
0x54
,
0x05
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x22
,
0x
70
,
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
,
}
}
...
...
This diff is collapsed.
Click to expand it.
keyExchange/xchange.proto
+
2
−
1
View file @
f53f2db7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment