[noise] Using X25519 keypair obtained by Ed25519 conversion
nazar at mokrynskyi.com
Mon Nov 6 02:49:42 PST 2017
1. Yes, initiator with converted public key
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
Here are seed and corresponding keys: https://github.com/Detox/detox-crypto/blob/af92779db552200a166a2eee09e38c78d99867f8/tests/index.ls#L11-L15
Sincerely, Nazar Mokrynskyi
On 11/6/17 12:43 PM, David Wong wrote:
> 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?
> On Mon, Nov 6, 2017 at 4:15 AM, Nazar Mokrynskyi <nazar at mokrynskyi.com> wrote:
>> Hi folks,
>> I'm trying to get Noise working with keypair that was obtained by converting Ed25519 keypair into X25519 keypair using library https://github.com/dchest/ed2curve-js (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
>> Noise mailing list
>> Noise at moderncrypto.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Noise