Skip to content
Snippets Groups Projects
Commit 50a28ad3 authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Added more error handling;

Added accumulation of public keys for server
parent 30631ccd
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,7 @@ func Register(registrationCode, registrationAddr string, gwAddresses []string,
"Register: %s", confirmResponse.Error)
return id.ZeroID, errors.New(confirmResponse.Error)
}
// Append Server public key
serverPublicKeys = append(serverPublicKeys,
signature.ReconstructPublicKey(signature.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment