Skip to content
Snippets Groups Projects
Commit c8de3488 authored by Jonah Husson's avatar Jonah Husson
Browse files

Comments

parent 6465693e
No related branches found
No related tags found
6 merge requests!510Release,!229Make the payload returned by NewSizedBroadcast include the extra padding so...,!221Xx 3891/symmetric integration,!218Xx 3891/symmetric integration,!217Add asymmetric client,!207WIP: Client Restructure
......@@ -148,6 +148,8 @@ func (s *symmetricClient) Stop() {
s.net.DeleteClientService(s.channel.ReceptionID)
}
// verifyID generates a symmetric ID based on the info in the channel & compares it to the one passed in
// TODO: it seems very odd to me that we do this, rather than just making the ID a private/ephemeral component like the key
func (s *symmetricClient) verifyID() bool {
gen, err := crypto.NewSymmetricID(s.channel.Name, s.channel.Description, s.channel.Salt, rsa.CreatePublicKeyPem(s.channel.RsaPubKey))
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment