Td: password db.sqlite

Created on 25 Apr 2018  路  6Comments  路  Source: tdlib/td

Hello friends
I use this library in java
Where can I get this database db.sqlite password?

question

Most helpful comment

It is a random 256-bit string, stored encrypted in another file. There is no easy way to get it.

All 6 comments

It is a random 256-bit string, stored encrypted in another file. There is no easy way to get it.

@levlam which file is it? It'll be useful to get the password so we could explore db schema

It is somewhere inside td.binlog, but that information will not help you to get it. As I've said before, there is no easy way to get it. Also manual access to database may lead to unpredictable changes in TDLib behavior.

Hmm, is the data in DB returned in a smart way? For example, if I try to get last 2 days' chat messages from a group chat, then later on I try to get last 7 days' messages, does it need to re-query last 2days' data from server again?

It will return messages from the local database if use_message_database TDLib parameter is set to true. If message database is enabled, then only unknown messages needs to be downloaded from the server.

Don't have a solution yet? At least how to get the auth_key from the base?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hameda169 picture hameda169  路  3Comments

mossaudi picture mossaudi  路  3Comments

isopen picture isopen  路  5Comments

IRGC picture IRGC  路  4Comments

FJarvan picture FJarvan  路  3Comments