Replies: 2 comments
-
|
Looks like this below is the code I needed to generate the right kind of private/public keys. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Does the webflasher randomly generate the public key at install time... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
Can someone help me clarify this please?
First of all, I am grateful for everyone working on this project and I realise it is not a commercial solution with any guarantees, but I do have some serious security concerns...
I have around 15-20 nodes and in the android app I constantly see key mismatch between nodes, I need to delete the node and then wait for it to "know" each other again.
Today I tried generating keys outside of meshtastic and hand-pick the keys with easy to remember public key, e.g "mesh/abcd345435234efgh/etc". From my server, I get back this public key and private key, I paste the private key in meshtastic under security page. If I do this from Android over bluetooth, it shows my private key but the public string is not the one expect (
mesh/abcd345435234efgh/etc). But ... if I do the same over USB serial, again under security page, as soon as I type my private key, the public one updates with my correct public one (e.gmesh/abcd345435234efgh/etc)Honestly it looks to me like Android just pretends to use the privcate keys I give it, but instead it uses other keys, that is why public key is not the one I expect (e.g
mesh/abcd345435234efgh/etc).In case the keys I generated are wrong format, below is the PHP code I used.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions