Open n7nix opened 3 years ago
If I change call sign from N7NIX to KC3LZO, the proper key is found and (KEY NOT FOUND) is NOT displayed.
Key look up does NOT work for all 1x3. 1x2, 2x2 and 2x1 call signs but does work for 2x3 call signs.
Possibly call sign is required to be 6 characters? Added another character onto 'N7NIX' ie. 'N7NIXX' and key was found. Added a trailing space onto 'N7NIX' ie. 'N7NIX ' and key was found. Appears to be a 6 character requirement for callsign.
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
On KF7FIT: cat ~/.chattervox/keystore.json | jq -r '.N7NIX[0].public' 04c4ba4bd163be7a0468731593ad887897adcd6e5d7da2f7f7965fb2ba2add119758522731403f1a96119ceffd2c8b6b41 cat ~/.chattervox/keystore.json | jq -r '.KF7FIT[0].public' 049962aedae34deba50a980ff6a943002c93008f665ab7691e9533219f07023e527311fed9262367ad467d6258e36f29fc
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