Skip to content

Public key not found but is installed in keystore.json #28

@n7nix

Description

@n7nix

Get (KEY NOT FOUND) on one station but works on another. It appears
the KF7FIT station can not find the public key for N7NIX even though
it is in the keystore.json file.

When using chat (~/dev/github/chattervox $ node build/main.js chat)
sending a message from N7NIX to KF7FIT, the KF7FIT station reports
(KEY NOT FOUND) when displaying the message. When sending a message
from KF7FIT, N7NIX has no problem, no error is reported.

When using receive on KF7FIT (~/dev/github/chattervox $ node
build/main.js receive) a message sent from n7nix is NOT displayed.
Changing command to 'receive --allow-all' allows message sent from
N7NIX to KF7FIT to be displayed.

Using 2 Raspberry Pi's (arch=armv7l) with chattervox installed from source on github
Installation script used on both stations:
https://github.com/nwdigitalradio/n7nix/blob/master/keyb2keyb/cv_install.sh

Public keys from both stations
On N7NIX:
cat ~/.chattervox/keystore.json | jq -r '.N7NIX[0].public'
04c4ba4bd163be7a0468731593ad887897adcd6e5d7da2f7f7965fb2ba2add119758522731403f1a96119ceffd2c8b6b41
cat ~/.chattervox/keystore.json | jq -r '.KF7FIT[0].public'
049962aedae34deba50a980ff6a943002c93008f665ab7691e9533219f07023e527311fed9262367ad467d6258e36f29fc

udr0: EAX25: fm KF7FIT-4 to CQ ctl UI pid=F0(Text) [DAMA] len 79 09:33:41.809792 
0000  7A 39 01 02 38 30 36 02 19 00 B3 EE B5 19 16 43  | z9..806...���..C
0010  8B 34 CA F1 F3 60 7A 5D F8 D1 3F 46 C3 E7 B5 8A  | .4���`z]��?F���.
0020  BC F7 02 19 00 BC F6 38 27 BE B8 5E A8 BF 03 B9  | ��...��8'��^��.�
0030  59 76 AE DD 64 EA 2A 41 1B D3 41 08 7C 74 65 73  | Yv��d�*A.�A.|tes
0040  74 20 66 72 6F 6D 20 6B 66 37 66 69 74 2D 34     | t from kf7fit-4

On KF7FIT:
cat ~/.chattervox/keystore.json | jq -r '.N7NIX[0].public'
04c4ba4bd163be7a0468731593ad887897adcd6e5d7da2f7f7965fb2ba2add119758522731403f1a96119ceffd2c8b6b41
cat ~/.chattervox/keystore.json | jq -r '.KF7FIT[0].public'
049962aedae34deba50a980ff6a943002c93008f665ab7691e9533219f07023e527311fed9262367ad467d6258e36f29fc

udr0: EAX25: fm N7NIX-4 to CQ ctl UI pid=F0(Text) [DAMA] len 84 09:44:32.667128 
0000  7A 39 01 02 38 30 36 02 19 00 B3 F4 26 E5 D2 A0  | z9..806...��&�Ҡ
0010  EB 62 C6 F0 F4 84 AE C5 FC 58 41 83 AF DD 51 BC  | �b���.���XA.��Q�
0020  21 5A 02 19 00 87 78 C6 6E 5C 1C C3 3E CF 89 47  | !Z....x�n\.�>�.G
0030  BD 18 E8 31 E4 C0 D6 76 E5 9D 68 F7 35 54 65 73  | �.�1���v�.h�5Tes
0040  74 20 6D 65 73 73 61 67 65 20 66 72 6F 6D 20 6E  | t message from n
0050  37 6E 69 78                                      | 7nix

Both stations are running same versions of software
node --version
v10.21.0
npm --version
6.14.10
uname -a
Linux test218010620 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions