Open amin1softco opened 8 years ago
I don't use secret chats at all with this library, so I'm not implementing PFS. In addition, the library lacks part of the secret chats schema, so it makes no sense.
i really speak about this paragraph not secret chat https://core.telegram.org/mtproto/auth_key
An alternative form of inner data (p_q_inner_data_temp) is used to create temporary keys, that are only stored in the server RAM and are discarded after at most expires_in seconds. The server is free to discard its copy earlier. In all other respects the temporary key generation protocol is the same. After a temporary key is created, the client usually binds it to its principal authorisation key by means of the auth.bindTempAuthKey method, and uses it for all client-server communication until it expires; then a new temporary key is generated. Thus Perfect Forward Secrecy (PFS) in client-server communication is achieved. Read more about PFS »
I thought you meant PFS in secret chats. I didn't implement PFS since it is a complex process and it is not in my needs at the moment, of course, I'm open to a pull request if you want to add support for it.
hi plz add support for Perfect Forward Secrecy tnx