[noise] Using X25519 keypair obtained by Ed25519 conversion

David Wong davidwong.crypto at gmail.com
Mon Nov 6 02:43:37 PST 2017


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 <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
> github.com/nazar-pc
>
> _______________________________________________
> Noise mailing list
> Noise at moderncrypto.org
> https://moderncrypto.org/mailman/listinfo/noise


More information about the Noise mailing list