Uploaded image for project: 'Wave'
  1. Wave
  2. WAVE-31

enums are bad in protobufs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Federation, Protocol

    Description

      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: dirk.bal...@gmail.com
      Label: Type-Defect
      Label: Priority-Medium
      Stars: 3
      State: open
      Status: Accepted

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: