<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I've just ported keys conversion functions from libsodium in C to
WebAssembly (JavaScript) and it still converts to mentioned
keypair. I hoped there was a mistake in ed2curve library, but
since libsodium generates the same result there is something more.<br>
</p>
<p>Here are relevant functions from libsodium project:
<a class="moz-txt-link-freetext" href="https://github.com/jedisct1/libsodium/blob/4705c0a06681d48ceec5ecbb66d496fd70c59bba/src/libsodium/crypto_sign/ed25519/ref10/keypair.c#L42-L78">https://github.com/jedisct1/libsodium/blob/4705c0a06681d48ceec5ecbb66d496fd70c59bba/src/libsodium/crypto_sign/ed25519/ref10/keypair.c#L42-L78</a></p>
<p>Is Noise using some other form of X25519 keys incompatible with
libsodium?<br>
</p>
<pre class="moz-signature" cols="0">Sincerely, Nazar Mokrynskyi
github.com/nazar-pc</pre>
<div class="moz-cite-prefix">On 11/6/17 1:56 PM, Nazar Mokrynskyi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2dcb72c5-e9ae-a25f-ffbd-baea4dca6d63@mokrynskyi.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Interesting, it works when changing public key to yours,
thanks!</p>
<p>Will probably fill an issue in library mentioned earlier.<br>
</p>
<pre class="moz-signature" cols="0">Sincerely, Nazar Mokrynskyi
github.com/nazar-pc</pre>
<div class="moz-cite-prefix">On 11/6/17 1:45 PM, David Wong wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK3aN2qvALjo_OZYd6Zh7aejnJ0EMyfKVyXpTH5=e4btoQmJJQ@mail.gmail.com">
<pre wrap="">From this Golang code your public key is incorrect:
<a class="moz-txt-link-freetext" href="https://gist.github.com/mimoo/1af93fe436c75511b737eddd9fe763bb" moz-do-not-send="true">https://gist.github.com/mimoo/1af93fe436c75511b737eddd9fe763bb</a>
calculated public key:
5b3e994f771a950c6ae29bb7f8ae0593c46d4a73312c15db3436b485468bbb6d
given public key:
26100e941bdd2103038d8dec9a1884694736f591ee814e66ae6e2e2284757136
</pre>
</blockquote>
</blockquote>
</body>
</html>