diff --git a/keyExchange/trigger.go b/keyExchange/trigger.go index fcdb71aa93fc535ac879696ebe36a86d6045de87..97e377c62869a5a5dfb8061ea8fcef80acaec1bd 100644 --- a/keyExchange/trigger.go +++ b/keyExchange/trigger.go @@ -9,6 +9,7 @@ package keyExchange import ( "fmt" + "github.com/cloudflare/circl/dh/sidh" "github.com/golang/protobuf/proto" "github.com/pkg/errors" @@ -106,7 +107,7 @@ func handleTrigger(sess *storage.Session, net interfaces.NetworkManager, //Send the Confirmation Message //build the payload payload, err := proto.Marshal(&RekeyConfirm{ - SessionID: session.GetSource().Marshal(), + SessionID: session.GetID().Marshal(), }) //If the payload cannot be marshaled, panic