[protobuf] Re: PreProcessor for TextFormat files

2010-03-18 Thread nicksun
Kenton, I don't imagine this to be an option within TextFormatter. My question should be reworded: What is the lowest effort method to produce something similar to relations within a currently defined TextFormatter ingest file? Would it be to extend TextFormatter or create a preprocess

Re: [protobuf] modifying lists within a message

2010-03-18 Thread Kenton Varda
Anything with "internal" in the name may change in future releases, so you should not rely on it. I will definitely be changing this because it's supposed to be impossible to obtain a reference to a message that can still be modified, which calling internalGetResult() would do. Also please assume

Re: [protobuf] signing protobuf messages

2010-03-18 Thread Kenton Varda
All implementations are advised to output tags in order by field number, in which case they should all produce the same bytes... unless there are unknown fields, which are always written at the end. In C++ you can use DiscardUnknownFields() to make sure all unknown fields are discarded. But I wo

Re: [protobuf] signing protobuf messages

2010-03-18 Thread Henner Zeller
On Thu, Mar 18, 2010 at 10:36, maxwolf wrote: > I wonder if protobuf messages are safe to be crypto signed? If you just sign the content of a message, then this should be an operation that should not require that a message is generated the same for different implementations, right ? Meaning, you

[protobuf] signing protobuf messages

2010-03-18 Thread maxwolf
Hello, I wonder if protobuf messages are safe to be crypto signed? More precisely - will certain message serialized from the same set of field values be exactly the same for every platform/language? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers"