[Tox Support] Merry Christmas And Happy New Year Broz ^.^

nurupo nurupocontributions at gmail.com
Wed Jan 4 19:33:57 UTC 2017


Clients generally use the libtoxencryptsave for the savedata encryption.

On Sun, Jan 1, 2017 at 2:54 PM, Nocs ... <NoCos30 at hotmail.com> wrote:

> Got it nurupo ^.^ thanks and happy new year.
>
>
> About the secretKey i was asking if it has something to do with the uTox
> Profile Password which says that "μTox will automatically start encrypting
> with this password.There is no way to recover lost passwords."
>
> I guess this is an encryption that is being used by uTox only when it
> saves the data according the the password the user enters and its not
> anywhere in the toxcore functions so its ok.
> ------------------------------
> *From:* Support <support-bounces at lists.tox.chat> on behalf of nurupo <
> nurupocontributions at gmail.com>
> *Sent:* Saturday, December 31, 2016 3:17:07 AM
> *Cc:* support at lists.tox.chat
> *Subject:* Re: [Tox Support] Merry Christmas And Happy New Year Broz ^.^
>
> There are no "secretID" and "publicID", there are secret key and public
> key, which together is your permanent asymmetric cryptography keypair that
> toxcore uses. This keypair is your Tox identity, if anyone gains access to
> the secret key, they can claim your Tox identity, so you should never share
> your secret key. You should study public-key cryptography if you want to
> understand public and secret keys in more detail.
>
> Tox Id is pretty much public key and nospam combined, with the third
> component being checksum bytes, which can be generated given the first two,
> so it's redundant to store Tox Id along with public key and nospam. It
> might make sense to do given your use case though.
>
> >If i create the savedata.tox and i keep my toxID, secretID, publicID and
> NoSpamID as string and i delete the savedata.tox
> >am i able to create a savedata.tox with the id`s i have again so i dont
> need to recreate a new toxID and otherId`s ?
>
> I don't understand what savedata.tox file has to do with anything. I
> assume it contains the savedata bytes toxcore provides? Are you extracting
> the Tox Id, public key, secret key and nospam out of it? If so, you
> shouldn't be doing that, as the format of the savedata bytes is
> unspecified. You should use these functions to get your public key, secret
> key and nospam https://github.com/TokTok/c-toxcore/blob/
> a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1015-L1035. There
> is also a function to get your Tox Id, which is called address in toxcore
> https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe985
> 73d20f9286/toxcore/tox.h#L995-L1004,
>
> If all you want is to keep your Tox identity, all you need to store is
> your secret key. You can additionally store nospam to keep your previous
> Tox Id valid for friend requests. Toxcore allows you to create a Tox
> instance using just your secret key https://github.com/TokTok/
> c-toxcore/blob/a096c71db867ac83fc3e01e0fbe985
> 73d20f9286/toxcore/tox.h#L405-L422, and you would need to set the saved
> nospam on the created Tox instance https://github.com/TokTok/c-
> toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#
> L1006-L1013.
>
> On Fri, Dec 30, 2016 at 1:59 PM, Nocs ... <NoCos30 at hotmail.com> wrote:
>
>> Hello broz, merry christmas and happy holidays i have some problems with
>> my internet lately so i send you from email the question i have.
>>
>> If i create the savedata.tox and i keep my toxID, secretID, publicID and
>> NoSpamID as string and i delete the savedata.tox
>> am i able to create a savedata.tox with the id`s i have again so i dont
>> need to recreate a new toxID and otherId`s ?
>>
>> Also is there a link to read about the secretID what it does ?
>> Is it the one to use on passwords and encrypts the data with it where
>> should i look for that ?
>>
>> Thanks for your reply in advance
>>
>> _______________________________________________
>> Support mailing list
>> Support at lists.tox.chat
>> https://lists.tox.chat/listinfo/support
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tox.chat/pipermail/support/attachments/20170104/341a5b5c/attachment.html>


More information about the Support mailing list