mirror of
https://github.com/anyproto/docs.git
synced 2025-06-08 05:47:05 +09:00
GitBook: [#118] Keychain
This commit is contained in:
parent
c1823ca7ad
commit
941eeb5a9e
4 changed files with 13 additions and 9 deletions
|
@ -1,9 +1,13 @@
|
|||
# How does passphrase login work?
|
||||
# How does keychain phrase login work? Like password?
|
||||
|
||||

|
||||
|
||||
This code is used to login on another device and recover your data. It works with special algorithms providing authorisation and encryption of your data at the same time.
|
||||
|
||||
### Tech
|
||||
|
||||
To keep your Data secure we, use the BIP39 Algorithm to derive keychain phrases and use the process of [**Key Derivation Function**](https://en.wikipedia.org/wiki/Key\_derivation\_function) to get all the information that needs to be associated with your passphrase.
|
||||
|
||||
### Steps
|
||||
|
||||
1. Your keychain phrase is used to derive your account's [**private key**](https://en.wikipedia.org/wiki/Public-key\_cryptography) using the [**BIP39 Algorithm**](https://medium.com/coinmonks/mnemonic-generation-bip39-simply-explained-e9ac18db9477)**.**
|
||||
2. Then your private key is further used to derive your profile page with a [**Textile-DB thread ID**](https://github.com/textileio/go-threads)** **and the encryption key. This is how we ensure that your account is associated with your ID.
|
||||
3. Then your private key is used to derive the ID and encryption key for the [**ThreadsDB**](https://github.com/textileio/go-threads#running-threaddb) that contains encryption keys for the rest of the [object](../fundamentals/object/ "mention") you have in Anytype.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue