You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current design has the hash in the setup package stored as a plain byte
array. I presume that the plan is to support longer hashes in the future by
checking the length of the array, but this has one major flaw.
Presume that a SHA-3 algorithm is selected. It will likely be reccommended for
widespread use shortly thereafter. If a subsequent flaw is found, any
replacement chosen or tweaks applied will keep the API invariant, *including*
the digest length. The versioning inherent in protocol buffers will not help
because the current protocol is insufficiently self-descriptive and has
unwarranted assumptions. I would suggest including some sort of identifier of
which hash is in use.
Original issue reported on code.google.com by [email protected] on 6 Mar 2012 at 6:21
The text was updated successfully, but these errors were encountered:
Another protobuf-related concern I have comes from
http://code.google.com/apis/protocolbuffers/docs/proto.html - note their
warnings on the use of 'required' (see 'required is forever')
Original issue reported on code.google.com by
[email protected]
on 6 Mar 2012 at 6:21The text was updated successfully, but these errors were encountered: