Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private key from uTox.exe profile - tox_save.tox #8

Open
username1565 opened this issue May 11, 2020 · 0 comments
Open

Private key from uTox.exe profile - tox_save.tox #8

username1565 opened this issue May 11, 2020 · 0 comments

Comments

@username1565
Copy link
Owner

username1565 commented May 11, 2020

After first running uTox.exe, there, in \Tox\-folder, is created tox_save.tox.
Anyone can open this file, as hex, by using Hex-editor.

After start uTox.exe, when this file is exists, the ToxID is static in the Settings, and first 32 bytes from hexadecimal value of this ToxID - this is NaCl-publicKey.
Another 4 bytes of ToxID, (8 hex characters) - this is NoSPAM-number, and 2Bytes XOR Checksum.

This 32-bytes publicKey value is exists in the hex of tox_save.tox,
and after this value, there is contains generated NaCl box-secretKey (next 32 more bytes).

After encoding this hexadecimal as base64, here: https://username1565.github.io/brainwallet.github.io/#converter
this keyPair can be used for encryption/decryption,
and moreover - for sign/verify the digital signatures for the messages,
here: https://username1565.github.io/nanoboard-javascript-captcha/index.html#/sign

Maybe, need to add the ability to show secretKey,
the ability to change this, regenerate publicKey (ToxID), after changing,
and rewrite this data inside tox_save.tox.

Also, maybe, will be better to unlock the hardcoded bootstrap-nodes, and add the ability to specify this, and change to the custom nodes, and do this without any re-compilations.
Any computer with runned uTox, can be the node and bootstrap-node,
after port-forwarding, and publicKey of this contains in the first 32-bytes of generated ToxID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant