<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>1. Yes, initiator with converted public key<br>
2. Yes, responder with corresponding converted private key. No, I
didn't verify unfortunately, since I don't have simple code around
to do this</p>
<p>Here are seed and corresponding keys:
<a class="moz-txt-link-freetext" href="https://github.com/Detox/detox-crypto/blob/af92779db552200a166a2eee09e38c78d99867f8/tests/index.ls#L11-L15">https://github.com/Detox/detox-crypto/blob/af92779db552200a166a2eee09e38c78d99867f8/tests/index.ls#L11-L15</a><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 12:43 PM, David Wong wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK3aN2perwWw350rkTghLfh7nE1OsUCR_MKCWZMQh7jq5RuMEg@mail.gmail.com">
<pre wrap="">Two questions. After conversion you should have a key pair (priv, pub):
1. are you loading the initiator with that new pub?
2. are you loading the responder with that key pair? And did you
verify that pub can be obtained from priv?
David
On Mon, Nov 6, 2017 at 4:15 AM, Nazar Mokrynskyi <a class="moz-txt-link-rfc2396E" href="mailto:nazar@mokrynskyi.com"><nazar@mokrynskyi.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi folks,
I'm trying to get Noise working with keypair that was obtained by converting Ed25519 keypair into X25519 keypair using library <a class="moz-txt-link-freetext" href="https://github.com/dchest/ed2curve-js">https://github.com/dchest/ed2curve-js</a> (claims to be compatible with libsodium as an example, based on TweetNaCl).
However, Noise results in MAC failure during first ReadMessage() by responder (Noise_NK_25519_ChaChaPoly_BLAKE2b).
Should it work this way or am I missing something?
--
Sincerely, Nazar Mokrynskyi
github.com/nazar-pc
_______________________________________________
Noise mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Noise@moderncrypto.org">Noise@moderncrypto.org</a>
<a class="moz-txt-link-freetext" href="https://moderncrypto.org/mailman/listinfo/noise">https://moderncrypto.org/mailman/listinfo/noise</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>