<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=RU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Nah, it’s just a quick hack to make everything compatible. I will put everything in order this/next week<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>From:</b> Gerardo Di Giacomo <gedigi@live.com> <br><b>Sent:</b> Tuesday, May 15, 2018 8:42 PM<br><b>To:</b> Nemanja Mijailovic <metalnem@mijailovic.net><br><b>Cc:</b> Alexey Ermishkin <scratch.net@gmail.com>; noise <noise@moderncrypto.org><br><b>Subject:</b> Re: [noise] NoiseSocket.NET<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks Alexey, I have picked up your changes as well. Quick question, is there a specific reason why you didn't use pad() in handshake.go as well? <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Nemanja, if you want to test the go implementation you can use noisesocat (<a href="https://github.com/gedigi/noisecat">https://github.com/gedigi/noisecat</a>), which can be used as client or server and it uses Alexey's noisesocket implementation.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks, Gerardo<o:p></o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On May 15, 2018, at 7:40 AM, Nemanja Mijailovic <<a href="mailto:metalnem@mijailovic.net">metalnem@mijailovic.net</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>Great, thanks! I’ve implemented a little interop example for the Accept case with C# client and Go server. You can find it here:</span> <o:p></o:p></p><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMetalnem%2Fnoisesocket%2Ftree%2Fmaster%2FNoiseSocket.Interop&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=OiEWjgfPxvAKxQd8UncQi%2FVspveueylkap1T0sZ3Bqk%3D&reserved=0">https://github.com/Metalnem/noisesocket/tree/master/NoiseSocket.Interop</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>You need to have both Go and .NET Core SDK installed to run it (latest .NET Core SDK is available here <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fnet%2Fdownload%2Fdotnet-core%2Fsdk-2.1.300-rc1&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=l0OLXLRB%2Few%2BKeyDrbaDdg2v9gsyQYitQFlhaZZaU%2Bk%3D&reserved=0">https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300-rc1</a>). Here is how to run it after cloning the<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2FNoiseSocket.NET&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=N05DhhwVndorOvkiosciiXuMS2qIV23qyCWrTm%2BiM4U%3D&reserved=0">NoiseSocket.NET</a> repo:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>cd NoiseSocket.Interop<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>go get -u<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgopkg.in%2Fnoisesocket.v0&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=NwpRQDW%2FY8neKT9qlh5w1Q7c6o8n4WWLPtwvWsx9aO0%3D&reserved=0">gopkg.in/noisesocket.v0</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>go run main.go<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>dotnet run<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'><br>Nemanja<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><br><br><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>On May 15, 2018, at 7:22 AM, Alexey Ermishkin <<a href="mailto:scratch.net@gmail.com">scratch.net@gmail.com</a>> wrote:<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US>I’ve added zero padding to handshake payloads, so the compatibility should be restored. I also slowly start to implement latest features to catch up with you guys.</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><div><p class=MsoNormal><b>From:</b><span class=apple-converted-space> </span>Noise <<a href="mailto:noise-bounces@moderncrypto.org">noise-bounces@moderncrypto.org</a>><span class=apple-converted-space> </span><b>On Behalf Of<span class=apple-converted-space> </span></b>Nemanja Mijailovic<br><b>Sent:</b><span class=apple-converted-space> </span>Sunday, May 13, 2018 10:27 PM<br><b>To:</b><span class=apple-converted-space> </span>noise <<a href="mailto:noise@moderncrypto.org">noise@moderncrypto.org</a>><br><b>Subject:</b><span class=apple-converted-space> </span>[noise]<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2FNoiseSocket.NET&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=N05DhhwVndorOvkiosciiXuMS2qIV23qyCWrTm%2BiM4U%3D&reserved=0">NoiseSocket.NET</a><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><p class=MsoNormal>Hi all!<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>I've published a .NET implementation of the latest draft revision of the NoiseSocket protocol. It supports Accept/Switch/Retry/Reject, and all Noise primitives from<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnoise.net%2F&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=aE2WGv8%2FvJZg8R2HYtV%2BnUNOMQgy3nyZTaYAtPKu5D4%3D&reserved=0"><span style='color:purple'>Noise.NET</span></a>. I've also updated<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnoise.net%2F&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=aE2WGv8%2FvJZg8R2HYtV%2BnUNOMQgy3nyZTaYAtPKu5D4%3D&reserved=0"><span style='color:purple'>Noise.NET</span></a><span class=apple-converted-space> </span>with support for XXfallback protocol, which means<span class=apple-converted-space> </span><a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnoisesocket.net%2F&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=NGo2hrnDfLvXyaITqj60uyNX7HrAHhuZydck4Jje30c%3D&reserved=0"><span style='color:purple'>NoiseSocket.NET</span></a><span class=apple-converted-space> </span>also supports it.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>The library is currently not compatible with Noise Socket Go, mostly because Noise Socket Go currently doesn't add the length prefix to the encrypted payload in handshake messages.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>You can find the source code and examples for Accept/Switch/Retry here:<o:p></o:p></p></div></div><div><div><p class=MsoNormal><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMetalnem%2Fnoisesocket&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=ChGSluPmrk22b7lEDLuZk0SImuCOiCa2V5iOS3KeOaE%3D&reserved=0"><span style='color:purple'>https://github.com/Metalnem/noisesocket</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>The downloadable package:<o:p></o:p></p></div></div><div><div><p class=MsoNormal><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNoiseSocket.NET&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=AzZghwQ0L73MEhcHOZfDAfK5NRlu8NrGrVQd5C%2B56UQ%3D&reserved=0"><span style='color:purple'>https://www.nuget.org/packages/NoiseSocket.NET</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>API docs:<o:p></o:p></p></div></div><div><div><p class=MsoNormal><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmetalnem.github.io%2Fnoisesocket%2Fapi%2FNoise.NoiseSocket.html&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453671736&sdata=WQn5uJRG9JDPfzjXpRNgw8xIniMry2Qtx1IujRP8zdc%3D&reserved=0"><span style='color:purple'>https://metalnem.github.io/noisesocket/api/Noise.NoiseSocket.html</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>Nemanja<o:p></o:p></p></div></div></div></blockquote></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Georgia",serif'>_______________________________________________<br>Noise mailing list<br><a href="mailto:Noise@moderncrypto.org">Noise@moderncrypto.org</a><br></span><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmoderncrypto.org%2Fmailman%2Flistinfo%2Fnoise&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453827989&sdata=56QfZbtZIHXqQZCv0%2Fd3VJBeaUD8QVVbqztD10%2BfVtQ%3D&reserved=0"><span style='font-size:10.5pt;font-family:"Georgia",serif'>https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmoderncrypto.org%2Fmailman%2Flistinfo%2Fnoise&data=02%7C01%7C%7C74da56eb6736445dd5e808d5ba71d728%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636619920453827989&sdata=56QfZbtZIHXqQZCv0%2Fd3VJBeaUD8QVVbqztD10%2BfVtQ%3D&reserved=0</span></a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>