public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* [nncp-devel] noisepub and noiseprv on new configurations (5.0.0 and later)
@ 2019-12-13 13:19 Shawn K. Quinn
  2019-12-13 16:22 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn K. Quinn @ 2019-12-13 13:19 UTC (permalink / raw)
  To: nncp-devel

New configurations for 5.0.0 and later made with nncp-cfgnew appear to
have the wrong noise key in the self stanza. This is a sample
configuration I made just now to show what I'm talking about:

[...]

  self: {
    # DO NOT show anyone your private keys!!!
    id: 7XUBG37XPP5D7QRARXK4DB5YZEFZZD4N3OIUR3EL3W2UPPO5KBSA
    exchpub: EGLOBW465RM2IN54EVWXLTGH6VND32FXOCRNDEN2H3PZVIDFSULA
    exchprv: W3EZWDB77RYWVLVD2K5HBU57NQL4PDUISGLK5PRUMWUBMMEPCE3Q
    signpub: 4YHKNHRYGFWMVZ2SMOVVEWDTJZKL4O2X5ERYOOV4R7JRJJ7IU3KA
    signprv:
SZJFRYJOQMXVOK6E44XO75RRSRYQ5ADFM26XIKW7UNOMJZOYVQVOMDVGTY4DC3GK45JGHK2SLBZU4VF6HNL6SI4HHK6I7UYUU7UKNVA
    noiseprv: BNGQDVW2AQCEEWGFWMLRSXIUEG6D2YIUNGPZ5BDXOA765YXLYF6Q
    noisepub: 2TGHDX7NXTYBGI7FE2LYTOXLS5OIOMVX5PGTOFEIBD235GQL3TBQ
  }

  neigh: {
    self: {
      # You should give public keys below to your neighbours
      id: 7XUBG37XPP5D7QRARXK4DB5YZEFZZD4N3OIUR3EL3W2UPPO5KBSA
      exchpub: EGLOBW465RM2IN54EVWXLTGH6VND32FXOCRNDEN2H3PZVIDFSULA
      signpub: 4YHKNHRYGFWMVZ2SMOVVEWDTJZKL4O2X5ERYOOV4R7JRJJ7IU3KA
      noisepub: BNGQDVW2AQCEEWGFWMLRSXIUEG6D2YIUNGPZ5BDXOA765YXLYF6Q
[...]

The second noisepub key should be the 2TGH...3TBQ key, not BNGQ...YF6Q
which is actually the noiseprv key.

-- 
Shawn K. Quinn <skquinn@rushpost•com>
http://www.rantroulette.com
http://www.skqrecordquest.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [nncp-devel] noisepub and noiseprv on new configurations (5.0.0 and later)
  2019-12-13 13:19 [nncp-devel] noisepub and noiseprv on new configurations (5.0.0 and later) Shawn K. Quinn
@ 2019-12-13 16:22 ` Sergey Matveev
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Matveev @ 2019-12-13 16:22 UTC (permalink / raw)
  To: nncp-devel

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Greetings!

*** Shawn K. Quinn [2019-12-13 07:19]:
>New configurations for 5.0.0 and later made with nncp-cfgnew appear to
>have the wrong noise key in the self stanza.
>[...]
>The second noisepub key should be the 2TGH...3TBQ key, not BNGQ...YF6Q
>which is actually the noiseprv key.

Thank you for the feedback! Actually it is noiseprv and noisepub are
mistakenly swapped. I have fixed it in 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.

-- 
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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-13 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 13:19 [nncp-devel] noisepub and noiseprv on new configurations (5.0.0 and later) Shawn K. Quinn
2019-12-13 16:22 ` Sergey Matveev