<div dir="ltr"><div><div><div><div><div>Hi Rhys,<br><br></div>I don't have any helpful comments as I just joined this list a week ago, but I have a couple of questions.<br><br></div>I've used protobufs in the past and found them to be an excellent tool for exchanging data in an efficient manner.  Do protobuf compilers produce bindings that detect non-canonical encodings?<br><br></div>I'm working on a low bandwidth application of noise that will have to use a non-x509 (read more efficient) certificate format. Thus far, the only thing we have looked at is the M2M format:<br><br><a href="http://csrc.nist.gov/groups/ST/ecc-workshop-2015/presentations/session2-ford-warwick.pdf">http://csrc.nist.gov/groups/ST/ecc-workshop-2015/presentations/session2-ford-warwick.pdf</a><br><a href="https://tools.ietf.org/html/draft-ford-m2mcertificate-00">https://tools.ietf.org/html/draft-ford-m2mcertificate-00</a><br><br></div>This format seems to be "x509-lite". They use ASN1 DER, but get rid of a lot of unnessary fields to produce more efficient representations. Is protobuf more compact than ASN DER in this regard? Protobuf seems to have MUCH better OSS compiler support than ASN1.<br><br></div>-Adam<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 30, 2016 at 10:11 PM, Rhys Weatherley <span dir="ltr"><<a href="mailto:rhys.weatherley@gmail.com" target="_blank">rhys.weatherley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Since no one seemed to be a fan of my text-based certificate format, I have reworked the proposal using protobufs instead:<br><br><a href="http://rweather.github.io/noise-c/cert_key_format.html" target="_blank">http://rweather.github.io/noise-c/cert_key_format.html</a><br><a href="https://github.com/rweather/noise-c/blob/master/doc/noise-certificate.proto" target="_blank">https://github.com/rweather/noise-c/blob/master/doc/noise-certificate.proto</a><br><br></div>Feedback is appreciated.<br><br></div>Cheers,<br><br></div>Rhys.<br><br></div>
<br>_______________________________________________<br>
Noise mailing list<br>
<a href="mailto:Noise@moderncrypto.org">Noise@moderncrypto.org</a><br>
<a href="https://moderncrypto.org/mailman/listinfo/noise" rel="noreferrer" target="_blank">https://moderncrypto.org/mailman/listinfo/noise</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre style="white-space:pre-wrap">J Adam Crain - Partner</pre><pre style="white-space:pre-wrap"><a href="http://www.automatak.com" style="font-family:arial,sans-serif;font-size:12.666666984558105px" target="_blank"><img src="http://www.automatak.com/images/automatak_letter_logo.png" width="96" height="14"></a><br></pre><pre style="white-space:pre-wrap">PGP 4096R/<a href="https://www.automatak.com/keys/jadamcrain.asc" style="color:rgb(17,85,204)" target="_blank">E2984A0C</a> 2013-05-03</pre></div></div></div></div></div></div>
</div>