[
https://issues.apache.org/jira/browse/WAVE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ali Lown updated WAVE-31:
-------------------------
Component/s: Federation
> enums are bad in protobufs
> --------------------------
>
> Key: WAVE-31
> URL: https://issues.apache.org/jira/browse/WAVE-31
> Project: Wave
> Issue Type: Bug
> Components: Federation, Protocol
> Priority: Minor
> Labels: StarterProject
>
> We currently use enums for HashAltgorithm and SignatureAlgorithm in the
> protobufs. Should we ever add a new value to the enum, and send a signature
> to a server that runs old code, the hash_algorithm field will be treated as
> not being there. But since it's marked required, badness will ensue.
> We probably either want to switch away from enums, or make the algorithm
> fields options, or something like that.
> ---
> Issue imported from http://code.google.com/p/wave-protocol/issues/detail?id=29
> Owner: [email protected]
> Label: Type-Defect
> Label: Priority-Medium
> Stars: 3
> State: open
> Status: Accepted
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)