We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String
In https://github.com/dedis/onet/blob/master/network/struct.go#L175, the ID of ServerIdentity depends on the output of Point.String(), which is bad, because String() is a method for users and is supposed to change.
ID
ServerIdentity
Point.String()
String()
Fix:
MarshalBinary
hex.EncodeToString
RfcMarshaller
IMO, 1. is enough, as for me MarshalBinary shouldn't change. But see discussion in #405
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In https://github.com/dedis/onet/blob/master/network/struct.go#L175, the
ID
ofServerIdentity
depends on the output ofPoint.String()
, which is bad, becauseString()
is a method for users and is supposed to change.Fix:
MarshalBinary
andhex.EncodeToString
RfcMarshaller
that is semantically stronger than aMarshalBinary
IMO, 1. is enough, as for me
MarshalBinary
shouldn't change. But see discussion in #405The text was updated successfully, but these errors were encountered: