Subject: [nncp-devel] noisepub and noiseprv on new configurations (5.0.0 and later)

From: "Shawn K. Quinn" <[email-masked]>
Date: Fri, 13 Dec 2019 07:19:16 -0600

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 <[email-masked]>
http://www.rantroulette.com
http://www.skqrecordquest.com