public inbox for nncp-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: [nncp-devel] EOF while decoding 8 bytes / message authentication failed
Date: Fri, 13 Dec 2019 19:20:00 +0300 [thread overview]
Message-ID: <20191213162000.GA83233@stargrave.org> (raw)
In-Reply-To: <alpine.LNX.2.21.1912131011010.2574@zachiel>
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
Greetings!
*** Frank Doepper [2019-12-13 10:19]:
>E 2019-12-13T09:10:45.499635152Z [sp-start err="chacha20poly1305: message authentication failed"]
That error means that your symmetric key, derived during Noise protocol
handshake, is differs and thus peers are not mutually authenticated. As
Shawn K. Quinn mentioned and I debugged, I mistakenly swapped private
and public keys in newly created configuration files, making them
unworkable with online protocol (Noise is used only there).
I have fixed it in the new 5.1.2 release. Also I accidentally found very
serious and critical remote peer authentication bug too. It is very
advisable to update NNCP. Sorry for that mistakes and lack of tests
(shameful lack of time), that will find both of those serious bugs.
>E 2019-12-13T09:10:45.500430758Z [sp-start err="xdr:DecodeFixedOpaque: EOF while decoding 8 bytes - read: '[]'" nice="255" node="AKKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXA"]
>2019-12-13T09:10:45Z ERROR Connected to self
I have also fixed that ugly and fearfull message, making it more nicer
and telling that ordinary EOF occurred (link is broken, disconnected, etc).
--
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263 6422 AE1A 8109 E498 57EF
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-12-13 16:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-13 9:19 [nncp-devel] EOF while decoding 8 bytes / message authentication failed Frank Doepper
2019-12-13 16:20 ` Sergey Matveev [this message]
2019-12-17 15:26 ` Frank Doepper
2019-12-20 9:01 ` Sergey Matveev
2019-12-20 11:32 ` Frank Doepper
2019-12-20 13:51 ` Sergey Matveev
2019-12-20 14:04 ` Frank Doepper
2019-12-22 18:30 ` Sergey Matveev
2019-12-22 20:17 ` Shawn K. Quinn
2019-12-22 20:42 ` Sergey Matveev
2019-12-24 11:59 ` Frank Doepper
2019-12-25 13:41 ` Sergey Matveev
2019-12-25 14:46 ` Frank Doepper
2019-12-28 12:05 ` Sergey Matveev
2019-12-28 17:51 ` Frank Doepper