Skip to content
Discussion options

You must be logged in to vote

Not through the app's sign-in form: the password goes from the phone to the diary over HTTPS, nowhere else — the form names the address: «Пароль уйдёт только на … — по HTTPS, прямо в дневник…».

How it works:

  1. The app sends the login and password only to a listed host; it must be https://, with no redirect.
  2. The diary returns a session.
  3. The phone hands the session and login to the server, then forgets the session and never stores the password; the server checks it against the diary, then stores it encrypted with DIARY_SECRET.

Two routes still pass the password through the server, until #434 moves every sign-in to the diary's own page; the server writes it nowhere:

  • the bot's sign-in page, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:parent A family using the app: installing, the class code, the widget, the diary, privacy
1 participant